Multiplayer: Send an error message when connecting to a full room

This commit is contained in:
James Rowe 2018-04-20 01:34:37 -06:00 committed by zhupengfei
parent a9c9ffd32c
commit e040bc9355
No known key found for this signature in database
GPG key ID: DD129E108BD09378
7 changed files with 42 additions and 7 deletions

View file

@ -54,11 +54,12 @@ public:
LostConnection, ///< Connection closed
// Reasons why connection was rejected
NameCollision, ///< Somebody is already using this name
MacCollision, ///< Somebody is already using that mac-address
WrongVersion, ///< The room version is not the same as for this RoomMember
WrongPassword, ///< The password doesn't match the one from the Room
CouldNotConnect ///< The room is not responding to a connection attempt
NameCollision, ///< Somebody is already using this name
MacCollision, ///< Somebody is already using that mac-address
WrongVersion, ///< The room version is not the same as for this RoomMember
WrongPassword, ///< The password doesn't match the one from the Room
CouldNotConnect, ///< The room is not responding to a connection attempt
RoomIsFull ///< Room is already at the maximum number of players
};
struct MemberInformation {