Class DeclarePlayerRequest
java.lang.Object
it.polimi.ingsw.Server.Messages.Message
it.polimi.ingsw.Server.Messages.Events.Requests.ClientRequest
it.polimi.ingsw.Server.Messages.Events.Requests.DeclarePlayerRequest
- All Implemented Interfaces:
ClientEvent
,Serializable
Represents a Client triying to set its nickname after a successful connection to the server.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
nickname
-
-
Constructor Details
-
DeclarePlayerRequest
Construct the request- Parameters:
nickname
- the nickname the user wishes to set
-
-
Method Details
-
getNickname
Get the nickname the user selected- Returns:
- the nickname of the user
-