mirror of https://github.com/ppy/osu
Restructure class slightly
This commit is contained in:
parent
841c2c56d9
commit
85a844a378
|
@ -39,6 +39,9 @@ private UserRanks ranks
|
|||
set => CountryRank = value.Country;
|
||||
}
|
||||
|
||||
// populated via User model, as that's where the data currently lives.
|
||||
public RankHistoryData RankHistory;
|
||||
|
||||
[JsonProperty(@"pp")]
|
||||
public decimal? PP;
|
||||
|
||||
|
@ -117,14 +120,12 @@ public int this[ScoreRank rank]
|
|||
}
|
||||
}
|
||||
|
||||
#pragma warning disable 649
|
||||
private struct UserRanks
|
||||
{
|
||||
#pragma warning disable 649
|
||||
[JsonProperty(@"country")]
|
||||
public int? Country;
|
||||
#pragma warning restore 649
|
||||
}
|
||||
|
||||
public RankHistoryData RankHistory;
|
||||
#pragma warning restore 649
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue