Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
| Name | FNetworkPredictionSerialization |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionSerialization.h |
| Include Path | #include "NetworkPredictionSerialization.h" |
Syntax
struct FNetworkPredictionSerialization
Enums
Public
| Name | Remarks |
|---|---|
| FNetworkPredictionSerialization | How many bits we use to NetSerialize Frame numbers. |
| FNetworkPredictionSerialization | Abs max value we encode into the bit writer. |
| FNetworkPredictionSerialization | This is the threshold at which we would wrap around and incorrectly assign a frame on the receiving side. |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 ReadCompressedFrame
(
FArchive& Ar, |
Disabled right now: this is causing issues with JIP. | NetworkPredictionSerialization.h | |
static void SerializeDeltaMS
(
FArchive& Ar, |
For serializing DeltaMS, expected to be small (< 1000) | NetworkPredictionSerialization.h | |
static int32 SerializeFrame
(
FArchive& Ar, |
Helper to serialize an int32 frame as 8 bits. Returns the unpacked value (this will be same as input in the save path) | NetworkPredictionSerialization.h | |
static void SerializeTimeMS
(
FArchive& Ar, |
For serializing timestamps. | NetworkPredictionSerialization.h | |
static void WriteCompressedFrame
(
FArchive& Ar, |
Disabled right now: this is causing issues with JIP. | NetworkPredictionSerialization.h |