FNetworkSimulationSerialization

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

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

Include

#include "NetworkedSimulationModelRepControllers.h"

Syntax

struct FNetworkSimulationSerialization

Functions

Name Description

Public function Static

int32

 

SerializeFrame

(
    FArchive& Ar,
    int32 LocalHeadFrame
)

Helper to serialize the int32 HeadFrame. Returns the unpacked value (this will be same as input in the save path)

Constants

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 encode the key frame number for buffers.

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