element.setData: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
 
No edit summary
Line 4: Line 4:
|class = Element
|class = Element
|name = setData
|name = setData
|parameters = string dataName, var theData, bool syncWithClients
|parametersSS = string dataName, var theData, bool syncWithClients = true
|parametersCS = string dataName, var theData
|parameter1 = string dataName The string name of the data for the element.
|parameter1 = string dataName The string name of the data for the element.
|parameter2 = var theData The data for the element, which is referenced by dataName.
|parameter2 = var theData The data for the element, which is referenced by dataName.
|parameter3 = bool syncWithClients Whether to sync the data with all clients.
|parameter3 = bool syncWithClients Whether '''dataName''' and '''theData''' are sent to all clients. This only applies when the method is used server-side.
|returnTypes = void
|returnTypes = void
|returnInfo = void
|returnInfo = void
6,834

edits

Navigation menu