mirror of https://github.com/ppy/osu
Possible null fields.
This commit is contained in:
parent
3ec5d774df
commit
2770ccb782
|
@ -24,7 +24,7 @@ public class User
|
||||||
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 @@ public class LevelInfo
|
||||||
}
|
}
|
||||||
|
|
||||||
[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