public interface User
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canRequest()
Whether or not this user is receiving duel requests. 
 | 
int | 
getLosses()
Total losses of this user. 
 | 
java.util.List<MatchInfo> | 
getMatches()
UnmodifiableList of recent matches for this user. 
 | 
java.lang.String | 
getName()
The Name of this user. 
 | 
int | 
getRating()
Gets the no kit rating. 
 | 
int | 
getRating(Kit kit)
Gets the rating of the given  
Kit. | 
java.util.UUID | 
getUuid()
The  
UUID of this user. | 
int | 
getWins()
Total wins of this user. 
 | 
void | 
reset()
Resets user's wins, losses, recent matches, and all rating. 
 | 
void | 
resetRating()
Resets the rating to default for the no kit rating. 
 | 
void | 
resetRating(Kit kit)
Resets the rating to default for the given  
Kit. | 
void | 
setLosses(int losses)
Sets new total wins for this user. 
 | 
void | 
setRequests(boolean requests)
Enables or disables duel requests for this user. 
 | 
void | 
setWins(int wins)
Sets new total wins for this user 
 | 
@NotNull java.util.UUID getUuid()
UUID of this user. thread-safe!UUID of this user.@NotNull java.lang.String getName()
int getWins()
void setWins(int wins)
wins - New total wins.int getLosses()
void setLosses(int losses)
losses - New total losses.boolean canRequest()
void setRequests(boolean requests)
requests - True to allow sending duel requests to this user. False otherwise.@NotNull java.util.List<MatchInfo> getMatches()
int getRating()
void resetRating()
void resetRating(@NotNull
                 Kit kit)
Kit. thread-safe!kit - Kit to reset the rating to default.void reset()