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