DayZ 1.27
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,GetGame().GetPlayer()) && Class.CastTo(hic,player.GetInputController()) && hic.WeaponADS())
176 return false;
177 else
178 return true;
179 }
180 return false;
181 }
PlayerBase GetPlayer()
Определения ModifierBase.c:51
proto native bool WeaponADS()
returns true if weapon ADS mode
static GesturesMenu instance
Определения GesturesMenu.c:126
proto native CGame GetGame()

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