DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | WeaponStableState |
represents weapon's stable state (i.e. the basic states that the weapon will spend the most time in) More... | |
class | Crossbow_Base |
base for Crossbow @NOTE name copies config base class More... | |
Enumerations | |
enum | XBAnimState { uncocked = 0 , cocked = 1 } |
enum | XBStableStateID |
Functions | |
enum XBStableStateID | OnEntry (WeaponEventBase e) |
override void | OnExit (WeaponEventBase e) |
override int | GetCurrentStateID () |
override bool | HasBullet () |
override bool | HasMagazine () |
override bool | IsJammed () |
override bool | IsRepairEnabled () |
override void | InitMuzzleArray () |
Variables | |
UNKNOWN = 0 | |
UncockedEmpty = 1 | |
CockedEmpty = 2 | |
Loaded = 3 | |
class XBCockedEmpty extends WeaponStableState | OnEntry |
Enumerator | |
---|---|
uncocked | default weapon state, closed and discharged |
cocked |
Definition at line 1 of file Crossbow.c.
Definition at line 7 of file Crossbow.c.
Definition at line 19 of file Crossbow.c.
Definition at line 20 of file Crossbow.c.
Definition at line 21 of file Crossbow.c.
Definition at line 22 of file Crossbow.c.
Referenced by Weapon::CanFire(), and Weapon::RandomizeFSMState().
Definition at line 23 of file Crossbow.c.
enum XBStableStateID OnEntry | ( | WeaponEventBase | e | ) |
Definition at line 1 of file Crossbow.c.
override void OnExit | ( | WeaponEventBase | e | ) |
Definition at line 18 of file Crossbow.c.
References LogManager::IsWeaponLogEnable(), m_weapon, and wpnPrint().
CockedEmpty = 2 |
Definition at line 20 of file Crossbow.c.
Loaded = 3 |
Definition at line 21 of file Crossbow.c.
class XBCockedEmpty extends WeaponStableState OnEntry |
UncockedEmpty = 1 |
Definition at line 19 of file Crossbow.c.
@ UNKNOWN = 0 |
Definition at line 18 of file Crossbow.c.