Class LeaveLobby
java.lang.Object
it.polimi.ingsw.eriantys.messages.Message
it.polimi.ingsw.eriantys.messages.ConnectionMessage
it.polimi.ingsw.eriantys.messages.client.LeaveLobby
- All Implemented Interfaces:
Serializable
A
ConnectionMessage
sent by a client in order to request the server to leave the lobby.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
A getter for the identifier of the lobby which the user is requesting to exit.
-
Constructor Details
-
LeaveLobby
-
-
Method Details
-
getGameId
public int getGameId()A getter for the identifier of the lobby which the user is requesting to exit.- Returns:
- the identifier of the game
-