REDNODE / GAME API

WeaponEventsTransition

abstract classscriptedClass

extends WeaponTransition › DefaultTransition › StateFunctor › IScriptable › ISerializable

Extended by 17 types

BurstEvents ChargeEventsAbstract CycleRoundEvents CycleTriggerModeEvents DischargeEvents FullAutoEvents NoAmmoEvents NotReadyEvents OverheatEvents PublicSafeEvents PublicSafeToReadyEvents QuickMeleeEvents ReadyEvents ReloadEvents SafeEvents SemiAutoEvents ShootEvents

Properties 2

NameTypeFlags
scriptInterfaceref<StateGameScriptInterface>scriptedprotected
statusEffectListenerref<DefaultTransitionStatusEffectListener>scriptedprivate

Methods 8

protected func OnAttach(stateContext: ref<StateContext>, scriptInterface: ref<StateGameScriptInterface>)scripted
protected final func OnEnterNonChargeState(weapon: ref<WeaponObject>, stateContext: ref<StateContext>, scriptInterface: ref<StateGameScriptInterface>)scripted
public func OnForcedExit(stateContext: ref<StateContext>, scriptInterface: ref<StateGameScriptInterface>)scripted
public func OnStatusEffectApplied(statusEffect: wref<StatusEffect_Record>)scripted
public func OnStatusEffectRemoved(statusEffect: wref<StatusEffect_Record>)scripted
protected final func RemoveTriggerEffectCycleTrigger(scriptInterface: ref<StateGameScriptInterface>)scripted
protected final func SetTriggerEffectCycleTrigger(scriptInterface: ref<StateGameScriptInterface>)scripted
protected final func WeaponTransistionRemoveWeaponTriggerEffects(audioSystem: ref<AudioSystem>)scripted