Members
JoinChat
void JoinChat
(string name);
Join a chat channel.
Space.Network.Chat.JoinChat("Test room")
OnChat
void OnChat
(Action< SChatMessage > callback);
Bind a function to the OnChat event. This function will be called every time a new chat message is received on the local channel.
function oc(SChatMessage)
Space.Log(SChatMessage.Message)
end
Space.Network.Chat.OnChat(oc)
GetXMPPName
string GetXMPPName
(string name);
Get XMPP name.
Space.Network.Chat.GetXMPPName("Test room")
LeaveChat
void LeaveChat
(string name);
Leave a chat channel.
Space.Network.Chat.LeaveChat("Test room")
Scripting Portal
|
|
Common
|
|
|
Key Classes
|
|
|
Helper Classes
|
|
|
Scripting samples and tutorials
|
|
|