UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FNetSerializeCB Class Reference
+ Inheritance diagram for FNetSerializeCB:

Public Member Functions

 FNetSerializeCB ()
 
 FNetSerializeCB (UNetDriver *InNetDriver)
 
void SetChangelistMgr (TSharedPtr< FReplicationChangelistMgr > InChangelistMgr)
 
virtual void NetSerializeStruct (FNetDeltaSerializeInfo &Params) override final
 
virtual bool NetDeltaSerializeForFastArray (FFastArrayDeltaSerializeParams &Params) override final
 
virtual void GatherGuidReferencesForFastArray (FFastArrayDeltaSerializeParams &Params) override final
 
virtual bool MoveGuidToUnmappedForFastArray (FFastArrayDeltaSerializeParams &Params) override final
 
virtual void UpdateUnmappedGuidsForFastArray (FFastArrayDeltaSerializeParams &Params) override final
 
- Public Member Functions inherited from INetSerializeCB
 INetSerializeCB ()
 
virtual ~INetSerializeCB ()
 

Static Public Member Functions

static bool SendCustomDeltaProperty (const FRepLayout &RepLayout, FNetDeltaSerializeInfo &Params, uint16 CustomDeltaIndex)
 
static bool ReceiveCustomDeltaProperty (const FRepLayout &RepLayout, FReceivingRepState *ReceivingRepState, FNetDeltaSerializeInfo &Params, FStructProperty *ReplicatedProp)
 
static void PreSendCustomDeltaProperties (const FRepLayout &RepLayout, UObject *Object, UNetConnection *Connection, FReplicationChangelistMgr &ChangelistMgr, TArray< TSharedPtr< INetDeltaBaseState > > &CustomDeltaStates)
 
static void PostSendCustomDeltaProperties (const FRepLayout &RepLayout, UObject *Object, UNetConnection *Connection, FReplicationChangelistMgr &ChangelistMgr, TArray< TSharedPtr< INetDeltaBaseState > > &CustomDeltaStates)
 
static uint16 GetNumLifetimeCustomDeltaProperties (const FRepLayout &RepLayout)
 
static uint16 GetLifetimeCustomDeltaPropertyRepIndex (const FRepLayout &RepLayout, const uint16 CustomDeltaPropertyIndex)
 
static FPropertyGetLifetimeCustomDeltaProperty (const FRepLayout &RepLayout, const uint16 CustomDeltaPropertyIndex)
 
static ERepLayoutResult UpdateChangelistMgr (const FRepLayout &RepLayout, FSendingRepState *RESTRICT RepState, FReplicationChangelistMgr &InChangelistMgr, const UObject *InObject, const uint32 ReplicationFrame, const FReplicationFlags &RepFlags, const bool bForceCompare)
 
static const ELifetimeCondition GetLifetimeCustomDeltaPropertyCondition (const FRepLayout &RepLayout, const uint16 CustomDeltaPropertyIndex)
 

Additional Inherited Members

- Protected Types inherited from INetSerializeCB
using FGuidReferencesMap = TMap< int32, FGuidReferences >
 

Constructor & Destructor Documentation

◆ FNetSerializeCB() [1/2]

FNetSerializeCB::FNetSerializeCB ( )
inline

◆ FNetSerializeCB() [2/2]

FNetSerializeCB::FNetSerializeCB ( UNetDriver InNetDriver)
inline

Member Function Documentation

◆ GatherGuidReferencesForFastArray()

virtual void FNetSerializeCB::GatherGuidReferencesForFastArray ( FFastArrayDeltaSerializeParams Params)
inlinefinaloverridevirtual

Gathers any guid references for a FastArraySerializer.

See also
GuidReferences.h for more info.

Implements INetSerializeCB.

◆ GetLifetimeCustomDeltaProperty()

static FProperty * FNetSerializeCB::GetLifetimeCustomDeltaProperty ( const FRepLayout RepLayout,
const uint16  CustomDeltaPropertyIndex 
)
inlinestatic

◆ GetLifetimeCustomDeltaPropertyCondition()

static const ELifetimeCondition FNetSerializeCB::GetLifetimeCustomDeltaPropertyCondition ( const FRepLayout RepLayout,
const uint16  CustomDeltaPropertyIndex 
)
inlinestatic

