ReloadEvents class
ReloadEvents
Inheritance
Base: WeaponEventsTransition
Derived
None.
Properties
| Property | Type | |
|---|---|---|
statListener | DefaultTransitionStatListener? | scripted |
randomSync | AnimFeature_SelectRandomAnimSync? | scripted |
animReloadData | AnimFeature_WeaponReload? | scripted |
animReloadSpeed | AnimFeature_WeaponReloadSpeedData? | scripted |
weaponRecord | game.data.WeaponItem_Record? | scripted |
animReloadDataDirty | bool | scripted |
animReloadSpeedDirty | bool | scripted |
uninteruptibleSet | bool | scripted |
weaponHasAutoLoader | bool | scripted |
canReloadWhileSprinting | bool | scripted |
lastReloadWasEmpty | bool | scripted |
isCoolPerkReload | bool | scripted |
Functions
void OnAttach(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)overrideRTTIvoid OnDetach(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIvoid OnStatChanged(game.StatsObjectID ownerID, game.data.StatType statType, float diff, float value)overrideRTTIfloat GetReloadAnimSpeed(game.data.StatType statType, game.data.WeaponItem_Record weaponRecord)RTTIvoid ActivateReloadAnimData(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIvoid DeactivateReloadAnimData(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIvoid RefreshReloadPermanentFloats(game.stateMachine.StateContextScript stateContext)RTTIbool IsCoolFirearmWeaponType(game.data.ItemType weaponType)RTTIvoid OnEnter(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIvoid OnUpdate(float timeDelta, game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIvoid OnExitToReload(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIvoid OnExitCleanup(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIvoid OnExit(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIvoid OnForcedExit(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)overrideRTTI