mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 13:42:56 +08:00
SupporterLevel -> SupportLevel
This commit is contained in:
parent
27ba89444e
commit
8ab5149336
@ -19,7 +19,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
|||||||
|
|
||||||
public string TooltipText => "osu!supporter";
|
public string TooltipText => "osu!supporter";
|
||||||
|
|
||||||
public int SupporterLevel
|
public int SupportLevel
|
||||||
{
|
{
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
|
@ -157,7 +157,7 @@ namespace osu.Game.Overlays.Profile.Header
|
|||||||
openUserExternally.Link = $@"https://osu.ppy.sh/users/{user?.Id ?? 0}";
|
openUserExternally.Link = $@"https://osu.ppy.sh/users/{user?.Id ?? 0}";
|
||||||
userFlag.Country = user?.Country;
|
userFlag.Country = user?.Country;
|
||||||
userCountryText.Text = user?.Country?.FullName ?? "Alien";
|
userCountryText.Text = user?.Country?.FullName ?? "Alien";
|
||||||
supporterTag.SupporterLevel = user?.SupportLevel ?? 0;
|
supporterTag.SupportLevel = user?.SupportLevel ?? 0;
|
||||||
titleText.Text = user?.Title ?? string.Empty;
|
titleText.Text = user?.Title ?? string.Empty;
|
||||||
titleText.Colour = OsuColour.FromHex(user?.Colour ?? "fff");
|
titleText.Colour = OsuColour.FromHex(user?.Colour ?? "fff");
|
||||||
|
|
||||||
|
@ -191,7 +191,7 @@ namespace osu.Game.Users
|
|||||||
infoContainer.Add(new SupporterIcon
|
infoContainer.Add(new SupporterIcon
|
||||||
{
|
{
|
||||||
Height = 20f,
|
Height = 20f,
|
||||||
SupporterLevel = user.SupportLevel
|
SupportLevel = user.SupportLevel
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user