|
override void | Initialise (SScript runtime, object wrapper) |
|
void | SendNetworkMessage (string key, IDictionary< object, object > message) |
| Sends a network message to any other subscribers, will not echo back to this client. Message can be any network-serializable type (int, float, byte, string, char and array[] variants) More...
|
|
void | SendNetworkMessage (string key, Table message, bool serverOnly, bool loopback) |
| Sends a network message to any other subscribers, will not echo back to this client unless loopback is set true. Message can be any network-serializable type (int, float, byte, string, char and array[] variants) More...
|
|
void | SendNetworkMessage (string key, Table message, bool serverOnly) |
|
void | SendNetworkMessage (string key, Table message) |
|
void | SendNetworkMessageToUser (string key, Table message, uint userID) |
|
void | SubscribeToNetwork (string key, Action< SNetworkMessageLua > onRecieve) |
| Subscribes to network messages matching 'key', callback will be called whenever a matching message is recieved. More...
|
|
void | SubscribeToGlobalNetwork (Closure onRecieve) |
|
void | SubcribeToGlobalNetwork (Closure onRecieve) |
|
void | OnGlobalNetworkDisconnect (Closure onDisconnect) |
|
void | ReconnectGlobalNetwork () |
|
string | GetSenderIDFromGlobalMessage (string message) |
|
string | GetOriginalMsgFromGlobalMessage (string message) |
|
void | SubscribeToRegionPropertyUpdate (string key, DynValue onRecieve) |
|
void | SubscribeToNetwork (string key, DynValue onRecieve) |
|
void | SetRegionProperty (string key, string value) |
| Stores a key/value pair in the Regions permanent memory. There can be a maximum of 1000 per region. Subject to rate limiting (dont call more than 10/s) More...
|
|
string | GetRegionProperty (string key) |
| Retrieves the last set value for 'key' in this shard. If you have just joined the region, this may not be populated immedietely. More...
|
|
void | SetShardProperty (string key, string value) |
| Stores a key/value pair in the Shards semi-permanent memory. Will be erased when all players exit the shard, but will persist as long as the shard lives. Subject to rate limiting (dont call more than 10/s) More...
|
|
string | GetShardProperty (string key) |
| Retrieves the last set value for 'key' in this shard. If you have just joined the region, this may not be populated immedietely. More...
|
|
void | JoinGlobalChannel (string key, string password) |
|
void | LeaveGlobalChannel () |
|
void | GlobalPublish (string key, string message, string password, bool selfExclude=false) |
|
void | ReportError (string error, bool fatal, UnityEngine.Object target=null) |
|
override void | Initialise (SScript runtime, object wrapper) |
|
void SineSpace.Scripting.Network.SNetwork.SendNetworkMessage |
( |
string |
key, |
|
|
IDictionary< object, object > |
message |
|
) |
| |
Sends a network message to any other subscribers, will not echo back to this client. Message can be any network-serializable type (int, float, byte, string, char and array[] variants)
Requests may be rate limited. Use this command sparingly. Rate limits may be reduced as more avatars enter a region.
- Parameters
-
void SineSpace.Scripting.Network.SNetwork.SendNetworkMessage |
( |
string |
key, |
|
|
Table |
message, |
|
|
bool |
serverOnly, |
|
|
bool |
loopback |
|
) |
| |
Sends a network message to any other subscribers, will not echo back to this client unless loopback is set true. Message can be any network-serializable type (int, float, byte, string, char and array[] variants)
Requests may be rate limited. Use this command sparingly. Rate limits may be reduced as more avatars enter a region.
- Parameters
-