Class HighScoreMessage
- java.lang.Object
-
- de.extio.spacecraft.shared.model.message.AbstractMessage
-
- de.extio.spacecraft.shared.model.message.toclient.HighScoreMessage
-
public final class HighScoreMessage extends AbstractMessage
This message sends a highscore to the client
-
-
Constructor Summary
Constructors Constructor Description HighScoreMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGameMode()
String
getGameModeLocalized()
String
getGameRunMode()
int
getGameTimeSeconds()
UUID
getId()
String
getPlayerNames()
List<UUID>
getPlayers()
int
getRank()
long
getTimestamp()
int
getTotal()
int
getTurns()
boolean
isOfficial()
void
setGameMode(String gameMode)
void
setGameModeLocalized(String gameModeLocalized)
void
setGameRunMode(String gameRunMode)
void
setGameTimeSeconds(int gameTimeSeconds)
void
setId(UUID id)
void
setOfficial(boolean official)
void
setPlayerNames(String playerNames)
void
setPlayers(List<UUID> players)
void
setRank(int rank)
void
setTimestamp(long timestamp)
void
setTotal(int total)
void
setTurns(int turns)
-
Methods inherited from class de.extio.spacecraft.shared.model.message.AbstractMessage
toString
-
-
-
-
Method Detail
-
getGameMode
public String getGameMode()
-
setGameMode
public void setGameMode(String gameMode)
-
getGameModeLocalized
public String getGameModeLocalized()
-
setGameModeLocalized
public void setGameModeLocalized(String gameModeLocalized)
-
isOfficial
public boolean isOfficial()
-
setOfficial
public void setOfficial(boolean official)
-
getGameRunMode
public String getGameRunMode()
-
setGameRunMode
public void setGameRunMode(String gameRunMode)
-
getPlayerNames
public String getPlayerNames()
-
setPlayerNames
public void setPlayerNames(String playerNames)
-
getTurns
public int getTurns()
-
setTurns
public void setTurns(int turns)
-
getGameTimeSeconds
public int getGameTimeSeconds()
-
setGameTimeSeconds
public void setGameTimeSeconds(int gameTimeSeconds)
-
getId
public UUID getId()
-
setId
public void setId(UUID id)
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public void setTimestamp(long timestamp)
-
getRank
public int getRank()
-
setRank
public void setRank(int rank)
-
getTotal
public int getTotal()
-
setTotal
public void setTotal(int total)
-
-