Module |
|
Header |
/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionCues.h |
Include |
#include "NetworkPredictionCues.h" |
template<typename T, typename... ArgsType>
void Invoke
(
ArgsType &&... Args
)
Invoke - this is how to invoke a cue from simulation code. This will construct the CueType T emplace in the saved cue record.
Best way to call: Invoke
This works too, but will cause a move (if possible) or copy FMyCue MyCue(a,b,c); Invoke