UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FRepStateStaticBuffer Struct Reference

#include <RepLayout.h>

+ Inheritance diagram for FRepStateStaticBuffer:

Public Member Functions

 FRepStateStaticBuffer (FRepStateStaticBuffer &&InStaticBuffer)
 
 ~FRepStateStaticBuffer ()
 
uint8GetData ()
 
const uint8GetData () const
 
int32 Num () const
 
void CountBytes (FArchive &Ar) const
 
void Empty ()
 

Friends

class FRepLayout
 

Additional Inherited Members

- Protected Member Functions inherited from FNoncopyable
 FNoncopyable ()
 
 ~FNoncopyable ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FRepStateStaticBuffer()

FRepStateStaticBuffer::FRepStateStaticBuffer ( FRepStateStaticBuffer &&  InStaticBuffer)
inline

◆ ~FRepStateStaticBuffer()

FRepStateStaticBuffer::~FRepStateStaticBuffer ( )

Member Function Documentation

◆ CountBytes()

void FRepStateStaticBuffer::CountBytes ( FArchive Ar) const

◆ Empty()

void FRepStateStaticBuffer::Empty ( )
inline

◆ GetData() [1/2]

uint8 * FRepStateStaticBuffer::GetData ( )
inline

◆ GetData() [2/2]

const uint8 * FRepStateStaticBuffer::GetData ( ) const
inline

◆ Num()

int32 FRepStateStaticBuffer::Num ( ) const
inline

Friends And Related Symbol Documentation

◆ FRepLayout

friend class FRepLayout
friend

The documentation for this struct was generated from the following files: