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

◆ GuardCondition()

override bool GuardCondition ( WeaponEventBase e)

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

102 {
103 int mi = m_weapon.GetCurrentMuzzle();
104 Magazine mag = m_weapon.GetMagazine(mi);
105 if (mag != NULL && mag.GetAmmoCount() > 0)
106 {
107 if (LogManager.IsWeaponLogEnable()) { wpnDebugPrint("[wpnfsm] " + Object.GetDebugName(m_weapon) + " guard - has ammo"); }
108 return true;
109 }
110 if (LogManager.IsWeaponLogEnable()) { wpnDebugPrint("[wpnfsm] " + Object.GetDebugName(m_weapon) + " guard - no ammo"); }
111 return false;
112 }
void wpnDebugPrint(string s)
Определения Debug.c:9
class WeaponGuardIsDestroyed extends WeaponGuardBase m_weapon
Определения Guards.c:604
static bool IsWeaponLogEnable()
Определения Debug.c:718
Определения Debug.c:594
Определения ObjectTyped.c:2

Перекрестные ссылки LogManager::IsWeaponLogEnable(), m_weapon и wpnDebugPrint().