Click or drag to resize

SFSEventROOM_VARIABLES_UPDATE Field

Dispatched when a Room Variable is updated.

Namespace:  Sfs2X.Core
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public static readonly string ROOM_VARIABLES_UPDATE

Field Value

Type: String
Remarks
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:

ParameterDescription
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
Examples
See the SetRoomVariablesRequest example.
See Also