DayZ 1.24
|
Private Attributes | |
const float | MAX_DROP_MAGAZINE_DISTANCE_SQ = 4 |
Definition at line 1 of file WeaponManager.c.
|
inlineprotected |
Definition at line 45 of file WeaponManager.c.
References m_AnimationRefreshCooldown, m_canEnd, m_ControlAction, m_ForceEjectBulletTimestamp, m_InProgress, m_IsEventSended, m_LastAcknowledgmentID, m_MagazineInHand, m_MagazinePilesInInventory, m_MagazineStorageInInventory, m_NewJamChance, m_PendingInventoryLocation, m_PendingTargetMagazine, m_PendingWeaponAction, m_PendingWeaponActionAcknowledgmentID, m_player, m_PreparedMagazine, m_readyToStart, m_SuitableMagazines, m_WaitToSyncJamChance, m_WantContinue, and m_WeaponInHand.
|
inlineprotected |
Definition at line 331 of file WeaponManager.c.
References AT_WPN_ATTACH_MAGAZINE, and StartAction().
Referenced by HandsContainer::OnPerformCombination().
|
inlineprotected |
Definition at line 92 of file WeaponManager.c.
References Class::CastTo(), and m_player.
Referenced by HandsContainer::OnPerformCombination().
|
inlineprotected |
Definition at line 181 of file WeaponManager.c.
References m_player.
|
inlineprotected |
Definition at line 254 of file WeaponManager.c.
References m_player.
|
inlineprotected |
Definition at line 379 of file WeaponManager.c.
References FORCE_EJECT_BULLET_TIMEOUT, GetGame(), m_ForceEjectBulletTimestamp, and m_WeaponInHand.
|
inlineprotected |
Definition at line 79 of file WeaponManager.c.
References m_player.
|
inlineprotected |
Definition at line 201 of file WeaponManager.c.
References m_player.
|
inlineprotected |
Definition at line 133 of file WeaponManager.c.
References GameInventory::CanForceSwapEntitiesEx(), GameInventory::CanSwapEntitiesEx(), Class::CastTo(), and m_player.
Referenced by HandsContainer::GetCombinationFlags(), and HandsContainer::OnPerformCombination().
|
inlineprotected |
Definition at line 230 of file WeaponManager.c.
References m_player.
Definition at line 1082 of file WeaponManager.c.
Referenced by OnMagazineInventoryEnter().
Definition at line 941 of file WeaponManager.c.
References m_AnimationRefreshCooldown, m_WeaponInHand, and RefreshAnimationState().
|
inlineprotected |
Definition at line 336 of file WeaponManager.c.
References AT_WPN_DETACH_MAGAZINE, and StartAction().
|
inlineprotected |
Definition at line 374 of file WeaponManager.c.
References AT_WPN_EJECT_BULLET, and StartAction().
|
inlineprotected |
Definition at line 391 of file WeaponManager.c.
References AT_WPN_EJECT_BULLET, GetGame(), m_ForceEjectBulletTimestamp, m_WeaponInHand, and StartAction().
|
inlineprotected |
Definition at line 412 of file WeaponManager.c.
References m_player.
|
inlineprivate |
Definition at line 1205 of file WeaponManager.c.
References m_WeaponInHand.
Referenced by ScriptedWidgetEventHandler::SetWeaponModeAndZeroing().
Definition at line 988 of file WeaponManager.c.
References m_SuitableMagazines.
|
inlineprivate |
Definition at line 971 of file WeaponManager.c.
References m_SuitableMagazines.
|
inlineprotected |
Definition at line 282 of file WeaponManager.c.
References GameInventory::c_InventoryReservationTimeoutMS, m_PendingInventoryLocation, m_PendingTargetMagazine, m_player, m_TargetInventoryLocation, and m_WeaponInHand.
Referenced by StartAction().
|
inlineprivate |
Definition at line 787 of file WeaponManager.c.
References m_InProgress.
Referenced by ActionPossibilityCheck(), and CanPlayEmote().
|
inlineprotected |
Definition at line 354 of file WeaponManager.c.
References AT_WPN_LOAD_BULLET, and StartAction().
Referenced by HandsContainer::OnPerformCombination().
|
inlineprotected |
Definition at line 359 of file WeaponManager.c.
References AT_WPN_LOAD_MULTI_BULLETS_START, and StartAction().
|
inlineprotected |
Definition at line 364 of file WeaponManager.c.
References m_InProgress, and m_WantContinue.
|
inlineprivate |
Definition at line 543 of file WeaponManager.c.
References AT_WPN_ATTACH_MAGAZINE, AT_WPN_DETACH_MAGAZINE, AT_WPN_EJECT_BULLET, AT_WPN_LOAD_BULLET, AT_WPN_LOAD_MULTI_BULLETS_START, AT_WPN_SET_NEXT_MUZZLE_MODE, AT_WPN_SWAP_MAGAZINE, AT_WPN_UNJAM, Error(), GetGame(), INPUT_UDT_WEAPON_ACTION, m_InProgress, m_IsEventSended, m_PendingInventoryLocation, m_PendingTargetMagazine, m_PendingWeaponAction, m_PendingWeaponActionAcknowledgmentID, m_player, and DayZPlayerSyncJunctures::SendWeaponActionAcknowledgment().
|
inlineprivate |
Definition at line 1199 of file WeaponManager.c.
References m_WeaponInHand.
Definition at line 1072 of file WeaponManager.c.
References OnMagazineInventoryExit().
Definition at line 1077 of file WeaponManager.c.
References OnMagazineInventoryEnter().
Definition at line 1001 of file WeaponManager.c.
References CompareMagazinesSuitability(), m_MagazinePilesInInventory, m_MagazineStorageInInventory, and SetSutableMagazines().
Referenced by OnMagazineDetach().
Definition at line 1057 of file WeaponManager.c.
References m_MagazinePilesInInventory, m_MagazineStorageInInventory, and m_SuitableMagazines.
Referenced by OnMagazineAttach().
|
inlineprivate |
Definition at line 501 of file WeaponManager.c.
References GetGame(), m_InProgress, m_NewJamChance, m_PendingInventoryLocation, m_PendingTargetMagazine, m_PendingWeaponAction, m_PendingWeaponActionAcknowledgmentID, m_player, m_readyToStart, m_TargetInventoryLocation, DayZPlayerSyncJunctures::SJ_WEAPON_ACTION_ACK_ACCEPT, DayZPlayerSyncJunctures::SJ_WEAPON_ACTION_ACK_REJECT, and DayZPlayerSyncJunctures::SJ_WEAPON_SET_JAMMING_CHANCE.
|
inlineprivate |
Definition at line 902 of file WeaponManager.c.
References GetGame(), m_ControlAction, m_InProgress, m_PendingInventoryLocation, m_PendingTargetMagazine, m_PendingWeaponAction, m_PendingWeaponActionAcknowledgmentID, m_player, m_readyToStart, m_TargetInventoryLocation, and m_WantContinue.
Referenced by Refresh(), StartPendingAction(), and Update().
|
inlineprivate |
Definition at line 1215 of file WeaponManager.c.
References GameInventory::CanForceSwapEntitiesEx(), GameInventory::CanSwapEntitiesEx(), and m_player.
Referenced by SwapMagazine().
|
inlineprivate |
Definition at line 797 of file WeaponManager.c.
References OnWeaponActionEnd().
|
inlineprivate |
Definition at line 951 of file WeaponManager.c.
References m_player, and m_WeaponInHand.
Referenced by DelayedRefreshAnimationState(), and Update().
|
inlineprotected |
Definition at line 277 of file WeaponManager.c.
References GetGame(), and m_ForceEjectBulletTimestamp.
|
inlineprotected |
Definition at line 407 of file WeaponManager.c.
References AT_WPN_SET_NEXT_MUZZLE_MODE, and StartAction().
Definition at line 792 of file WeaponManager.c.
References m_InProgress.
|
inlineprivate |
Definition at line 1140 of file WeaponManager.c.
References m_MagazineInHand, m_MagazinePilesInInventory, m_MagazineStorageInInventory, m_PreparedMagazine, m_SuitableMagazines, and m_WeaponInHand.
Referenced by OnMagazineInventoryEnter(), SortMagazineAfterLoad(), and Update().
|
inlineprivate |
Definition at line 1087 of file WeaponManager.c.
References m_MagazinePilesInInventory, m_MagazineStorageInInventory, and SetSutableMagazines().
|
inlineprivate |
Definition at line 685 of file WeaponManager.c.
References ScriptInputUserData::CanStoreInputUserData(), GetGame(), InventoryReservation(), m_ControlAction, m_InProgress, m_IsEventSended, m_PendingInventoryLocation, m_PendingTargetMagazine, m_PendingWeaponAction, m_readyToStart, StartPendingAction(), and Synchronize().
Referenced by AttachMagazine(), DetachMagazine(), EjectBullet(), EjectBulletVerified(), LoadBullet(), LoadMultiBullet(), SetNextMuzzleMode(), SwapMagazine(), SwapMagazineEx(), and Unjam().
|
inlineprivate |
Definition at line 722 of file WeaponManager.c.
References AT_WPN_ATTACH_MAGAZINE, AT_WPN_DETACH_MAGAZINE, AT_WPN_EJECT_BULLET, AT_WPN_LOAD_BULLET, AT_WPN_LOAD_MULTI_BULLETS_END, AT_WPN_LOAD_MULTI_BULLETS_START, AT_WPN_SET_NEXT_MUZZLE_MODE, AT_WPN_SWAP_MAGAZINE, AT_WPN_UNJAM, Error(), m_canEnd, m_InProgress, m_IsEventSended, m_PendingInventoryLocation, m_PendingTargetMagazine, m_PendingWeaponAction, m_player, m_WantContinue, m_WeaponInHand, and OnWeaponActionEnd().
Referenced by StartAction(), and Update().
|
inlineprotected |
Definition at line 341 of file WeaponManager.c.
References AT_WPN_SWAP_MAGAZINE, m_WeaponInHand, PrepareInventoryLocationForMagazineSwap(), and StartAction().
Referenced by HandsContainer::OnPerformCombination().
|
inlineprotected |
Definition at line 349 of file WeaponManager.c.
References AT_WPN_SWAP_MAGAZINE, and StartAction().
|
inlineprivate |
Definition at line 443 of file WeaponManager.c.
References AT_WPN_ATTACH_MAGAZINE, AT_WPN_DETACH_MAGAZINE, AT_WPN_EJECT_BULLET, AT_WPN_LOAD_BULLET, AT_WPN_LOAD_MULTI_BULLETS_START, AT_WPN_SWAP_MAGAZINE, AT_WPN_UNJAM, GetGame(), INPUT_UDT_WEAPON_ACTION, m_LastAcknowledgmentID, m_PendingInventoryLocation, m_PendingTargetMagazine, m_PendingWeaponAction, and m_PendingWeaponActionAcknowledgmentID.
Referenced by StartAction().
|
inlineprotected |
Definition at line 369 of file WeaponManager.c.
References AT_WPN_UNJAM, and StartAction().
Definition at line 802 of file WeaponManager.c.
References Math::AbsFloat(), Weapon_Base::GetChanceToJam(), GetGame(), m_AnimationRefreshCooldown, m_canEnd, m_InIronSight, m_InOptic, m_InProgress, m_IsEventSended, m_justStart, m_MagazineInHand, m_NewJamChance, m_player, m_readyToStart, m_SuitableMagazines, m_WaitToSyncJamChance, m_WeaponInHand, OnWeaponActionEnd(), RefreshAnimationState(), DayZPlayerSyncJunctures::SendWeaponJamChance(), SetSutableMagazines(), and StartPendingAction().
|
inlineprivate |
Definition at line 966 of file WeaponManager.c.
References m_WantContinue.
Definition at line 28 of file WeaponManager.c.
Referenced by CanEjectBulletVerified().
|
protected |
Definition at line 43 of file WeaponManager.c.
Referenced by DelayedRefreshAnimationState(), Update(), and WeaponManager().
|
protected |
Definition at line 15 of file WeaponManager.c.
Referenced by StartPendingAction(), Update(), and WeaponManager().
|
protected |
Definition at line 25 of file WeaponManager.c.
Referenced by OnWeaponActionEnd(), StartAction(), and WeaponManager().
|
protected |
Definition at line 26 of file WeaponManager.c.
Referenced by CanEjectBulletVerified(), EjectBulletVerified(), SetEjectBulletTryTimestamp(), and WeaponManager().
|
protected |
Definition at line 20 of file WeaponManager.c.
Referenced by Update().
|
protected |
Definition at line 21 of file WeaponManager.c.
Referenced by Update().
|
protected |
Definition at line 17 of file WeaponManager.c.
Referenced by IsRunning(), LoadMultiBulletStop(), OnInputUserDataProcess(), OnSyncJuncture(), OnWeaponActionEnd(), SetRunning(), StartAction(), StartPendingAction(), Update(), and WeaponManager().
|
protected |
Definition at line 18 of file WeaponManager.c.
Referenced by OnInputUserDataProcess(), StartAction(), StartPendingAction(), Update(), and WeaponManager().
|
protected |
Definition at line 16 of file WeaponManager.c.
Referenced by Update().
|
protected |
Definition at line 7 of file WeaponManager.c.
Referenced by Synchronize(), and WeaponManager().
|
protected |
Definition at line 24 of file WeaponManager.c.
Referenced by SetSutableMagazines(), Update(), and WeaponManager().
Definition at line 33 of file WeaponManager.c.
Referenced by OnMagazineInventoryEnter(), OnMagazineInventoryExit(), SetSutableMagazines(), SortMagazineAfterLoad(), and WeaponManager().
Definition at line 34 of file WeaponManager.c.
Referenced by OnMagazineInventoryEnter(), OnMagazineInventoryExit(), SetSutableMagazines(), SortMagazineAfterLoad(), and WeaponManager().
|
protected |
Definition at line 39 of file WeaponManager.c.
Referenced by OnSyncJuncture(), Update(), and WeaponManager().
|
protected |
Definition at line 13 of file WeaponManager.c.
Referenced by InventoryReservation(), OnInputUserDataProcess(), OnSyncJuncture(), OnWeaponActionEnd(), StartAction(), StartPendingAction(), Synchronize(), and WeaponManager().
|
protected |
Definition at line 10 of file WeaponManager.c.
Referenced by InventoryReservation(), OnInputUserDataProcess(), OnSyncJuncture(), OnWeaponActionEnd(), StartAction(), StartPendingAction(), Synchronize(), and WeaponManager().
|
protected |
Definition at line 12 of file WeaponManager.c.
Referenced by OnInputUserDataProcess(), OnSyncJuncture(), OnWeaponActionEnd(), StartAction(), StartPendingAction(), Synchronize(), and WeaponManager().
|
protected |
Definition at line 9 of file WeaponManager.c.
Referenced by OnInputUserDataProcess(), OnSyncJuncture(), OnWeaponActionEnd(), Synchronize(), and WeaponManager().
|
protected |
Definition at line 5 of file WeaponManager.c.
Referenced by CanAttachMagazine(), CanDetachMagazine(), CanEjectBullet(), CanFire(), CanLoadBullet(), CanSwapMagazine(), CanUnjam(), Fire(), InventoryReservation(), OnInputUserDataProcess(), OnSyncJuncture(), OnWeaponActionEnd(), PrepareInventoryLocationForMagazineSwap(), RefreshAnimationState(), StartPendingAction(), Update(), and WeaponManager().
|
protected |
Definition at line 36 of file WeaponManager.c.
Referenced by SetSutableMagazines(), and WeaponManager().
|
protected |
Definition at line 22 of file WeaponManager.c.
Referenced by OnSyncJuncture(), OnWeaponActionEnd(), StartAction(), Update(), and WeaponManager().
Definition at line 35 of file WeaponManager.c.
Referenced by GetNextPreparedMagazine(), GetPreparedMagazine(), OnMagazineInventoryExit(), SetSutableMagazines(), Update(), and WeaponManager().
|
protected |
Definition at line 11 of file WeaponManager.c.
Referenced by InventoryReservation(), OnSyncJuncture(), and OnWeaponActionEnd().
|
protected |
Definition at line 40 of file WeaponManager.c.
Referenced by Update(), and WeaponManager().
|
protected |
Definition at line 19 of file WeaponManager.c.
Referenced by LoadMultiBulletStop(), OnWeaponActionEnd(), StartPendingAction(), WantContinue(), and WeaponManager().
|
protected |
Definition at line 23 of file WeaponManager.c.
Referenced by CanEjectBulletVerified(), DelayedRefreshAnimationState(), EjectBulletVerified(), GetCurrentModeName(), InventoryReservation(), OnLiftWeapon(), RefreshAnimationState(), SetSutableMagazines(), StartPendingAction(), SwapMagazine(), Update(), and WeaponManager().
Definition at line 3 of file WeaponManager.c.
Referenced by WeaponStateBase::OnAbort(), OnAbort(), and WeaponStateBase::OnExit().