Click or drag to resize

SFSEventUSER_VARIABLES_UPDATE Field

Dispatched when a User 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 USER_VARIABLES_UPDATE

Field Value

Type: String
Remarks
This event is caused by the SetUserVariablesRequest request sent by a user in one of the Rooms joined by the current user.

The Params object contains the following parameters:

ParameterDescription
user(User) An object representing the user who updated his own User Variables.
changedVars(List<string>) The list of names of the User Variables that were changed (or created for the first time).
Examples
See the SetUserVariablesRequest example.
See Also