TGB/Networking/Server Callbacks
From TDN
TGB Networking >> Server Callbacks
[edit]
Callbacks on the Server
- onServerCreated
- onServerDestroyed
- onClientConnected(%client) - This function is called when a client connection is accepted.
- onClientDropped(%client) - This function is called when a client drops for any reason.
- onServerInfoQuery() - Returns a string that is passed to the master server's GameInfoResponse. Currently returns "Doing OK".
- onServerMessage(%message) - Default message callback called by clientCmdServerMessage. The ServerMessage is called from the server to pass a message to the client.
- onServerQueryStatus() -- Handled by JoinServerGui.
Categories: Networking | Server | Client | TGB | Callbacks



