Rename User to APIUser and move to correct namespace

This commit is contained in:
Dean Herbert
2021-11-04 18:02:44 +09:00
parent 69aa620ab7
commit 0ecf5f201c
195 changed files with 990 additions and 946 deletions

View File

@ -9,10 +9,10 @@ using osu.Game.Online.API;
using osu.Game.Online.API.Requests;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mania;
using osu.Game.Users;
using osu.Framework.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Rulesets.Taiko;
namespace osu.Game.Tests.Visual.Online
@ -23,7 +23,7 @@ namespace osu.Game.Tests.Visual.Online
[Resolved]
private IAPIProvider api { get; set; }
private readonly Bindable<User> user = new Bindable<User>();
private readonly Bindable<APIUser> user = new Bindable<APIUser>();
private GetUserRequest request;
private readonly LoadingLayer loading;
@ -71,7 +71,7 @@ namespace osu.Game.Tests.Visual.Online
private class UserTestContainer : FillFlowContainer
{
public readonly Bindable<User> User = new Bindable<User>();
public readonly Bindable<APIUser> User = new Bindable<APIUser>();
public UserTestContainer()
{
@ -85,7 +85,7 @@ namespace osu.Game.Tests.Visual.Online
User.BindValueChanged(onUserUpdate, true);
}
private void onUserUpdate(ValueChangedEvent<User> user)
private void onUserUpdate(ValueChangedEvent<APIUser> user)
{
Clear();