forked from External/mage
Re-add the getHistory method.
This commit is contained in:
parent
1945e8eaa6
commit
a33aa5d2df
4 changed files with 12 additions and 3 deletions
|
|
@ -551,6 +551,11 @@ public class User {
|
|||
return "<not available>";
|
||||
}
|
||||
|
||||
public static String userStatsToHistory(ResultProtos.UserStatsProto proto) {
|
||||
return "Matches:" + userStatsToMatchHistory(proto) +
|
||||
" Tourneys: " + userStatsToTourneyHistory(proto);
|
||||
}
|
||||
|
||||
public static String userStatsToMatchHistory(ResultProtos.UserStatsProto proto) {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append(proto.getMatches());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue