См. определение в файле ScriptConsoleUniversalInfoDialog.c строка 25
26 {
27 super.OnClick(w,
x,
y, button);
28
29 if (w.GetUserID() ==
IDC_OK)
30 {
32 if (consoleMenu != null)
33 {
35 ScriptConsoleItemsTab tab = ScriptConsoleItemsTab.Cast(scriptedConsole.GetTabHandler(ScriptConsoleItemsTab));
36 if (tab)
37 {
39 return true;
40 }
41 }
42 }
43
44 return false;
45 }
proto native UIManager GetUIManager()
UIScriptedMenu FindMenu(int id)
Returns menu with specific ID if it is open (see MenuID)
proto native CGame GetGame()
Перекрестные ссылки Close(), UIManager::FindMenu(), GetGame(), CGame::GetUIManager(), IDC_OK, MENU_SCRIPTCONSOLE, ScriptConsole(), x и y.