9 override void OnMenuOpen()
13 BaseGameMode gameMode =
GetGame().GetGameMode();
17 SCR_MapConfigComponent configComp = SCR_MapConfigComponent.Cast(gameMode.FindComponent(SCR_MapConfigComponent));
25 Widget wChatPanel =
GetRootWidget().FindAnyWidget(
"ChatPanel");
29 GetGame().GetInputManager().AddActionListener(
"ChatToggle", EActionTrigger.DOWN, Callback_OnChatToggleAction);
33 override void OnMenuClose()
38 GetGame().GetInputManager().RemoveActionListener(
"ChatToggle", EActionTrigger.DOWN, Callback_OnChatToggleAction);
42 override void OnMenuInit()
49 override void OnMenuUpdate(
float tDelta)
52 m_ChatPanel.OnUpdateChat(tDelta);
56 void Callback_OnChatToggleAction()
61 if (!m_ChatPanel.IsOpen())