1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 18:12:55 +08:00

Rename variables and make public for now.

This commit is contained in:
Dean Herbert 2017-04-11 16:48:11 +09:00
parent dc3a2d45fe
commit 001836f535
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -35,8 +35,8 @@ namespace osu.Game.Modes.Scoring
{
return user ?? new User
{
Username = temporaryUsername,
Id = temporaryUserID
Username = LegacyUsername,
Id = LegacyUserID
};
}
@ -55,10 +55,10 @@ namespace osu.Game.Modes.Scoring
public long OnlineScoreID;
[JsonProperty(@"username")]
private string temporaryUsername;
public string LegacyUsername;
[JsonProperty(@"user_id")]
private long temporaryUserID;
public long LegacyUserID;
[JsonProperty(@"date")]
public DateTime Date;