Rename everything into channel and remove everything chat

This commit is contained in:
miterosan
2018-04-11 20:01:57 +02:00
parent 39ecc3d31d
commit 3860594f40
20 changed files with 232 additions and 310 deletions

View File

@ -23,11 +23,11 @@ namespace osu.Game.Graphics.Containers
public override bool HandleMouseInput => true;
private OsuGame game;
private ChatManager chatManager;
private ChannelManager chatManager;
private Action showNotImplementedError;
[BackgroundDependencyLoader(true)]
private void load(OsuGame game, NotificationOverlay notifications, ChatManager chatManager)
private void load(OsuGame game, NotificationOverlay notifications, ChannelManager chatManager)
{
// will be null in tests
this.game = game;
@ -82,7 +82,7 @@ namespace osu.Game.Graphics.Containers
case LinkAction.OpenChannel:
var channel = chatManager.AvailableChannels.FirstOrDefault(c => c.Name == linkArgument);
if (channel != null)
chatManager.CurrentChat.Value = channel;
chatManager.CurrentChannel.Value = channel;
break;
case LinkAction.OpenEditorTimestamp:
case LinkAction.JoinMultiplayerMatch: