More questions about userVariables!
Posted: 16 Apr 2005, 07:38
I have a few questions about uservariables :
1) Why isnt there a "setVariable()" function, so I can set/change a single uservariable instead of collecting all uservariables in total and post them using "setUserVariables()" function ? It seems like "overkill" that I have to send all variables each time one of my variables has changed ...
2) When I change the uservariables using "setUserVariables()", what actually happens "on the TCP socket" ? Is a notification send to each user about the uservariables changes, or are ALL uservariables actually sent "down the wire" to each user ? I mean, if a heavy user has 100 uservariables, all being a long string, and one of these are changed, will each user in the room then recieve 100 * strings "downloaded" from the server into their client ?
Thanks for making a great product
-
Regards from Copenhagen,
Tony Fonager
1) Why isnt there a "setVariable()" function, so I can set/change a single uservariable instead of collecting all uservariables in total and post them using "setUserVariables()" function ? It seems like "overkill" that I have to send all variables each time one of my variables has changed ...
2) When I change the uservariables using "setUserVariables()", what actually happens "on the TCP socket" ? Is a notification send to each user about the uservariables changes, or are ALL uservariables actually sent "down the wire" to each user ? I mean, if a heavy user has 100 uservariables, all being a long string, and one of these are changed, will each user in the room then recieve 100 * strings "downloaded" from the server into their client ?
Thanks for making a great product
-
Regards from Copenhagen,
Tony Fonager