1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-14 05:07:26 +08:00

Rename freestyle select screen classes for better discoverability

This commit is contained in:
Dean Herbert 2025-02-03 19:21:21 +09:00
parent 37abb1a21b
commit 8bb7bea04e
No known key found for this signature in database
5 changed files with 8 additions and 8 deletions

View File

@ -12,7 +12,7 @@ using osu.Game.Online.Rooms;
namespace osu.Game.Screens.OnlinePlay.Multiplayer
{
public partial class MultiplayerMatchStyleSelect : OnlinePlayStyleSelect
public partial class MultiplayerMatchFreestyleSelect : OnlinePlayFreestyleSelect
{
[Resolved]
private MultiplayerClient client { get; set; } = null!;
@ -25,7 +25,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
private LoadingLayer loadingLayer = null!;
private IDisposable? selectionOperation;
public MultiplayerMatchStyleSelect(Room room, PlaylistItem item)
public MultiplayerMatchFreestyleSelect(Room room, PlaylistItem item)
: base(room, item)
{
}

View File

@ -258,7 +258,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
if (!this.IsCurrentScreen() || SelectedItem.Value is not PlaylistItem item)
return;
this.Push(new MultiplayerMatchStyleSelect(Room, item));
this.Push(new MultiplayerMatchFreestyleSelect(Room, item));
}
protected override Drawable CreateFooter() => new MultiplayerMatchFooter

View File

@ -16,7 +16,7 @@ using osu.Game.Users;
namespace osu.Game.Screens.OnlinePlay
{
public abstract partial class OnlinePlayStyleSelect : SongSelect, IOnlinePlaySubScreen, IHandlePresentBeatmap
public abstract partial class OnlinePlayFreestyleSelect : SongSelect, IOnlinePlaySubScreen, IHandlePresentBeatmap
{
public string ShortTitle => "style selection";
@ -29,7 +29,7 @@ namespace osu.Game.Screens.OnlinePlay
private readonly Room room;
private readonly PlaylistItem item;
protected OnlinePlayStyleSelect(Room room, PlaylistItem item)
protected OnlinePlayFreestyleSelect(Room room, PlaylistItem item)
{
this.room = room;
this.item = item;

View File

@ -9,12 +9,12 @@ using osu.Game.Rulesets;
namespace osu.Game.Screens.OnlinePlay.Playlists
{
public partial class PlaylistsRoomStyleSelect : OnlinePlayStyleSelect
public partial class PlaylistsRoomFreestyleSelect : OnlinePlayFreestyleSelect
{
public new readonly Bindable<BeatmapInfo?> Beatmap = new Bindable<BeatmapInfo?>();
public new readonly Bindable<RulesetInfo?> Ruleset = new Bindable<RulesetInfo?>();
public PlaylistsRoomStyleSelect(Room room, PlaylistItem item)
public PlaylistsRoomFreestyleSelect(Room room, PlaylistItem item)
: base(room, item)
{
}

View File

@ -319,7 +319,7 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
if (!this.IsCurrentScreen() || SelectedItem.Value is not PlaylistItem item)
return;
this.Push(new PlaylistsRoomStyleSelect(Room, item)
this.Push(new PlaylistsRoomFreestyleSelect(Room, item)
{
Beatmap = { BindTarget = userBeatmap },
Ruleset = { BindTarget = userRuleset }