◆ GetLifetimeCustomDeltaPropertyRepIndex()

static uint16 FNetSerializeCB::GetLifetimeCustomDeltaPropertyRepIndex ( const FRepLayout RepLayout,
const uint16  CustomDeltaPropertyIndex 
)
inlinestatic

◆ GetNumLifetimeCustomDeltaProperties()

static uint16 FNetSerializeCB::GetNumLifetimeCustomDeltaProperties ( const FRepLayout RepLayout)
inlinestatic

◆ MoveGuidToUnmappedForFastArray()

virtual bool FNetSerializeCB::MoveGuidToUnmappedForFastArray ( FFastArrayDeltaSerializeParams Params)
inlinefinaloverridevirtual

Moves a previously mapped guid to an unmapped state for a FastArraySerializer.

See also
GuidReferences.h for more info.
Returns
True if the guid was found and unmapped.

Implements INetSerializeCB.

◆ NetDeltaSerializeForFastArray()

virtual bool FNetSerializeCB::NetDeltaSerializeForFastArray ( FFastArrayDeltaSerializeParams Params)
inlinefinaloverridevirtual

Similar to NetSerializeStruct, except serializes an entire FastArraySerializer at once instead of element by element.

Implements INetSerializeCB.

◆ NetSerializeStruct()

virtual void FNetSerializeCB::NetSerializeStruct ( FNetDeltaSerializeInfo Params)
inlinefinaloverridevirtual

Serializes an entire struct to / from the given archive. It is up to callers to manage Guid References created during reads.

Parameters
ParamsNetDeltaSerialization Params to use. Object must be valid. Data must be valid. Connection must be valid. Map must be valid. Struct must point to the UScriptStruct of Data. Either Reader or Writer (but not both) must be valid. bOutHasMoreUnmapped will be used to return whether or not we have we have unmapped guids. Only used when reading.

Implements INetSerializeCB.

◆ PostSendCustomDeltaProperties()

static void FNetSerializeCB::PostSendCustomDeltaProperties ( const FRepLayout RepLayout,
UObject Object,
UNetConnection Connection,
FReplicationChangelistMgr ChangelistMgr,
TArray< TSharedPtr< INetDeltaBaseState > > &  CustomDeltaStates 
)
inlinestatic

◆ PreSendCustomDeltaProperties()

static void FNetSerializeCB::PreSendCustomDeltaProperties ( const FRepLayout RepLayout,
UObject Object,
UNetConnection Connection,
FReplicationChangelistMgr ChangelistMgr,
TArray< TSharedPtr< INetDeltaBaseState > > &  CustomDeltaStates 
)
inlinestatic

◆ ReceiveCustomDeltaProperty()

static bool FNetSerializeCB::ReceiveCustomDeltaProperty ( const FRepLayout RepLayout,
FReceivingRepState ReceivingRepState,
FNetDeltaSerializeInfo Params,
FStructProperty ReplicatedProp 
)
inlinestatic

◆ SendCustomDeltaProperty()

static bool FNetSerializeCB::SendCustomDeltaProperty ( const FRepLayout RepLayout,
FNetDeltaSerializeInfo Params,
uint16  CustomDeltaIndex 
)
inlinestatic

◆ SetChangelistMgr()

void FNetSerializeCB::SetChangelistMgr ( TSharedPtr< FReplicationChangelistMgr InChangelistMgr)
inline

◆ UpdateChangelistMgr()

static ERepLayoutResult FNetSerializeCB::UpdateChangelistMgr ( const FRepLayout RepLayout,
FSendingRepState *RESTRICT  RepState,
FReplicationChangelistMgr InChangelistMgr,
const UObject InObject,
const uint32  ReplicationFrame,
const FReplicationFlags RepFlags,
const bool  bForceCompare 
)
inlinestatic

◆ UpdateUnmappedGuidsForFastArray()

virtual void FNetSerializeCB::UpdateUnmappedGuidsForFastArray ( FFastArrayDeltaSerializeParams Params)
inlinefinaloverridevirtual

Updates any unmapped guid references for a FastArraySerializer.

See also
GuidReferences.h for more info.

Implements INetSerializeCB.


The documentation for this class was generated from the following file: