FRepStateStaticBuffer

Holds deep copies of replicated property data for objects.

Windows
MacOS
Linux

Inheritance Hierarchy

FNoncopyable

FRepStateStaticBuffer

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Net/RepLayout.h

Include

#include "Net/RepLayout.h"

Syntax

struct FRepStateStaticBuffer : public FNoncopyable

Remarks

Holds deep copies of replicated property data for objects. The term "shadow data" is often used in code to refer to memory stored in one of these buffers. Note, dynamic memory allocated by the properties (such as Arrays or Maps) will still be dynamically allocated elsewhere, and the buffer will hold pointers to the dynamic memory (or containers, etc.)

When necessary, use FRepShadowDataBuffer or FConstRepShadowDataBuffer to wrap this object's data. Never use FRepObjectDataBuffer or FConstRepObjectDataBuffer as the shadow memory layout is not guaranteed to match an object's layout.

Constructors

Name Description

Public function

FRepStateStaticBuffer

(
    FRepStateStaticBuffer&& InStaticBu...
)

Destructors

Name Description

Public function

~FRepStateStaticBuffer()

Functions

Name Description

Public function Const

void

 

CountBytes

(
    FArchive& Ar
)

Public function

uint8 *

 

GetData()

Public function Const

const uint8 ...

 

GetData()

Public function Const

int32

 

Num()

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