DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | WeaponStartAction |
simple class starting animation action specified by m_action and m_actionType More... | |
class | WeaponStateBase |
represent weapon state base More... | |
class | WeaponChambering_Base |
class | WeaponChambering_Cartridge |
Functions | |
override void | OnExit (WeaponEventBase e) |
override void | OnEntry (WeaponEventBase e) |
void | ChamberMultiBullet (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int startActionType=-1, int endActionType=-1) |
override void | OnAbort (WeaponEventBase e) |
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
void ChamberMultiBullet | ( | Weapon_Base | w = NULL, |
WeaponStateBase | parent = NULL, | ||
WeaponActions | action = WeaponActions.NONE, | ||
int | startActionType = -1, | ||
int | endActionType = -1 ) |
Definition at line 635 of file WeaponChambering.c.
References m_action, m_chamber, m_chamber_end, m_eject, m_endActionType, m_endLoop, m_showB, m_showB2, m_start, m_startActionType, m_w4sb2, m_weapon, and WeaponStateBase::WeaponEjectCasingMultiMuzzle().
Referenced by DoubleBarrel_Base::InitStateMachine().
override bool LoadCurrentFSMState | ( | ParamsReadContext | ctx, |
int | version ) |
Definition at line 856 of file WeaponChambering.c.
References Error(), m_srcMagazine, m_srcMagazinePrevLocation, m_weapon, and OptionalLocationReadFromContext().
override void OnAbort | ( | WeaponEventBase | e | ) |
Definition at line 777 of file WeaponChambering.c.
References DayZPlayerUtils(), vector::DistanceSq(), Error(), LogManager::IsWeaponLogEnable(), GameInventory::LocationCanMoveEntity(), GameInventory::LocationSyncMoveEntity(), m_chamber, m_srcMagazine, m_srcMagazinePrevLocation, m_weapon, WeaponManager::MAX_DROP_MAGAZINE_DISTANCE_SQ, and wpnDebugPrint().
override void OnEntry | ( | WeaponEventBase | e | ) |
Definition at line 187 of file WeaponChambering.c.
override void IsWaitingForActionFinish::OnExit | ( | WeaponEventBase | e | ) |
Definition at line 187 of file WeaponChambering.c.
override bool SaveCurrentFSMState | ( | ParamsWriteContext | ctx | ) |
Definition at line 837 of file WeaponChambering.c.
References Error(), m_srcMagazine, m_srcMagazinePrevLocation, m_weapon, and OptionalLocationWriteToContext().
Definition at line 161 of file WeaponChambering.c.
class WeaponEndAction extends WeaponStartAction m_action |
Referenced by ChamberMultiBullet(), FSMTransition< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::FSMTransition(), WeaponStateBase::LoopedChambering(), WeaponStateBase::LoopedChamberingEjectLast(), WeaponStateBase::OnEntry(), WeaponStateBase::RifleChambering(), WeaponStateBase::RifleEjectCasing(), WeaponStateBase::RifleReChambering(), WeaponStateBase::WeaponAttachMagazine(), WeaponStateBase::WeaponChambering(), WeaponStateBase::WeaponCharging(), WeaponStateBase::WeaponChargingInnerMag(), WeaponStateBase::WeaponChargingMultiple(), WeaponStateBase::WeaponChargingStretch(), WeaponStateBase::WeaponDetachingMag(), WeaponStateBase::WeaponEjectBullet(), WeaponStateBase::WeaponFireAndChamberNext(), WeaponStateBase::WeaponFireAndChamberNextFromInnerMag(), WeaponStateBase::WeaponFireLast(), WeaponStateBase::WeaponMagnumChambering(), WeaponStateBase::WeaponReplacingMagAndChamberNext(), WeaponStateBase::WeaponStartAction(), and WeaponStateBase::WeaponUnjamming().
ref WeaponChambering_Base m_chamber |
Definition at line 628 of file WeaponChambering.c.
Referenced by ChamberMultiBullet(), WeaponStateBase::LoopedChambering(), WeaponStateBase::LoopedChamberingEjectLast(), WeaponStateBase::OnAbort(), OnAbort(), WeaponStateBase::OnEntry(), WeaponStateBase::OnExit(), WeaponStateBase::RifleChambering(), WeaponStateBase::RifleReChambering(), WeaponStateBase::WeaponAttachMagazine(), WeaponStateBase::WeaponChambering(), WeaponStateBase::WeaponCharging(), WeaponStateBase::WeaponChargingInnerMag(), WeaponStateBase::WeaponChargingMultiple(), WeaponStateBase::WeaponEjectBullet(), WeaponStateBase::WeaponMagnumChambering(), WeaponStateBase::WeaponReplacingMagAndChamberNext(), and WeaponStateBase::WeaponUnjamming().
ref WeaponChambering_Base m_chamber_end |
Definition at line 629 of file WeaponChambering.c.
Referenced by ChamberMultiBullet().
ref WeaponEjectCasingMultiMuzzle m_eject |
Definition at line 627 of file WeaponChambering.c.
Referenced by ChamberMultiBullet(), WeaponStateBase::LoopedChambering(), WeaponStateBase::LoopedChamberingEjectLast(), WeaponStateBase::OnEntry(), WeaponStateBase::RifleChambering(), WeaponStateBase::RifleEjectCasing(), WeaponStateBase::RifleReChambering(), WeaponStateBase::WeaponAttachMagazine(), WeaponStateBase::WeaponChambering(), WeaponStateBase::WeaponCharging(), WeaponStateBase::WeaponEjectBullet(), WeaponStateBase::WeaponMagnumChambering(), WeaponStateBase::WeaponReplacingMagAndChamberNext(), and WeaponStateBase::WeaponUnjamming().
int m_endActionType |
Definition at line 622 of file WeaponChambering.c.
Referenced by ChamberMultiBullet(), WeaponStateBase::LoopedChambering(), WeaponStateBase::LoopedChamberingEjectLast(), and WeaponStateBase::WeaponMagnumChambering().
ref WeaponEndAction m_endLoop |
Definition at line 631 of file WeaponChambering.c.
Referenced by ChamberMultiBullet(), WeaponStateBase::LoopedChambering(), WeaponStateBase::LoopedChamberingEjectLast(), and WeaponStateBase::WeaponMagnumChambering().
ref BulletShow_W4T m_showB |
Definition at line 632 of file WeaponChambering.c.
Referenced by ChamberMultiBullet().
ref BulletShow2_W4T m_showB2 |
Definition at line 633 of file WeaponChambering.c.
Referenced by ChamberMultiBullet().
Magazine m_srcMagazine |
Definition at line 623 of file WeaponChambering.c.
Referenced by WeaponStateBase::LoadCurrentFSMState(), LoadCurrentFSMState(), WeaponStateBase::OnAbort(), OnAbort(), WeaponStateBase::OnEntry(), WeaponChambering_Base::OnEntry(), WeaponStateBase::OnExit(), WeaponStateBase::SaveCurrentFSMState(), and SaveCurrentFSMState().
ref InventoryLocation m_srcMagazinePrevLocation |
source of the cartridge
Definition at line 624 of file WeaponChambering.c.
Referenced by WeaponStateBase::LoadCurrentFSMState(), LoadCurrentFSMState(), WeaponStateBase::OnAbort(), OnAbort(), WeaponStateBase::OnEntry(), WeaponStateBase::OnExit(), WeaponStateBase::SaveCurrentFSMState(), and SaveCurrentFSMState().
ref WeaponStateBase m_start |
Definition at line 626 of file WeaponChambering.c.
Referenced by ChamberMultiBullet(), WeaponStateBase::LoopedChambering(), WeaponStateBase::LoopedChamberingEjectLast(), WeaponStateBase::OnEntry(), WeaponStateBase::RifleChambering(), WeaponStateBase::RifleEjectCasing(), WeaponStateBase::RifleReChambering(), WeaponStateBase::WeaponAttachMagazine(), WeaponStateBase::WeaponChambering(), WeaponStateBase::WeaponCharging(), WeaponStateBase::WeaponChargingInnerMag(), WeaponStateBase::WeaponChargingMultiple(), WeaponStateBase::WeaponChargingStretch(), WeaponStateBase::WeaponDetachingMag(), WeaponStateBase::WeaponEjectBullet(), WeaponStateBase::WeaponMagnumChambering(), WeaponStateBase::WeaponReplacingMagAndChamberNext(), and WeaponStateBase::WeaponUnjamming().
int m_startActionType |
Definition at line 621 of file WeaponChambering.c.
Referenced by ChamberMultiBullet(), WeaponStateBase::LoopedChambering(), WeaponStateBase::LoopedChamberingEjectLast(), and WeaponStateBase::WeaponMagnumChambering().
ref LoopedChambering_Wait4ShowBullet2 m_w4sb2 |
Definition at line 630 of file WeaponChambering.c.
Referenced by ChamberMultiBullet(), WeaponStateBase::LoopedChambering(), WeaponStateBase::LoopedChamberingEjectLast(), and WeaponStateBase::WeaponMagnumChambering().