Class HighScore
- java.lang.Object
-
- de.extio.spacecraft.shared.model.metaserver.HighScore
-
public final class HighScore extends Object
A highscore
-
-
Constructor Summary
Constructors Constructor Description HighScore()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<HighScore>
fromReport(String report)
String
getGameMode()
String
getGameModeLocalized()
String
getGameRunMode()
int
getGameTimeSeconds()
UUID
getId()
String
getPlayerNames()
int
getRank()
OffsetDateTime
getTimestamp()
int
getTotal()
int
getTurns()
boolean
isOfficial()
static HighScore
parse(String line)
void
report(StringBuilder sb)
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
setRank(int rank)
void
setTimestamp(OffsetDateTime timestamp)
void
setTotal(int total)
void
setTurns(int turns)
-
-
-
Field Detail
-
SEP_COL
public static final char SEP_COL
- See Also:
- Constant Field Values
-
SEP_ROW
public static final char SEP_ROW
- See Also:
- Constant Field Values
-
-
Method Detail
-
report
public void report(StringBuilder sb)
-
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 OffsetDateTime getTimestamp()
-
setTimestamp
public void setTimestamp(OffsetDateTime timestamp)
-
getRank
public int getRank()
-
setRank
public void setRank(int rank)
-
getTotal
public int getTotal()
-
setTotal
public void setTotal(int total)
-
-