Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
References
| Module | NetworkPrediction |
| Header | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionSerialization.h |
| Include | #include "NetworkPredictionSerialization.h" |
Syntax
template<typename InModelDef>
class TCommonReplicator_SP
Remarks
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.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | NetRecv
(
const FNetSerializeParams& P, |
||
| void | NetSend
(
const FNetSerializeParams& P, |
Typedefs
| Name | Description |
|---|---|
| ModelDef |