friend_get_connection_status


Description:

[ Version ( deprecated = true , deprecated_since = "0.2.0" ) ]
public Connection friend_get_connection_status (uint32 friend_number, out ErrFriendQuery error = null)

Warning: friend_get_connection_status is deprecated since "0.2.0".

Check whether a friend is currently connected to this client.

The result of this function is equal to the last value received by the `friend_connection_status` callback.

Parameters:

friend_number

The friend number for which to query the connection status.

Returns:

the friend's connection status as it was received through the `friend_connection_status` event.