client.setData: Difference between revisions

no edit summary
m (Mex moved page Client.setData to client.setData)
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
|name = setData
|name = setData
|usage = set custom data associated with a specified key for a client
|usage = set custom data associated with a specified key for a client
|parameters = string key, mixed value
|parameters = string key, mixed value, bool syncWithClientsNow
|parameter1 = string key The string name of the data to be set for the client.
|parameter1 = string key The string name of the data to be set for the client.
|parameter2 = mixed value The value of the data to be set for the client.
|parameter2 = mixed value The value of the data to be set for the client.
|parameter3 = bool syncWithClientsNow Whether the data is sent to clients immediately.<br>Note that all element data will be sent to a client when the element streams in.<br>This argument only applies when the method is used
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}
2,756

edits