mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 20:13:20 +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>();
|
public Bindable<UserStatus> Status = new Bindable<UserStatus>();
|
||||||
|
|
||||||
[JsonProperty(@"age")]
|
[JsonProperty(@"age")]
|
||||||
public int Age;
|
public int? Age;
|
||||||
|
|
||||||
//public Team Team;
|
//public Team Team;
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ namespace osu.Game.Users
|
|||||||
}
|
}
|
||||||
|
|
||||||
[JsonProperty(@"pp")]
|
[JsonProperty(@"pp")]
|
||||||
public decimal PP;
|
public decimal? PP;
|
||||||
|
|
||||||
[JsonProperty(@"pp_rank")]
|
[JsonProperty(@"pp_rank")]
|
||||||
public int Rank;
|
public int Rank;
|
||||||
|
Loading…
Reference in New Issue
Block a user