osu/osu.Game/Users/User.cs

24 lines
516 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;
}
}