mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Combine user models.
This commit is contained in:
@ -1,13 +1,23 @@
|
||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace osu.Game.Users
|
||||
{
|
||||
public class User
|
||||
{
|
||||
public int Id;
|
||||
[JsonProperty(@"id")]
|
||||
public long Id = 1;
|
||||
|
||||
[JsonProperty(@"username")]
|
||||
public string Username;
|
||||
|
||||
public Country Country;
|
||||
|
||||
public Team Team;
|
||||
|
||||
[JsonProperty(@"colour")]
|
||||
public string Colour;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user