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:
parent
37abb1a21b
commit
8bb7bea04e
@ -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)
|
||||
{
|
||||
}
|
@ -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
|
||||
|
@ -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;
|
@ -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)
|
||||
{
|
||||
}
|
@ -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 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user