TGB/Networking/Server Callbacks

From TDN

This page is a Work In Progress by Seth Willits, dated May 13, 2008.

TGB Networking >> Server Callbacks

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.