mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Possible null fields.
This commit is contained in:
parent
3ec5d774df
commit
2770ccb782
@ -24,7 +24,7 @@ namespace osu.Game.Users
|
||||
public Bindable<UserStatus> Status = new Bindable<UserStatus>();
|
||||
|
||||
[JsonProperty(@"age")]
|
||||
public int Age;
|
||||
public int? Age;
|
||||
|
||||
//public Team Team;
|
||||
|
||||
|
@ -20,7 +20,7 @@ namespace osu.Game.Users
|
||||
}
|
||||
|
||||
[JsonProperty(@"pp")]
|
||||
public decimal PP;
|
||||
public decimal? PP;
|
||||
|
||||
[JsonProperty(@"pp_rank")]
|
||||
public int Rank;
|
||||
|
Loading…
Reference in New Issue
Block a user