Funzione statica
Moderato
Server.SetValue
Sets a global value in the Server, which can be accessed from anywhere (server side)
Non ancora tradotto
Sintassi
Server.SetValue(key, value, sync_on_client = false)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
key
|
string | — | Key |
value
|
any | — | Value |
sync_on_client
facoltativo
|
boolean | false |
If enabled will sync this value through all clients, accessible through <code>Client.GetValue()</code> static class |