userVariablesUpdate docs
userVariablesUpdate docs
Seems to be an error for changedVars... says it changes room vars when it should be user vars?
In fact this bug still exists in the example concerning setting user variables in documentation:
Code: Select all
List<UserVariable> userVars = new List<UserVariable>();
[b]roomVars[/b].Add( new SFSUserVariable("avatarType", "SwedishCook") );
[b]roomVars[/b].Add( new SFSUserVariable("country", "Sweden") );
[b]roomVars[/b].Add( new SFSUserVariable("x", 10) );
[b]roomVars[/b].Add( new SFSUserVariable("y", 5) );
smartFox.Send ( new SetUserVariablesRequest(userVars) );
Who is online
Users browsing this forum: Thomasea and 62 guests