public void OnRecievedMessage(RecievedLobbyChatMessageEvent e, ActiveHomeChannel activeChannel, [JoinAll] Optional <GeneralChatChannelNode> battleChat, [JoinAll] Dialog dialog) { if (!battleChat.IsPresent()) { dialog.chatDialog.AddUIMessage(e.Message); } }
public void OnExitBattle(NodeRemoveEvent e, GeneralChatChannelNode battleChat, [JoinAll] ActiveHomeChannel activeChannel, [JoinAll] Dialog dialog) { dialog.chatDialog.SelectChannel(activeChannel.chatChannel.ChatType, activeChannel.chatChannel.Messages); }
public void OnEnterBattle(NodeAddedEvent e, GeneralChatChannelNode battleChat, [JoinAll] ActiveHomeChannel activeChannel, [JoinAll] Dialog dialog) { dialog.chatDialog.SelectChannel(activeChannel.chatChannel.ChatType, new List <ChatMessage>()); }