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

◆ GuardCondition()

override bool HandGuardHasItemInEvent::GuardCondition ( HandEventBase e)
inlineprivate

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

116 {
117 EntityAI eai = e.GetSrcEntity();
118 bool result = false;
119 if (eai)
120 {
121 if (eai.IsWeapon())
122 {
123 result = true;
124 }
125 }
126 #ifdef ENABLE_LOGGING
127 if ( LogManager.IsInventoryHFSMLogEnable() )
128 {
129 Debug.InventoryHFSMLog("GuardCondition result: " + result,"HandGuardHasWeaponInEvent", "n/a", "GuardCondition", e.m_Player.ToString() );
130 }
131 #endif
132 return result;
133 }
class LogManager EntityAI
void Debug()
Определения UniversalTemperatureSource.c:349

Перекрестные ссылки Debug::InventoryHFSMLog() и LogManager::IsInventoryHFSMLogEnable().