Dispatched when a Room Variable is updated.

Namespace: Sfs2X.Core
Assembly: SmartFox2X (in SmartFox2X.dll) Version: (1.7.3)


public static readonly string ROOM_VARIABLES_UPDATE

Field Value

Type: String


This event is caused by the SetRoomVariablesRequest request. The request could have been sent by a user in the same Room of the current user or, in case of a global Room Variable, by a user in a Room belonging to one of the Groups subscribed by the current client.

The Params object contains the following parameters:

room(Room) An object representing the Room where the Room Variable update occurred.
changedVars(List<string>) the list of variable names that where modified or created


See the SetRoomVariablesRequest example.

See Also