forked from External/mage
Add rating to the client (#1498)
This commit is contained in:
parent
972d59aa37
commit
c781728b97
16 changed files with 234 additions and 52 deletions
|
|
@ -45,9 +45,13 @@ public class UsersView implements Serializable {
|
|||
private final int tourneyQuitRatio;
|
||||
private final String infoGames;
|
||||
private final String infoPing;
|
||||
private final int generalRating;
|
||||
private final int constructedRating;
|
||||
private final int limitedRating;
|
||||
|
||||
public UsersView(String flagName, String userName, String matchHistory, int matchQuitRatio,
|
||||
String tourneyHistory, int tourneyQuitRatio, String infoGames, String infoPing) {
|
||||
String tourneyHistory, int tourneyQuitRatio, String infoGames, String infoPing,
|
||||
int generalRating, int constructedRating, int limitedRating) {
|
||||
this.flagName = flagName;
|
||||
this.matchHistory = matchHistory;
|
||||
this.matchQuitRatio = matchQuitRatio;
|
||||
|
|
@ -56,6 +60,9 @@ public class UsersView implements Serializable {
|
|||
this.userName = userName;
|
||||
this.infoGames = infoGames;
|
||||
this.infoPing = infoPing;
|
||||
this.generalRating = generalRating;
|
||||
this.constructedRating = constructedRating;
|
||||
this.limitedRating = limitedRating;
|
||||
}
|
||||
|
||||
public String getFlagName() {
|
||||
|
|
@ -90,4 +97,15 @@ public class UsersView implements Serializable {
|
|||
return infoPing;
|
||||
}
|
||||
|
||||
public int getGeneralRating() {
|
||||
return generalRating;
|
||||
}
|
||||
|
||||
public int getConstructedRating() {
|
||||
return constructedRating;
|
||||
}
|
||||
|
||||
public int getLimitedRating() {
|
||||
return limitedRating;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue