osu/osu.Game/Users/User.cs

26 lines
670 B
C#
Raw Normal View History

// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
2017-03-27 15:04:07 +00:00
using Newtonsoft.Json;
namespace osu.Game.Users
{
public class User
{
2017-03-27 15:04:07 +00:00
[JsonProperty(@"id")]
public long Id = 1;
[JsonProperty(@"username")]
public string Username;
2017-03-27 15:04:07 +00:00
public Country Country;
2017-03-27 15:04:07 +00:00
2017-03-15 11:09:44 +00:00
public Team Team;
2017-03-27 15:04:07 +00:00
[JsonProperty(@"colour")]
public string Colour;
2017-04-11 05:00:21 +00:00
public string CoverUrl = @"https://assets.ppy.sh/user-profile-covers/2/08cad88747c235a64fca5f1b770e100f120827ded1ffe3b66bfcd19c940afa65.jpeg";
}
}