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

#include <RepLayout.h>

Public Member Functions

 FRepSerializationSharedInfo ()
 
 ~FRepSerializationSharedInfo ()
 
void SetValid ()
 
void Init ()
 
bool IsValid () const
 
void Reset ()
 
const FRepSerializedPropertyInfoWriteSharedProperty (const FRepLayoutCmd &Cmd, const FRepSharedPropertyKey &PropertyKey, const int32 CmdIndex, const uint16 Handle, const FConstRepObjectDataBuffer Data, const bool bWriteHandle, const bool bDoChecksum)
 
void CountBytes (FArchive &Ar) const
 

Public Attributes

TArray< FRepSerializedPropertyInfoSharedPropertyInfo
 
TUniquePtr< FNetBitWriterSerializedProperties
 
UE::Net::FNetTokenExportContext::FNetTokenExports NetTokensPendingExport
 

Detailed Description

Holds a set of shared net serialized properties

Constructor & Destructor Documentation

◆ FRepSerializationSharedInfo()

FRepSerializationSharedInfo::FRepSerializationSharedInfo ( )
inline

◆ ~FRepSerializationSharedInfo()

FRepSerializationSharedInfo::~FRepSerializationSharedInfo ( )
inline

Member Function Documentation

◆ CountBytes()

void FRepSerializationSharedInfo::CountBytes ( FArchive Ar) const

◆ Init()

void FRepSerializationSharedInfo::Init ( )
inline

◆ IsValid()

bool FRepSerializationSharedInfo::IsValid ( ) const
inline

◆ Reset()

void FRepSerializationSharedInfo::Reset ( )
inline

◆ SetValid()

void FRepSerializationSharedInfo::SetValid ( )
inline

◆ WriteSharedProperty()

const FRepSerializedPropertyInfo * FRepSerializationSharedInfo::WriteSharedProperty ( const FRepLayoutCmd Cmd,
const FRepSharedPropertyKey PropertyKey,
const int32  CmdIndex,
const uint16  Handle,
const FConstRepObjectDataBuffer  Data,
const bool  bWriteHandle,
const bool  bDoChecksum 
)

Creates a new SharedPropertyInfo and adds it to the SharedPropertyInfo list.

Parameters
CmdThe command that represents the property we want to share.
PropertyKeyA unique key used to identify the property.
CmdIndexIndex of the property command. Only used if bDoChecksum is true.
HandleRelative Handle of the property command. Only used if bWriteHandle is true.
DataPointer to the raw property memory that will be serialized.
bWriteHandleWhether or not we should write Command handles into the serialized data.
bDoChecksumWhether or not we should do checksums. Only used if ENABLE_PROPERTY_CHECKSUMS is enabled.

Member Data Documentation

◆ NetTokensPendingExport

UE::Net::FNetTokenExportContext::FNetTokenExports FRepSerializationSharedInfo::NetTokensPendingExport

NetTokenExports for this RepLayout, will need to index to avoid adding exports that we do not want to use.

◆ SerializedProperties

TUniquePtr<FNetBitWriter> FRepSerializationSharedInfo::SerializedProperties

Binary blob of net serialized data to be shared

◆ SharedPropertyInfo

TArray<FRepSerializedPropertyInfo> FRepSerializationSharedInfo::SharedPropertyInfo

Metadata for properties in the shared data blob.


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