NUM_BITS_FRAME

How many bits we use to encode the key frame number for buffers.

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

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

Include

#include "NetworkedSimulationModelRepControllers.h"

Syntax

enum
{
    NUM_BITS_FRAME = 8
}

Remarks

How many bits we use to encode the key frame number for buffers. Client Frames are stored locally as 32 bit integers, but we use a smaller # of bits to NetSerialize. Frames are only relatively relevant: the absolute value doesn't really matter. We just need to detect newer/older.

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