|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Winlist
A winlist ranking players and teams.
Method Summary | |
---|---|
void |
clear()
Remove all entries in the winlist |
WinlistConfig |
getConfig()
Return the configuration necessary to create the same winlist |
String |
getId()
Return the id for this winlist. |
Score |
getScore(String name,
int type)
Return the score of the specified player or team |
List<Score> |
getScores(long offset,
long length)
Return the score list in the specified range. |
void |
init(WinlistConfig config)
Initialize the winlist. |
void |
saveGameResult(GameResult result)
Update the winlist with the specified game result. |
void |
setId(String id)
Set the id for this winlist. |
int |
size()
Return the number of entries in the winlist |
Method Detail |
---|
String getId()
void setId(String id)
void init(WinlistConfig config)
config
- the winlist configurationWinlistConfig getConfig()
Score getScore(String name, int type)
name
- the name of the player or teamtype
- the score type (0: player, 1: team)List<Score> getScores(long offset, long length)
offset
- the beginning of the rangelength
- the length of the rangevoid saveGameResult(GameResult result)
void clear()
int size()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |