Dispatched when a buddy in the current user's buddies list changes his online state in the Buddy List system.Namespace: Sfs2X.Core
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 188.8.131.52 (1.7.0)
public static readonly string BUDDY_ONLINE_STATE_UPDATE
This event is fired in response to the GoOnlineRequest request to those who have the user as a buddy, but also to the user himself. As in this case the value of the buddy parameter is null (because the user is not buddy to himself of course), the isItMe parameter should be used to check if the current user is the one who changed his own online state. The Params object contains the following parameters:
|buddy||(Buddy) The object representing the buddy who changed his own online state. If the isItMe parameter is true, the value of this parameter is null (because a user is not buddy to himself).|
|isItMe||(bool) true if the online state was changed by the current user himself (in this case this event is a sort of state change confirmation).|
See the GoOnlineRequest example.