1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 23:27:25 +08:00

Remove unnecessary region and make methods public

This commit is contained in:
Dean Herbert 2018-01-17 19:45:10 +09:00
parent 5a80c49640
commit 3892965894

View File

@ -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();