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

@ -10,19 +10,20 @@ using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osu.Game.Online.API.Requests.Responses;
using osuTK.Graphics;
namespace osu.Game.Users
{
public class UserCoverBackground : ModelBackedDrawable<User>
public class UserCoverBackground : ModelBackedDrawable<APIUser>
{
public User User
public APIUser User
{
get => Model;
set => Model = value;
}
protected override Drawable CreateDrawable(User user) => new Cover(user);
protected override Drawable CreateDrawable(APIUser user) => new Cover(user);
protected override double LoadDelay => 300;
@ -37,9 +38,9 @@ namespace osu.Game.Users
[LongRunningLoad]
private class Cover : CompositeDrawable
{
private readonly User user;
private readonly APIUser user;
public Cover(User user)
public Cover(APIUser user)
{
this.user = user;