DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ IsInConsole()

bool PluginBase::IsInConsole ( )
inlineprivate

См. определение в файле PluginDeveloper.c строка 820

821 {
822 UIScriptedMenu menu_curr = GetGame().GetUIManager().GetMenu();
823
824 if ( menu_curr != NULL && menu_curr.GetID() == MENU_SCRIPTCONSOLE )
825 {
826 return true;
827 }
828
829 return false;
830 }
proto native UIManager GetUIManager()
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
proto native CGame GetGame()
const int MENU_SCRIPTCONSOLE
Определения constants.c:185

Перекрестные ссылки GetGame(), UIManager::GetMenu(), CGame::GetUIManager() и MENU_SCRIPTCONSOLE.