TNetSimCueDispatcher

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.

Windows
MacOS
Linux

Inheritance Hierarchy

FNetSimCueDispatcher

TNetSimCueDispatcher

References

Module

NetworkPrediction

Header

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionCues.h

Include

#include "NetworkPredictionCues.h"

Syntax

template<typename ModelDef>
struct TNetSimCueDispatcher : public FNetSimCueDispatcher

Remarks

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.

Variables

Name Description

Public variable

DriverType *...

 

Driver

Functions

Name Description

Public function

void

 

DispatchCueRecord

(
    T& Handler,
    const int32 SimFrame,
    const int32 CurrentSimTime,
    const int32 FixedTimeStepMS
)

Dispatches and prunes saved/transient cues.

Public function

void

 

NetRecvSavedCues

(
    FArchive& Ar,
    const bool bSerializeFrameNumber,
    const int32 InLastRecvFrame,
    const int32 InLastRecvTime
)

Public function

void

 

NetSendSavedCues

(
    FArchive& Ar,
    ENetSimCueReplicationTarget Replica...,
    bool bSerializeFrameNumber
)

Serializes all saved cues bSerializeFrameNumber - whether to serialize Frame# or Time to this target.

Public function

void

 

NotifyRollback

(
    int32 InRollbackFrame
)

Tell dispatcher that we've rolled back to a new simulation time (resimulate steps to follow, most likely)

Public function

void

 

SetReceiveReplicationTarget

(
    ENetSimCueReplicationTarget InRepli...
)

Set which cues we should accept locally (if they get sent to us)

Overridden from FNetSimCueDispatcher

Name Description

Public function Virtual Const

FString

 

GetDebugName()

Typedefs

Name

Description

DriverType

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