Possible null fields.

This commit is contained in:
Huo Yaoyuan 2017-06-15 23:25:13 +08:00
parent 3ec5d774df
commit 2770ccb782
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;