I'm trying to create a User variable on the client using the c# interface however I never see the value get broadcasted up to the server and other clients.
Code: Select all
UserVariable var = new SFSUserVariable( "testVar", true );
m_smartFox.MySelf.SetVariable( var );
So my question is, are User and Room variables only passed around if they are set within the java server side extensions? Are all variables set on the client only stored locally? Or is there a way to set a variable from the client that is broadcasted to everyone?
If the variables are only local if set on the client I would recommend changing the API to something like: 'SetLocalVariable()' and don't have a method like 'SetVariable()' to help avoid confusion.
Thanks,