From 38929658947fd9dd6b2ed6941b1211baaf26095b Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 17 Jan 2018 19:45:10 +0900 Subject: [PATCH] Remove unnecessary region and make methods public --- osu.Game/OsuGame.cs | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/osu.Game/OsuGame.cs b/osu.Game/OsuGame.cs index 82271090f1..40848d2507 100644 --- a/osu.Game/OsuGame.cs +++ b/osu.Game/OsuGame.cs @@ -119,13 +119,11 @@ namespace osu.Game private ScheduledDelegate scoreLoad; - #region chat link actions + public void OpenChannel(string channelName) => chat.OpenChannel(chat.AvailableChannels.Find(c => c.Name == channelName)); - internal void OpenChannel(string channelName) => chat.OpenChannel(chat.AvailableChannels.Find(c => c.Name == channelName)); + public void ShowBeatmapSet(int setId) => beatmapSetOverlay.ShowBeatmapSet(setId); - internal void ShowBeatmapSet(int setId) => beatmapSetOverlay.ShowBeatmapSet(setId); - - internal void LoadEditorTimestamp() + public void LoadEditorTimestamp() { notifications.Post(new SimpleNotification { @@ -134,7 +132,7 @@ namespace osu.Game }); } - internal void LoadSpectatorScreen() + public void LoadSpectatorScreen() { notifications.Post(new SimpleNotification { @@ -143,7 +141,7 @@ namespace osu.Game }); } - internal void JoinMultiplayerMatch(int matchId) + public void JoinMultiplayerMatch(int matchId) { notifications.Post(new SimpleNotification { @@ -152,8 +150,6 @@ namespace osu.Game }); } - #endregion - protected void LoadScore(Score s) { scoreLoad?.Cancel();