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

@ -7,6 +7,7 @@ using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Overlays;
using osu.Game.Overlays.Dashboard.Friends;
using osu.Game.Users;
@ -44,9 +45,9 @@ namespace osu.Game.Tests.Visual.Online
// No need to do anything, fetch is performed automatically.
}
private List<User> getUsers() => new List<User>
private List<APIUser> getUsers() => new List<APIUser>
{
new User
new APIUser
{
Username = "flyte",
Id = 3103765,
@ -55,7 +56,7 @@ namespace osu.Game.Tests.Visual.Online
Country = new Country { FlagName = "JP" },
CoverUrl = "https://osu.ppy.sh/images/headers/profile-covers/c6.jpg"
},
new User
new APIUser
{
Username = "peppy",
Id = 2,
@ -66,7 +67,7 @@ namespace osu.Game.Tests.Visual.Online
IsSupporter = true,
SupportLevel = 3,
},
new User
new APIUser
{
Username = "Evast",
Id = 8195163,