SetWorldData: Difference between revisions
(Created page with "This function sets world data but the data is only accessible by the server. It is not synced to any client. ==Syntax== <syntaxhighlight lang="C#" >void NAPI.Data.SetWorldDat...") |
m (Xabi moved page NAPI.Data.SetWorldData to SetWorldData) |
(No difference)
| |
Latest revision as of 13:13, 27 November 2019
This function sets world data but the data is only accessible by the server. It is not synced to any client.
Syntax
void NAPI.Data.SetWorldData(string key, object value);
Required Arguments
- key: parameter input should be in string type.
- value: parameter input should be in object type.
Usage example(s)
Example Description
NAPI.Data.SetWorldData("mykey", 1);