Add rating to the client (#1498)

This commit is contained in:
Quercitron 2016-05-17 17:27:43 +03:00
parent 972d59aa37
commit c781728b97
16 changed files with 234 additions and 52 deletions

View file

@ -578,8 +578,11 @@ public class User {
}
public static String userStatsToHistory(ResultProtos.UserStatsProto proto) {
// todo: add preference to hide rating?
return "Matches:" + userStatsToMatchHistory(proto)
+ " Tourneys: " + userStatsToTourneyHistory(proto);
+ ", Tourneys: " + userStatsToTourneyHistory(proto)
+ ", Constructed Rating: " + userStatsToConstructedRating(proto)
+ ", Limited Rating: " + userStatsToLimitedRating(proto);
}
public int getTourneyQuitRatio() {