Move RankHistoryData to User Statistics

This commit is contained in:
Andrei Zavatski
2019-08-04 14:35:26 +03:00
parent b0a27161c6
commit d693a54c84
6 changed files with 42 additions and 46 deletions

View File

@ -159,7 +159,10 @@ namespace osu.Game.Users
}
[JsonProperty(@"rankHistory")]
public RankHistoryData RankHistory;
private RankHistoryData rankHistory
{
set => Statistics.RankHistory = value;
}
[JsonProperty("badges")]
public Badge[] Badges;

View File

@ -4,6 +4,7 @@
using System;
using Newtonsoft.Json;
using osu.Game.Scoring;
using static osu.Game.Users.User;
namespace osu.Game.Users
{
@ -113,5 +114,7 @@ namespace osu.Game.Users
[JsonProperty(@"country")]
public int? Country;
}
public RankHistoryData RankHistory;
}
}