TCommonReplicator_AP

Server -> AP Client

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

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

Include

#include "NetworkPredictionSerialization.h"

Syntax

template<typename ModelDef>
class TCommonReplicator_AP

Remarks

Server -> AP Client

The Fixed/Independent ticking cases differ a bit but still share the same the core payload: Sync/Aux/Physics/Cues. Fixed tick sends last consumed client input frame # ANd the server frame in order to correlate client/server frame numbers. Independent tick sends last consumed client input frame # + TotalSimTime in order to detect dropped frames.

Where this data comes from differs between Fixed/Independent.

Functions

Name Description

Public function Static

void

 

NetRecv

(
    const FNetSerializeParams& P,
    TInstanceData< ModelDef >& Instanc...,
    TClientRecvData< ModelDef >& Clien...
)

Public function Static

void

 

NetSend

(
    const FNetSerializeParams& P,
    TInstanceData< ModelDef >& Instanc...,
    typename TInstanceFrameState< Model...
)

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