public void SwitchChannelOnTabPressed(UpdateEvent e, ActiveChannelNode activeChannelNode, [JoinByScreen] InactiveChannelNode inactiveChannelNode)
 {
     if (InputManager.GetActionKeyDown(BattleChatActions.SWITCH_CHANNEL))
     {
         base.ScheduleEvent <BattleChannelSwitchEvent>(inactiveChannelNode);
     }
 }
 private void SwitchActiveChannel(ActiveChannelNode activeChannelNode, InactiveChannelNode inactiveChannelNode)
 {
     activeChannelNode.Entity.RemoveComponent <ActiveBattleChannelComponent>();
     inactiveChannelNode.Entity.AddComponent <ActiveBattleChannelComponent>();
 }
 public void SwitchToTeamChannel(BattleChannelSwitchEvent e, InactiveTeamChatChannelNode inactiveChannelNode, [JoinAll] SelfUserTeamNode selfIUserNode, [JoinByTeam] TeamNode teamNode, [JoinAll] ActiveChannelNode activeChannelNode, [JoinByScreen] BattleChatGUINode battleChatGUINode)
 {
     this.SwitchActiveChannel(activeChannelNode, inactiveChannelNode);
     this.SetActiveChannelGUI(battleChatGUINode, teamNode.colorInBattle.TeamColor);
 }
 public void SwitchToGeneralChannel(BattleChannelSwitchEvent e, InactiveGeneralChatChannelNode inactiveChannelNode, [JoinAll] ActiveChannelNode activeChannelNode, [JoinByScreen] BattleChatGUINode battleChatGUINode)
 {
     this.SwitchActiveChannel(activeChannelNode, inactiveChannelNode);
     this.SetActiveChannelGUI(battleChatGUINode, TeamColor.NONE);
 }