SNetworkMessageLua
ClientRéseau
Membres 2
| Propriété | Key | The Key this message was sent with. |
| Propriété | Message | The contents of this message. |
Propriétés
KeyLecture seule
string Key {get; }
The Key this message was sent with.
Exemple
Lua
function OnReceiveFunction(receivedMessage)
local theKey = receivedMessage.Key
end
Space.Network.SubscribeToNetwork("AKey", OnReceiveFunction)
MessageLecture seule
Table Message {get; }
The contents of this message.
Exemple
Lua
function OnReceiveFunction(receivedMessage)
local tableMessage = receivedMessage.Message
end
Space.Network.SubscribeToNetwork("AKey", OnReceiveFunction)



