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

◆ CanOpenMenu()

static bool UIScriptedMenu::CanOpenMenu ( )
inlinestaticprotected

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

170 {
171 if (!instance)
172 {
173 PlayerBase player;
174 HumanInputController hic;
175 if (Class.CastTo(player,g_Game.GetPlayer()) && Class.CastTo(hic,player.GetInputController()) && hic.WeaponADS())
176 return false;
177 else
178 return true;
179 }
180 return false;
181 }
DayZGame g_Game
Определения DayZGame.c:3942
proto native bool WeaponADS()
returns true if weapon ADS mode
static GesturesMenu instance
Определения GesturesMenu.c:126

Перекрестные ссылки Class::CastTo(), g_Game, instance и HumanInputController::WeaponADS().