mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:42:57 +08: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",
|
||||
JoinDate = DateTimeOffset.Now.AddDays(-1),
|
||||
LastVisit = DateTimeOffset.Now,
|
||||
ProfileOrder = new[] { "me" },
|
||||
Groups = new[]
|
||||
{
|
||||
new APIUserGroup { Colour = "#EB47D0", ShortName = "DEV", Name = "Developers" },
|
||||
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
|
||||
{
|
||||
IsRanked = true,
|
||||
@ -128,7 +137,12 @@ namespace osu.Game.Tests.Visual.Online
|
||||
Title = "osu!volunteer",
|
||||
Colour = "ff0000",
|
||||
Achievements = Array.Empty<APIUserAchievement>(),
|
||||
PlayMode = "osu"
|
||||
PlayMode = "osu",
|
||||
Kudosu = new APIUser.KudosuCount
|
||||
{
|
||||
Available = 10,
|
||||
Total = 50
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user