class DetachOldMagazineSource
DetachOldMagazine › WeaponStateBase
All members, including inherited
detaches old magazine from weapon and stores it in left hand (LH)
Constructors 1
void DetachOldMagazine(Weapon_Base w = NULL, WeaponStateBase parent = NULL)Members 2
Magazine m_oldMagazinemagazine that will be detached
Referenced by DetachOldMagazine(), LoadCurrentFSMState(), OnAbort()
Show 3 more
, OnExit(), SaveCurrentFSMState(), and WeaponReplacingMagAndChamberNext.OnEntry()ref InventoryLocation m_newDstReferenced by DetachOldMagazine(), LoadCurrentFSMState(), OnAbort()
Show 3 more
, OnExit(), SaveCurrentFSMState(), and WeaponReplacingMagAndChamberNext.OnEntry()Methods 5
override void OnEntry(WeaponEventBase e)References WeaponStateBase.OnEntry()
override void OnAbort(WeaponEventBase e)override void OnExit(WeaponEventBase e)References Error(), GameInventory.FindFreeLocationFor(), GameInventory.GetCurrentInventoryLocation()
Show 16 more
, Object.GetDebugName(), EntityAI.GetInventory(), EntityAI.GetInventory(), InventoryLocation.GetType(), DayZPlayerUtils.HandleDropMagazine(), Weapon_Base.HideMagazine(), new InventoryLocation(), InventoryLocation.IsValid(), LogManager.IsWeaponLogEnable(), GameInventory.LocationSyncMoveEntity(), WeaponStateBase.OnExit(), wpnDebugPrint(), m_newDst, m_oldMagazine, WeaponEventBase.m_player, and WeaponStateBase.m_weaponoverride bool SaveCurrentFSMState(ParamsWriteContext ctx)References Error(), Object.GetDebugName(), OptionalLocationWriteToContext()
Show 5 more
, WeaponStateBase.SaveCurrentFSMState(), Serializer.Write(), m_newDst, m_oldMagazine, and WeaponStateBase.m_weaponoverride bool LoadCurrentFSMState(ParamsReadContext ctx, int version)References Error(), Object.GetDebugName(), WeaponStateBase.LoadCurrentFSMState()