5 protected static void OnShowPlayerList()
7 ArmaReforgerScripted.OpenPlayerList();
9 protected void OpenPauseMenu()
11 if (!
GetGame().GetMenuManager().IsAnyDialogOpen() && IsFocused())
12 ArmaReforgerScripted.OpenPauseMenu();
15 override void OnMenuInit()
19 InputManager inputManager =
GetGame().GetInputManager();
22 inputManager.AddActionListener(
"ShowScoreboard", EActionTrigger.DOWN, OnShowPlayerList);
23 inputManager.AddActionListener(
"MenuOpen", EActionTrigger.DOWN, OpenPauseMenu);
24 inputManager.AddActionListener(
"ChatToggle", EActionTrigger.DOWN, ChatToggle);
26 inputManager.AddActionListener(
"MenuOpenWB", EActionTrigger.DOWN, OpenPauseMenu);
31 override void OnMenuClose()
35 InputManager inputManager =
GetGame().GetInputManager();
38 inputManager.RemoveActionListener(
"ShowScoreboard", EActionTrigger.DOWN, OnShowPlayerList);
39 inputManager.RemoveActionListener(
"MenuOpen", EActionTrigger.DOWN, OpenPauseMenu);
40 inputManager.RemoveActionListener(
"ChatToggle", EActionTrigger.DOWN, ChatToggle);
42 inputManager.RemoveActionListener(
"MenuOpenWB", EActionTrigger.DOWN, OpenPauseMenu);
52 if (!m_ChatPanel.IsOpen())