mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Rename User
to APIUser
and move to correct namespace
This commit is contained in:
@ -9,10 +9,10 @@ using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Converters;
|
||||
using osu.Game.Beatmaps;
|
||||
using osu.Game.Online.API;
|
||||
using osu.Game.Online.API.Requests.Responses;
|
||||
using osu.Game.Rulesets.Mods;
|
||||
using osu.Game.Rulesets.Scoring;
|
||||
using osu.Game.Scoring;
|
||||
using osu.Game.Users;
|
||||
|
||||
namespace osu.Game.Online.Rooms
|
||||
{
|
||||
@ -22,7 +22,7 @@ namespace osu.Game.Online.Rooms
|
||||
public long ID { get; set; }
|
||||
|
||||
[JsonProperty("user")]
|
||||
public User User { get; set; }
|
||||
public APIUser User { get; set; }
|
||||
|
||||
[JsonProperty("rank")]
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
|
@ -7,8 +7,8 @@ using Newtonsoft.Json;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Game.IO.Serialization.Converters;
|
||||
using osu.Game.Online.API.Requests.Responses;
|
||||
using osu.Game.Online.Rooms.RoomStatuses;
|
||||
using osu.Game.Users;
|
||||
using osu.Game.Utils;
|
||||
|
||||
namespace osu.Game.Online.Rooms
|
||||
@ -25,7 +25,7 @@ namespace osu.Game.Online.Rooms
|
||||
|
||||
[Cached]
|
||||
[JsonProperty("host")]
|
||||
public readonly Bindable<User> Host = new Bindable<User>();
|
||||
public readonly Bindable<APIUser> Host = new Bindable<APIUser>();
|
||||
|
||||
[Cached]
|
||||
[JsonProperty("playlist")]
|
||||
@ -86,7 +86,7 @@ namespace osu.Game.Online.Rooms
|
||||
|
||||
[Cached]
|
||||
[JsonProperty("recent_participants")]
|
||||
public readonly BindableList<User> RecentParticipants = new BindableList<User>();
|
||||
public readonly BindableList<APIUser> RecentParticipants = new BindableList<APIUser>();
|
||||
|
||||
[Cached]
|
||||
[JsonProperty("participant_count")]
|
||||
|
Reference in New Issue
Block a user