Class ReadPostmanMessages
java.lang.Object
games.stendhal.server.entity.player.ReadPostmanMessages
- All Implemented Interfaces:
LoginListener,TurnListener
Retrieves postman messages for the logging in player from the database
- Author:
- kymara
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonLoggedIn(Player player) Execute command to get messages for the player when they log invoidonTurnReached(int currentTurn) Completes handling the get messages action.voidreadMessages(Player player)
-
Constructor Details
-
ReadPostmanMessages
public ReadPostmanMessages()
-
-
Method Details
-
readMessages
-
onLoggedIn
Execute command to get messages for the player when they log in- Specified by:
onLoggedInin interfaceLoginListener- Parameters:
player- the player who logged in
-
onTurnReached
public void onTurnReached(int currentTurn) Completes handling the get messages action.- Specified by:
onTurnReachedin interfaceTurnListener- Parameters:
currentTurn- ignored
-