2021-01-20 09:56:46 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2022-12-25 03:42:05 +08:00
|
|
|
|
using System;
|
2021-01-20 09:56:46 +08:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using osu.Framework.Allocation;
|
2021-10-27 19:49:15 +08:00
|
|
|
|
using osu.Framework.Bindables;
|
2021-01-20 09:56:46 +08:00
|
|
|
|
using osu.Framework.Extensions.Color4Extensions;
|
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
using osu.Framework.Graphics.Colour;
|
2022-07-25 16:07:33 +08:00
|
|
|
|
using osu.Game.Graphics.Cursor;
|
2021-01-20 09:56:46 +08:00
|
|
|
|
using osu.Framework.Graphics.Containers;
|
|
|
|
|
using osu.Framework.Graphics.Shapes;
|
2022-12-25 03:42:05 +08:00
|
|
|
|
using osu.Framework.Graphics.Sprites;
|
2021-04-03 12:43:17 +08:00
|
|
|
|
using osu.Framework.Localisation;
|
2022-05-27 08:39:16 +08:00
|
|
|
|
using osu.Game.Beatmaps;
|
2021-01-20 09:56:46 +08:00
|
|
|
|
using osu.Game.Beatmaps.Drawables;
|
|
|
|
|
using osu.Game.Graphics;
|
2022-12-25 03:26:09 +08:00
|
|
|
|
using osu.Game.Graphics.Containers;
|
2021-01-20 09:56:46 +08:00
|
|
|
|
using osu.Game.Graphics.UserInterface;
|
|
|
|
|
using osu.Game.Online;
|
|
|
|
|
using osu.Game.Online.API;
|
2021-10-29 16:58:46 +08:00
|
|
|
|
using osu.Game.Online.API.Requests.Responses;
|
2022-12-25 03:26:09 +08:00
|
|
|
|
using osu.Game.Online.Chat;
|
2021-01-20 09:56:46 +08:00
|
|
|
|
using osu.Game.Overlays.BeatmapSet.Buttons;
|
|
|
|
|
using osuTK;
|
2022-12-25 03:42:05 +08:00
|
|
|
|
using osuTK.Graphics;
|
2021-01-20 09:56:46 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Overlays.BeatmapSet
|
|
|
|
|
{
|
2021-10-27 19:49:15 +08:00
|
|
|
|
public partial class BeatmapSetHeaderContent : CompositeDrawable
|
2021-01-20 09:56:46 +08:00
|
|
|
|
{
|
2021-10-29 16:58:46 +08:00
|
|
|
|
public readonly Bindable<APIBeatmapSet> BeatmapSet = new Bindable<APIBeatmapSet>();
|
2021-10-27 19:49:15 +08:00
|
|
|
|
|
2021-01-20 09:56:46 +08:00
|
|
|
|
private const float transition_duration = 200;
|
|
|
|
|
private const float buttons_height = 45;
|
|
|
|
|
private const float buttons_spacing = 5;
|
|
|
|
|
|
|
|
|
|
public bool DownloadButtonsVisible => downloadButtonsContainer.Any();
|
|
|
|
|
|
|
|
|
|
public readonly Details Details;
|
|
|
|
|
public readonly BeatmapPicker Picker;
|
|
|
|
|
|
2021-10-21 15:53:50 +08:00
|
|
|
|
private readonly UpdateableOnlineBeatmapSetCover cover;
|
2021-01-20 09:56:46 +08:00
|
|
|
|
private readonly Box coverGradient;
|
2022-12-25 03:26:09 +08:00
|
|
|
|
private readonly LinkFlowContainer title, artist;
|
2021-01-20 09:56:46 +08:00
|
|
|
|
private readonly AuthorInfo author;
|
2022-05-15 00:47:10 +08:00
|
|
|
|
|
2022-12-25 04:40:32 +08:00
|
|
|
|
private ExternalLinkButton externalLink;
|
2022-05-15 00:47:10 +08:00
|
|
|
|
|
2021-01-20 09:56:46 +08:00
|
|
|
|
private readonly FillFlowContainer downloadButtonsContainer;
|
|
|
|
|
private readonly BeatmapAvailability beatmapAvailability;
|
|
|
|
|
private readonly BeatmapSetOnlineStatusPill onlineStatusPill;
|
|
|
|
|
private readonly FavouriteButton favouriteButton;
|
|
|
|
|
private readonly FillFlowContainer fadeContent;
|
|
|
|
|
private readonly LoadingSpinner loading;
|
|
|
|
|
|
2021-10-27 19:49:15 +08:00
|
|
|
|
private BeatmapDownloadTracker downloadTracker;
|
|
|
|
|
|
2021-01-20 09:56:46 +08:00
|
|
|
|
[Resolved]
|
|
|
|
|
private IAPIProvider api { get; set; }
|
|
|
|
|
|
|
|
|
|
[Resolved]
|
|
|
|
|
private BeatmapRulesetSelector rulesetSelector { get; set; }
|
|
|
|
|
|
|
|
|
|
public BeatmapSetHeaderContent()
|
|
|
|
|
{
|
|
|
|
|
RelativeSizeAxes = Axes.X;
|
|
|
|
|
AutoSizeAxes = Axes.Y;
|
|
|
|
|
InternalChild = new Container
|
|
|
|
|
{
|
|
|
|
|
RelativeSizeAxes = Axes.X,
|
|
|
|
|
AutoSizeAxes = Axes.Y,
|
|
|
|
|
Children = new Drawable[]
|
|
|
|
|
{
|
|
|
|
|
new Container
|
|
|
|
|
{
|
|
|
|
|
RelativeSizeAxes = Axes.Both,
|
|
|
|
|
Children = new Drawable[]
|
|
|
|
|
{
|
2021-10-21 15:53:50 +08:00
|
|
|
|
cover = new UpdateableOnlineBeatmapSetCover
|
2021-01-20 09:56:46 +08:00
|
|
|
|
{
|
|
|
|
|
RelativeSizeAxes = Axes.Both,
|
|
|
|
|
Masking = true,
|
|
|
|
|
},
|
|
|
|
|
coverGradient = new Box
|
|
|
|
|
{
|
|
|
|
|
RelativeSizeAxes = Axes.Both
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2022-07-25 16:07:33 +08:00
|
|
|
|
new OsuContextMenuContainer
|
2021-01-20 09:56:46 +08:00
|
|
|
|
{
|
2022-07-26 16:27:22 +08:00
|
|
|
|
RelativeSizeAxes = Axes.X,
|
|
|
|
|
AutoSizeAxes = Axes.Y,
|
2022-07-25 16:07:33 +08:00
|
|
|
|
Child = new Container
|
2021-01-20 09:56:46 +08:00
|
|
|
|
{
|
2022-07-25 16:07:33 +08:00
|
|
|
|
RelativeSizeAxes = Axes.X,
|
|
|
|
|
AutoSizeAxes = Axes.Y,
|
|
|
|
|
Padding = new MarginPadding
|
2021-01-20 09:56:46 +08:00
|
|
|
|
{
|
2022-07-25 16:07:33 +08:00
|
|
|
|
Vertical = BeatmapSetOverlay.Y_PADDING,
|
|
|
|
|
Left = BeatmapSetOverlay.X_PADDING,
|
|
|
|
|
Right = BeatmapSetOverlay.X_PADDING + BeatmapSetOverlay.RIGHT_WIDTH,
|
|
|
|
|
},
|
|
|
|
|
Children = new Drawable[]
|
|
|
|
|
{
|
|
|
|
|
fadeContent = new FillFlowContainer
|
2021-01-20 09:56:46 +08:00
|
|
|
|
{
|
2022-07-25 16:07:33 +08:00
|
|
|
|
RelativeSizeAxes = Axes.X,
|
|
|
|
|
AutoSizeAxes = Axes.Y,
|
|
|
|
|
Direction = FillDirection.Vertical,
|
|
|
|
|
Children = new Drawable[]
|
2021-01-20 09:56:46 +08:00
|
|
|
|
{
|
2022-07-25 16:07:33 +08:00
|
|
|
|
new Container
|
2021-01-20 09:56:46 +08:00
|
|
|
|
{
|
2022-07-25 16:07:33 +08:00
|
|
|
|
RelativeSizeAxes = Axes.X,
|
|
|
|
|
AutoSizeAxes = Axes.Y,
|
|
|
|
|
Child = Picker = new BeatmapPicker(),
|
|
|
|
|
},
|
2022-12-25 04:40:32 +08:00
|
|
|
|
title = new MetadataFlowContainer(s =>
|
|
|
|
|
{
|
|
|
|
|
s.Font = OsuFont.GetFont(size: 30, weight: FontWeight.SemiBold, italics: true);
|
|
|
|
|
})
|
2022-07-25 16:07:33 +08:00
|
|
|
|
{
|
|
|
|
|
Margin = new MarginPadding { Top = 15 },
|
|
|
|
|
},
|
2022-12-25 04:40:32 +08:00
|
|
|
|
artist = new MetadataFlowContainer(s =>
|
|
|
|
|
{
|
|
|
|
|
s.Font = OsuFont.GetFont(size: 20, weight: FontWeight.Medium, italics: true);
|
|
|
|
|
})
|
2021-09-08 12:27:20 +08:00
|
|
|
|
{
|
2022-07-25 16:07:33 +08:00
|
|
|
|
Margin = new MarginPadding { Bottom = 20 },
|
|
|
|
|
},
|
|
|
|
|
new Container
|
2021-01-20 09:56:46 +08:00
|
|
|
|
{
|
2022-07-25 16:07:33 +08:00
|
|
|
|
RelativeSizeAxes = Axes.X,
|
|
|
|
|
AutoSizeAxes = Axes.Y,
|
|
|
|
|
Child = author = new AuthorInfo(),
|
|
|
|
|
},
|
|
|
|
|
beatmapAvailability = new BeatmapAvailability(),
|
|
|
|
|
new Container
|
|
|
|
|
{
|
|
|
|
|
RelativeSizeAxes = Axes.X,
|
|
|
|
|
Height = buttons_height,
|
|
|
|
|
Margin = new MarginPadding { Top = 10 },
|
|
|
|
|
Children = new Drawable[]
|
2021-01-20 09:56:46 +08:00
|
|
|
|
{
|
2022-07-25 16:07:33 +08:00
|
|
|
|
favouriteButton = new FavouriteButton
|
|
|
|
|
{
|
|
|
|
|
BeatmapSet = { BindTarget = BeatmapSet }
|
|
|
|
|
},
|
|
|
|
|
downloadButtonsContainer = new FillFlowContainer
|
|
|
|
|
{
|
|
|
|
|
RelativeSizeAxes = Axes.Both,
|
|
|
|
|
Padding = new MarginPadding { Left = buttons_height + buttons_spacing },
|
|
|
|
|
Spacing = new Vector2(buttons_spacing),
|
|
|
|
|
},
|
2021-01-20 09:56:46 +08:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2022-07-25 16:07:33 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
2021-01-20 09:56:46 +08:00
|
|
|
|
},
|
|
|
|
|
loading = new LoadingSpinner
|
|
|
|
|
{
|
|
|
|
|
Anchor = Anchor.Centre,
|
|
|
|
|
Origin = Anchor.Centre,
|
|
|
|
|
Scale = new Vector2(1.5f),
|
|
|
|
|
},
|
|
|
|
|
new FillFlowContainer
|
|
|
|
|
{
|
|
|
|
|
Anchor = Anchor.BottomRight,
|
|
|
|
|
Origin = Anchor.BottomRight,
|
|
|
|
|
AutoSizeAxes = Axes.Both,
|
|
|
|
|
Margin = new MarginPadding { Top = BeatmapSetOverlay.Y_PADDING, Right = BeatmapSetOverlay.X_PADDING },
|
|
|
|
|
Direction = FillDirection.Vertical,
|
|
|
|
|
Spacing = new Vector2(10),
|
|
|
|
|
Children = new Drawable[]
|
|
|
|
|
{
|
|
|
|
|
onlineStatusPill = new BeatmapSetOnlineStatusPill
|
|
|
|
|
{
|
2021-10-26 02:20:40 +08:00
|
|
|
|
AutoSizeAxes = Axes.Both,
|
2021-01-20 09:56:46 +08:00
|
|
|
|
Anchor = Anchor.TopRight,
|
|
|
|
|
Origin = Anchor.TopRight,
|
|
|
|
|
TextSize = 14,
|
|
|
|
|
TextPadding = new MarginPadding { Horizontal = 35, Vertical = 10 }
|
|
|
|
|
},
|
|
|
|
|
Details = new Details(),
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Picker.Beatmap.ValueChanged += b =>
|
|
|
|
|
{
|
2021-10-02 11:44:22 +08:00
|
|
|
|
Details.BeatmapInfo = b.NewValue;
|
2022-12-25 04:40:32 +08:00
|
|
|
|
updateExternalLink();
|
2022-05-27 08:39:16 +08:00
|
|
|
|
|
|
|
|
|
onlineStatusPill.Status = b.NewValue?.Status ?? BeatmapOnlineStatus.None;
|
2021-01-20 09:56:46 +08:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2022-12-25 04:40:32 +08:00
|
|
|
|
private void updateExternalLink()
|
|
|
|
|
{
|
|
|
|
|
if (externalLink != null) externalLink.Link = $@"{api.WebsiteRootUrl}/beatmapsets/{BeatmapSet.Value?.OnlineID}#{Picker.Beatmap.Value?.Ruleset.ShortName}/{Picker.Beatmap.Value?.OnlineID}";
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-20 09:56:46 +08:00
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load(OverlayColourProvider colourProvider)
|
|
|
|
|
{
|
|
|
|
|
coverGradient.Colour = ColourInfo.GradientVertical(colourProvider.Background6.Opacity(0.3f), colourProvider.Background6.Opacity(0.8f));
|
|
|
|
|
|
|
|
|
|
BeatmapSet.BindValueChanged(setInfo =>
|
|
|
|
|
{
|
|
|
|
|
Picker.BeatmapSet = rulesetSelector.BeatmapSet = author.BeatmapSet = beatmapAvailability.BeatmapSet = Details.BeatmapSet = setInfo.NewValue;
|
2021-10-29 16:58:46 +08:00
|
|
|
|
cover.OnlineInfo = setInfo.NewValue;
|
2021-01-20 09:56:46 +08:00
|
|
|
|
|
2021-10-27 20:26:26 +08:00
|
|
|
|
downloadTracker?.RemoveAndDisposeImmediately();
|
2021-10-27 19:49:15 +08:00
|
|
|
|
|
2021-01-20 09:56:46 +08:00
|
|
|
|
if (setInfo.NewValue == null)
|
|
|
|
|
{
|
|
|
|
|
onlineStatusPill.FadeTo(0.5f, 500, Easing.OutQuint);
|
|
|
|
|
fadeContent.Hide();
|
|
|
|
|
|
|
|
|
|
loading.Show();
|
|
|
|
|
|
|
|
|
|
downloadButtonsContainer.FadeOut(transition_duration);
|
|
|
|
|
favouriteButton.FadeOut(transition_duration);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2021-10-27 19:49:15 +08:00
|
|
|
|
downloadTracker = new BeatmapDownloadTracker(setInfo.NewValue);
|
|
|
|
|
downloadTracker.State.BindValueChanged(_ => updateDownloadButtons());
|
2021-11-01 13:43:32 +08:00
|
|
|
|
AddInternal(downloadTracker);
|
2021-10-27 19:49:15 +08:00
|
|
|
|
|
2021-01-20 09:56:46 +08:00
|
|
|
|
fadeContent.FadeIn(500, Easing.OutQuint);
|
|
|
|
|
|
|
|
|
|
loading.Hide();
|
|
|
|
|
|
2022-12-25 03:26:09 +08:00
|
|
|
|
var titleText = new RomanisableString(setInfo.NewValue.TitleUnicode, setInfo.NewValue.Title);
|
|
|
|
|
var artistText = new RomanisableString(setInfo.NewValue.ArtistUnicode, setInfo.NewValue.Artist);
|
|
|
|
|
|
|
|
|
|
title.Clear();
|
|
|
|
|
artist.Clear();
|
|
|
|
|
|
|
|
|
|
title.AddLink(titleText, LinkAction.SearchBeatmapSet, titleText);
|
2022-12-25 04:40:32 +08:00
|
|
|
|
|
|
|
|
|
title.AddArbitraryDrawable(new Container
|
|
|
|
|
{
|
|
|
|
|
AutoSizeAxes = Axes.Both,
|
|
|
|
|
Child = externalLink = new ExternalLinkButton
|
|
|
|
|
{
|
|
|
|
|
Margin = new MarginPadding { Left = 5 },
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
2022-12-25 05:27:46 +08:00
|
|
|
|
if (setInfo.NewValue.HasExplicitContent)
|
2022-12-25 04:40:32 +08:00
|
|
|
|
{
|
2022-12-25 05:27:46 +08:00
|
|
|
|
title.AddArbitraryDrawable(new Container
|
2022-12-25 04:40:32 +08:00
|
|
|
|
{
|
2022-12-25 05:27:46 +08:00
|
|
|
|
AutoSizeAxes = Axes.Both,
|
2022-12-25 05:35:17 +08:00
|
|
|
|
Child = new ExplicitContentBeatmapBadge { Margin = new MarginPadding { Left = 10 } },
|
2022-12-25 05:27:46 +08:00
|
|
|
|
});
|
|
|
|
|
}
|
2022-12-25 04:40:32 +08:00
|
|
|
|
|
2022-12-25 05:27:46 +08:00
|
|
|
|
if (setInfo.NewValue.FeaturedInSpotlight)
|
2022-12-25 04:40:32 +08:00
|
|
|
|
{
|
2022-12-25 05:27:46 +08:00
|
|
|
|
title.AddArbitraryDrawable(new Container
|
2022-12-25 04:40:32 +08:00
|
|
|
|
{
|
2022-12-25 05:27:46 +08:00
|
|
|
|
AutoSizeAxes = Axes.Both,
|
2022-12-25 05:35:17 +08:00
|
|
|
|
Child = new SpotlightBeatmapBadge { Margin = new MarginPadding { Left = 10 } },
|
2022-12-25 05:27:46 +08:00
|
|
|
|
});
|
|
|
|
|
}
|
2022-12-25 04:40:32 +08:00
|
|
|
|
|
2022-12-25 03:26:09 +08:00
|
|
|
|
artist.AddLink(artistText, LinkAction.SearchBeatmapSet, artistText);
|
2021-01-20 09:56:46 +08:00
|
|
|
|
|
2022-12-25 05:27:46 +08:00
|
|
|
|
if (setInfo.NewValue.TrackId != null)
|
2022-12-25 04:40:32 +08:00
|
|
|
|
{
|
2022-12-25 05:27:46 +08:00
|
|
|
|
artist.AddArbitraryDrawable(new Container
|
2022-12-25 04:40:32 +08:00
|
|
|
|
{
|
2022-12-25 05:27:46 +08:00
|
|
|
|
AutoSizeAxes = Axes.Both,
|
2022-12-25 05:35:17 +08:00
|
|
|
|
Child = new FeaturedArtistBeatmapBadge { Margin = new MarginPadding { Left = 10 } }
|
2022-12-25 05:27:46 +08:00
|
|
|
|
});
|
|
|
|
|
}
|
2022-12-25 04:40:32 +08:00
|
|
|
|
|
|
|
|
|
updateExternalLink();
|
2021-01-20 09:56:46 +08:00
|
|
|
|
|
|
|
|
|
onlineStatusPill.FadeIn(500, Easing.OutQuint);
|
|
|
|
|
|
|
|
|
|
downloadButtonsContainer.FadeIn(transition_duration);
|
|
|
|
|
favouriteButton.FadeIn(transition_duration);
|
|
|
|
|
|
|
|
|
|
updateDownloadButtons();
|
|
|
|
|
}
|
|
|
|
|
}, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void updateDownloadButtons()
|
|
|
|
|
{
|
|
|
|
|
if (BeatmapSet.Value == null) return;
|
|
|
|
|
|
2021-10-29 16:58:46 +08:00
|
|
|
|
if (BeatmapSet.Value.Availability.DownloadDisabled && downloadTracker.State.Value != DownloadState.LocallyAvailable)
|
2021-01-20 09:56:46 +08:00
|
|
|
|
{
|
|
|
|
|
downloadButtonsContainer.Clear();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
2021-10-27 19:49:15 +08:00
|
|
|
|
switch (downloadTracker.State.Value)
|
2021-01-20 09:56:46 +08:00
|
|
|
|
{
|
|
|
|
|
case DownloadState.LocallyAvailable:
|
|
|
|
|
// temporary for UX until new design is implemented.
|
2021-11-27 22:08:03 +08:00
|
|
|
|
downloadButtonsContainer.Child = new BeatmapDownloadButton(BeatmapSet.Value)
|
2021-01-20 09:56:46 +08:00
|
|
|
|
{
|
|
|
|
|
Width = 50,
|
|
|
|
|
RelativeSizeAxes = Axes.Y,
|
|
|
|
|
SelectedBeatmap = { BindTarget = Picker.Beatmap }
|
|
|
|
|
};
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case DownloadState.Downloading:
|
|
|
|
|
case DownloadState.Importing:
|
|
|
|
|
// temporary to avoid showing two buttons for maps with novideo. will be fixed in new beatmap overlay design.
|
|
|
|
|
downloadButtonsContainer.Child = new HeaderDownloadButton(BeatmapSet.Value);
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
downloadButtonsContainer.Child = new HeaderDownloadButton(BeatmapSet.Value);
|
2021-10-29 16:58:46 +08:00
|
|
|
|
if (BeatmapSet.Value.HasVideo)
|
2021-01-20 09:56:46 +08:00
|
|
|
|
downloadButtonsContainer.Add(new HeaderDownloadButton(BeatmapSet.Value, true));
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-12-25 03:42:05 +08:00
|
|
|
|
|
|
|
|
|
public partial class MetadataFlowContainer : LinkFlowContainer
|
|
|
|
|
{
|
|
|
|
|
public MetadataFlowContainer(Action<SpriteText> defaultCreationParameters = null)
|
|
|
|
|
: base(defaultCreationParameters)
|
|
|
|
|
{
|
2022-12-25 04:40:32 +08:00
|
|
|
|
TextAnchor = Anchor.CentreLeft;
|
|
|
|
|
RelativeSizeAxes = Axes.X;
|
|
|
|
|
AutoSizeAxes = Axes.Y;
|
2022-12-25 03:42:05 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override DrawableLinkCompiler CreateLinkCompiler(ITextPart textPart) => new MetadataLinkCompiler(textPart);
|
|
|
|
|
|
|
|
|
|
public partial class MetadataLinkCompiler : DrawableLinkCompiler
|
|
|
|
|
{
|
|
|
|
|
public MetadataLinkCompiler(ITextPart part)
|
|
|
|
|
: base(part)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load()
|
|
|
|
|
{
|
|
|
|
|
IdleColour = Color4.White;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-01-20 09:56:46 +08:00
|
|
|
|
}
|
|
|
|
|
}
|