SmartFoxServer Unity/.NET API
SetUserVariables Method
NamespacesSmartFoxClientAPISmartFoxClientSetUserVariables()()()
Members
IconMemberDescription
SetUserVariables(Hashtable)
SetUserVariables(Hashtable, Int32)
Set on or more User Variables.
User Variables are a useful tool to store user data that has to be shared with other users. When a user sets/updates/deletes one or more User Variables, all the other users in the same room are notified.
Allowed data types for User Variables are Numbers, Strings and Booleans; Arrays and Objects are not supported in order save bandwidth.
If a User Variable is set to null, it is deleted from the server. Also, User Variables are destroyed when their owner logs out or gets disconnected.

Assembly: SmartFoxClient (Module: SmartFoxClient) Version: 1.2.4.0 (1.2.4.0)