UMockCharacterAbilityComponent::DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam

Ability State and Notifications -This allows user code/blueprints to respond to state changes.

Windows
MacOS
Linux

References

Module

NetworkPredictionExtras

Header

/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/MockCharacterAbilitySimulation.h

Include

#include "MockCharacterAbilitySimulation.h"

Syntax

* DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam
(
    FMockCharacterAbilityNotifyStateChange,
    bool,
    bNewStateValue
)

Remarks

Ability State and Notifications -This allows user code/blueprints to respond to state changes. -These values always reflect the latest simulation state -StateChange events are just that: when the state changes. They are not emitted from the sim themselves. -This means they "work" for interpolated simulations and are resilient to packet loss and crazy network conditions -That said, its "latest" only. There is NO guarantee that you will receive every state transition

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss