public void OnRecievedMessage(RecievedLobbyChatMessageEvent e, ActiveHomeChannel activeChannel, [JoinAll] Optional <GeneralChatChannelNode> battleChat, [JoinAll] Dialog dialog)
 {
     if (!battleChat.IsPresent())
     {
         dialog.chatDialog.AddUIMessage(e.Message);
     }
 }
 public void OnRecievedMessage(RecievedLobbyChatMessageEvent e, SingleNode <ChatChannelUIComponent> chat, [JoinAll] Optional <GeneralChatChannelNode> battleChat, [JoinAll] Dialog dialog)
 {
     if (!battleChat.IsPresent())
     {
         dialog.chatDialog.SetLastMessage(e.Message);
     }
 }