mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Remove unnecessary region and make methods public
This commit is contained in:
parent
5a80c49640
commit
3892965894
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user