[This is preliminary documentation and is subject to change.]
The Server type exposes the following events.
Events
| Member | Description | |
|---|---|---|
| Initialized | Occurs when the server has been initialized. | |
| Initializing | Occurs when the server is about to be initialized. | |
| PlayerListChanged | Occurs when the player list has just changed (any time players connected or disconnected). | |
| SearchingForPlayer | Occurs when a player is searching for players (with autocompletion).
The list of players in the search results may be replaced. | |
| SessionConnected | Occurs any time a new session has connected, but before any communication is done. | |
| SessionConnecting | Occurs any time the server receives an incoming connection (cancellable). | |
| SessionDisconnected | Occurs when a connection is closed or lost. | |
| ShutdownBegan | Occurs when the server is about to start shutting down. | |
| ShutdownEnded | Occurs when the server finished shutting down. | |
| Started | Occurs when the server has just started. | |
| Starting | Occurs when the server is about to start. |