Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/MockCharacterAbilitySimulation.h |
Include |
#include "MockCharacterAbilitySimulation.h" |
* DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam
(
FMockCharacterAbilityNotifyStateChange,
bool,
bNewStateValue
)
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