Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
WeaponGuardBase Class Reference

represents guard on a transition from state to state More...

Protected Member Functions

override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
void WeaponGuardAnyChamberEmpty (Weapon_Base w=NULL, int muzzle_index=0)
void WeaponGuardAnyChamberFiredOut (Weapon_Base w=NULL)
void WeaponGuardCanAttachMag (Weapon_Base w=NULL)
void WeaponGuardCanDetachMag (Weapon_Base w=NULL)
void WeaponGuardCanSwapMag (Weapon_Base w=NULL)
void WeaponGuardChamberEmpty (Weapon_Base w=NULL, int muzzle_index=0)
void WeaponGuardChamberFiredOut (Weapon_Base w=NULL, int muzzle_index=0)
void WeaponGuardChamberFull (Weapon_Base w=NULL, int muzzle_index=0)
void WeaponGuardChamberHasRoomForMoreThanOne (Weapon_Base w=NULL)
void WeaponGuardChamberHasRoomForOne (Weapon_Base w=NULL)
void WeaponGuardChamberMultiHasRoomBulltet (Weapon_Base w=NULL)
void WeaponGuardChamberMultiHasRoomBulltetIgnoreLast (Weapon_Base w=NULL)
void WeaponGuardCurrentChamberEmpty (Weapon_Base w=NULL)
void WeaponGuardCurrentChamberFiredOut (Weapon_Base w=NULL)
void WeaponGuardCurrentChamberFull (Weapon_Base w=NULL)
void WeaponGuardHasAmmoInEvent (Weapon_Base w=NULL)
void WeaponGuardHasAmmoInnerMagazine (Weapon_Base w=NULL)
void WeaponGuardHasMag (Weapon_Base w=NULL)
void WeaponGuardInnerMagazineFull (Weapon_Base w=NULL)
void WeaponGuardInnerMagazineFullShareChamber (Weapon_Base w=NULL)
void WeaponGuardInternalMagazineHasRoomForBullet (Weapon_Base w=NULL)
void WeaponGuardIsDestroyed (Weapon_Base w=NULL)
void WeaponGuardJammed (Weapon_Base w=NULL)
void WeaponGuardMagazinesHaveEqualSizes (Weapon_Base w=NULL)
void WeaponGuardWeaponCharged (Weapon_Base w=NULL)
void WeaponGuardWeaponOpen (Weapon_Base w=NULL)

Protected Attributes

int m_muzzle
Weapon_Base m_weapon

Private Member Functions

void GuardAnd (WeaponGuardBase arg0=NULL, WeaponGuardBase arg1=NULL)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
override bool GuardCondition (WeaponEventBase e)
bool GuardCondition (WeaponEventBase e)
void GuardNot (WeaponGuardBase arg0=NULL)
void GuardOr (WeaponGuardBase arg0=NULL, WeaponGuardBase arg1=NULL)
void WeaponGuardHasAmmoInLoopedState (WeaponChambering_Base state)

Private Attributes

ref WeaponGuardBase m_arg0
ref WeaponGuardBase m_arg1
WeaponChambering_Base m_state

Detailed Description

represents guard on a transition from state to state

Definition at line 4 of file guards.c.

Member Function Documentation

◆ GuardAnd()

void GuardAnd ( WeaponGuardBase arg0 = NULL,
WeaponGuardBase arg1 = NULL )
inlineprivate

Definition at line 19 of file guards.c.

References m_arg0, and m_arg1.

◆ GuardCondition() [1/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 594 of file guards.c.

References m_weapon.

◆ GuardCondition() [2/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 570 of file guards.c.

References m_weapon.

◆ GuardCondition() [3/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

◆ GuardCondition() [4/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprivate

Definition at line 524 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_state, and wpnDebugPrint().

◆ GuardCondition() [5/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 494 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [6/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 473 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [7/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 455 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [8/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 437 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [9/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 419 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [10/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

◆ GuardCondition() [11/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

◆ GuardCondition() [12/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

◆ GuardCondition() [13/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 343 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [14/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 325 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [15/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 308 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_muzzle, m_weapon, and wpnDebugPrint().

◆ GuardCondition() [16/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 288 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [17/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 270 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [18/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 251 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [19/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 234 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_muzzle, m_weapon, and wpnDebugPrint().

◆ GuardCondition() [20/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 213 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [21/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 194 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [22/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 177 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_muzzle, m_weapon, and wpnDebugPrint().

◆ GuardCondition() [23/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 157 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [24/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

◆ GuardCondition() [25/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 120 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [26/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 84 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [27/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprotected

Definition at line 65 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_weapon, and wpnDebugPrint().

◆ GuardCondition() [28/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprivate

Definition at line 50 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_arg0, m_arg1, and wpnDebugPrint().

◆ GuardCondition() [29/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprivate

Definition at line 35 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_arg0, and wpnDebugPrint().

◆ GuardCondition() [30/31]

override bool GuardCondition ( WeaponEventBase e)
inlineprivate

Definition at line 21 of file guards.c.

References LogManager::IsWeaponLogEnable(), m_arg0, m_arg1, and wpnDebugPrint().

◆ GuardCondition() [31/31]

bool GuardCondition ( WeaponEventBase e)
inlineprivate

Definition at line 11 of file guards.c.

◆ GuardNot()

void GuardNot ( WeaponGuardBase arg0 = NULL)
inlineprivate

Definition at line 33 of file guards.c.

References m_arg0.

◆ GuardOr()

void GuardOr ( WeaponGuardBase arg0 = NULL,
WeaponGuardBase arg1 = NULL )
inlineprivate

Definition at line 48 of file guards.c.

References m_arg0, and m_arg1.

◆ WeaponGuardAnyChamberEmpty()

void WeaponGuardAnyChamberEmpty ( Weapon_Base w = NULL,
int muzzle_index = 0 )
inlineprotected

Definition at line 211 of file guards.c.

References m_muzzle, and m_weapon.

◆ WeaponGuardAnyChamberFiredOut()

void WeaponGuardAnyChamberFiredOut ( Weapon_Base w = NULL)
inlineprotected

Definition at line 341 of file guards.c.

References m_weapon.

◆ WeaponGuardCanAttachMag()

void WeaponGuardCanAttachMag ( Weapon_Base w = NULL)
inlineprotected

Definition at line 362 of file guards.c.

References m_weapon.

◆ WeaponGuardCanDetachMag()

void WeaponGuardCanDetachMag ( Weapon_Base w = NULL)
inlineprotected

Definition at line 399 of file guards.c.

References m_weapon.

◆ WeaponGuardCanSwapMag()

void WeaponGuardCanSwapMag ( Weapon_Base w = NULL)
inlineprotected

Definition at line 380 of file guards.c.

References m_weapon.

◆ WeaponGuardChamberEmpty()

void WeaponGuardChamberEmpty ( Weapon_Base w = NULL,
int muzzle_index = 0 )
inlineprotected

Definition at line 175 of file guards.c.

References m_muzzle, and m_weapon.

◆ WeaponGuardChamberFiredOut()

void WeaponGuardChamberFiredOut ( Weapon_Base w = NULL,
int muzzle_index = 0 )
inlineprotected

Definition at line 306 of file guards.c.

References m_muzzle, and m_weapon.

◆ WeaponGuardChamberFull()

void WeaponGuardChamberFull ( Weapon_Base w = NULL,
int muzzle_index = 0 )
inlineprotected

Definition at line 232 of file guards.c.

References m_muzzle, and m_weapon.

◆ WeaponGuardChamberHasRoomForMoreThanOne()

void WeaponGuardChamberHasRoomForMoreThanOne ( Weapon_Base w = NULL)
inlineprotected

Definition at line 417 of file guards.c.

References m_weapon.

◆ WeaponGuardChamberHasRoomForOne()

void WeaponGuardChamberHasRoomForOne ( Weapon_Base w = NULL)
inlineprotected

Definition at line 453 of file guards.c.

References m_weapon.

◆ WeaponGuardChamberMultiHasRoomBulltet()

void WeaponGuardChamberMultiHasRoomBulltet ( Weapon_Base w = NULL)
inlineprotected

Definition at line 471 of file guards.c.

References m_weapon.

◆ WeaponGuardChamberMultiHasRoomBulltetIgnoreLast()

void WeaponGuardChamberMultiHasRoomBulltetIgnoreLast ( Weapon_Base w = NULL)
inlineprotected

Definition at line 492 of file guards.c.

References m_weapon.

◆ WeaponGuardCurrentChamberEmpty()

void WeaponGuardCurrentChamberEmpty ( Weapon_Base w = NULL)
inlineprotected

Definition at line 192 of file guards.c.

References m_weapon.

◆ WeaponGuardCurrentChamberFiredOut()

void WeaponGuardCurrentChamberFiredOut ( Weapon_Base w = NULL)
inlineprotected

Definition at line 323 of file guards.c.

References m_weapon.

◆ WeaponGuardCurrentChamberFull()

void WeaponGuardCurrentChamberFull ( Weapon_Base w = NULL)
inlineprotected

Definition at line 249 of file guards.c.

References m_weapon.

◆ WeaponGuardHasAmmoInEvent()

void WeaponGuardHasAmmoInEvent ( Weapon_Base w = NULL)
inlineprotected

Definition at line 136 of file guards.c.

References m_weapon.

◆ WeaponGuardHasAmmoInLoopedState()

void WeaponGuardHasAmmoInLoopedState ( WeaponChambering_Base state)
inlineprivate

Definition at line 522 of file guards.c.

References m_state.

◆ WeaponGuardHasAmmoInnerMagazine()

void WeaponGuardHasAmmoInnerMagazine ( Weapon_Base w = NULL)
inlineprotected

Definition at line 118 of file guards.c.

References m_weapon.

◆ WeaponGuardHasMag()

void WeaponGuardHasMag ( Weapon_Base w = NULL)
inlineprotected

Definition at line 155 of file guards.c.

References m_weapon.

◆ WeaponGuardInnerMagazineFull()

void WeaponGuardInnerMagazineFull ( Weapon_Base w = NULL)
inlineprotected

Definition at line 268 of file guards.c.

References m_weapon.

◆ WeaponGuardInnerMagazineFullShareChamber()

void WeaponGuardInnerMagazineFullShareChamber ( Weapon_Base w = NULL)
inlineprotected

Definition at line 286 of file guards.c.

References m_weapon.

◆ WeaponGuardInternalMagazineHasRoomForBullet()

void WeaponGuardInternalMagazineHasRoomForBullet ( Weapon_Base w = NULL)
inlineprotected

Definition at line 435 of file guards.c.

References m_weapon.

◆ WeaponGuardIsDestroyed()

void WeaponGuardIsDestroyed ( Weapon_Base w = NULL)
inlineprotected

Definition at line 82 of file guards.c.

References m_weapon.

◆ WeaponGuardJammed()

void WeaponGuardJammed ( Weapon_Base w = NULL)
inlineprotected

Definition at line 63 of file guards.c.

References m_weapon.

◆ WeaponGuardMagazinesHaveEqualSizes()

void WeaponGuardMagazinesHaveEqualSizes ( Weapon_Base w = NULL)
inlineprotected

Definition at line 540 of file guards.c.

References m_weapon.

◆ WeaponGuardWeaponCharged()

void WeaponGuardWeaponCharged ( Weapon_Base w = NULL)
inlineprotected

Definition at line 568 of file guards.c.

References m_weapon.

◆ WeaponGuardWeaponOpen()

void WeaponGuardWeaponOpen ( Weapon_Base w = NULL)
inlineprotected

Definition at line 592 of file guards.c.

References m_weapon.

Field Documentation

◆ m_arg0

ref WeaponGuardBase m_arg0
private

Definition at line 16 of file guards.c.

Referenced by GuardAnd(), GuardCondition(), GuardNot(), and GuardOr().

◆ m_arg1

ref WeaponGuardBase m_arg1
private

Definition at line 17 of file guards.c.

Referenced by GuardAnd(), GuardCondition(), and GuardOr().

◆ m_muzzle

◆ m_state

WeaponChambering_Base m_state
private

Definition at line 521 of file guards.c.

Referenced by GuardCondition(), and WeaponGuardHasAmmoInLoopedState().

◆ m_weapon


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/entities/firearms/fsm/guards.c