Skip to main content

GeneralGameEvents

A static class in Root.Township, Alta.Networking.

Static events for when a client connects to a server and when a server starts or ends. Exceptions from handlers are logged, not thrown.

Fields​

1 private and internal field
MemberWhat it is
private static Logger loggerNLog logger for handler errors.

Events​

MemberWhat it is
static event Action ClientStartedClient: raised by ConnectToServerUtility when it connects to a server.
static event Action ServerEndedServer: raised by ServerHandler when the server shuts down.
static event Action ServerStartedServer: raised by ServerHandler once the server has started.

Methods​

MemberWhat it is
static void OnClientStarted()Raises ClientStarted.
static void OnServerEnded()Raises ServerEnded.
static void OnServerStarted()Raises ServerStarted.