Skip to content

S#5 (UserLeftGame)

CrazyPhoenix edited this page Apr 21, 2018 · 1 revision

The S#5 message is sent by the server when a user has left the lobby or when a player has left the game during or after day 1.

bool update;
bool display;
Player id;

If the client is in a lobby and update is true, then the user is no longer in the lobby.

If the client is in a lobby and display is true, or if the client is in a game and display is false, then the client should notify the player in some way of the user leaving. This is normally done with a "[username] left the game." message.

id is the position in the lobby or the game of the user or player who left.

Clone this wiki locally