Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
Templated cue dispatcher that can be specialized per networking model definition. This is what the system actually uses internally, but is not exposed to user code.
| Name | TNetSimCueDispatcher |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionCues.h |
| Include Path | #include "NetworkPredictionCues.h" |
Syntax
template<typename ModelDef>
struct TNetSimCueDispatcher : public FNetSimCueDispatcher
Inheritance Hierarchy
- FNetSimCueDispatcher → TNetSimCueDispatcher
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DriverType | typename ModelDef::Driver | NetworkPredictionCues.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Driver | DriverType * | NetworkPredictionCues.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LastRecvFrame | int32 | NetworkPredictionCues.h | ||
| LastRecvMS | int32 | NetworkPredictionCues.h | ||
| RecvReplicationMask | ENetSimCueReplicationTarget | NetworkPredictionCues.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DispatchCueRecord
(
T& Handler, |
Dispatches and prunes saved/transient cues. | NetworkPredictionCues.h | |
void NetRecvSavedCues
(
FArchive& Ar, |
NetworkPredictionCues.h | ||
void NetSendSavedCues
(
FArchive& Ar, |
Serializes all saved cues bSerializeFrameNumber - whether to serialize Frame# or Time to this target. | NetworkPredictionCues.h | |
void NotifyRollback
(
int32 InRollbackFrame |
Tell dispatcher that we've rolled back to a new simulation time (resimulate steps to follow, most likely) | NetworkPredictionCues.h | |
void SetReceiveReplicationTarget
(
ENetSimCueReplicationTarget InReplicationMask |
Set which cues we should accept locally (if they get sent to us) | NetworkPredictionCues.h |
Overridden from FNetSimCueDispatcher
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetDebugName() |
NetworkPredictionCues.h |