mirror of
https://github.com/osukey/osukey.git
synced 2025-06-06 20:15:29 +09:00
Add other profile sections to test scene
This commit is contained in:
parent
43c0f8b95f
commit
3fa81a52b4
@ -86,12 +86,21 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
CoverUrl = @"https://osu.ppy.sh/images/headers/profile-covers/c1.jpg",
|
CoverUrl = @"https://osu.ppy.sh/images/headers/profile-covers/c1.jpg",
|
||||||
JoinDate = DateTimeOffset.Now.AddDays(-1),
|
JoinDate = DateTimeOffset.Now.AddDays(-1),
|
||||||
LastVisit = DateTimeOffset.Now,
|
LastVisit = DateTimeOffset.Now,
|
||||||
ProfileOrder = new[] { "me" },
|
|
||||||
Groups = new[]
|
Groups = new[]
|
||||||
{
|
{
|
||||||
new APIUserGroup { Colour = "#EB47D0", ShortName = "DEV", Name = "Developers" },
|
new APIUserGroup { Colour = "#EB47D0", ShortName = "DEV", Name = "Developers" },
|
||||||
new APIUserGroup { Colour = "#A347EB", ShortName = "BN", Name = "Beatmap Nominators", Playmodes = new[] { "osu", "taiko" } }
|
new APIUserGroup { Colour = "#A347EB", ShortName = "BN", Name = "Beatmap Nominators", Playmodes = new[] { "osu", "taiko" } }
|
||||||
},
|
},
|
||||||
|
ProfileOrder = new[]
|
||||||
|
{
|
||||||
|
@"me",
|
||||||
|
@"recent_activity",
|
||||||
|
@"beatmaps",
|
||||||
|
@"historical",
|
||||||
|
@"kudosu",
|
||||||
|
@"top_ranks",
|
||||||
|
@"medals"
|
||||||
|
},
|
||||||
Statistics = new UserStatistics
|
Statistics = new UserStatistics
|
||||||
{
|
{
|
||||||
IsRanked = true,
|
IsRanked = true,
|
||||||
@ -128,7 +137,12 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
Title = "osu!volunteer",
|
Title = "osu!volunteer",
|
||||||
Colour = "ff0000",
|
Colour = "ff0000",
|
||||||
Achievements = Array.Empty<APIUserAchievement>(),
|
Achievements = Array.Empty<APIUserAchievement>(),
|
||||||
PlayMode = "osu"
|
PlayMode = "osu",
|
||||||
|
Kudosu = new APIUser.KudosuCount
|
||||||
|
{
|
||||||
|
Available = 10,
|
||||||
|
Total = 50
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user