Module |
|
Header |
/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionSerialization.h |
Include |
#include "NetworkPredictionSerialization.h" |
template<typename InModelDef>
class TCommonReplicator_SP
Server -> SP Client Like the AP case, the core payload is the same between fixed and independent: Input/Sync/Aux/Physics/Cues
There are actually 3 cases to consider here:
Fixed Tick: only sends server frame #
Independent Tick, remotely controlled: send total sim time, which comes from the server's TServerRecvData_Independent for the controlling client.
Independent Tick, locally controlled: send total sim time, which comes from the server's local VariableTickState.
Name | Description | ||
---|---|---|---|
|
NetRecv ( |
||
|
NetSend ( |
Name |
Description |
---|---|
ModelDef |