INetSerializeCB

An interface for handling serialization of Structs for networking.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/CoreNet.h

Include

#include "UObject/CoreNet.h"

Syntax

class INetSerializeCB

Remarks

An interface for handling serialization of Structs for networking.

See notes in NetSerialization.h

Constructors

Name Description

Public function

INetSerializeCB()

Destructors

Name Description

Public function Virtual

~INetSerializeCB()

Functions

Name Description

Public function

void

 

GatherGuidReferencesForFastArray

Gathers any guid references for a FastArraySerializer.

Public function

bool

 

MoveGuidToUnmappedForFastArray

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

Public function

bool

 

NetDeltaSerializeForFastArray

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

Public function

void

 

NetSerializeStruct

(
    FNetDeltaSerializeInfo& Params
)

Serializes an entire struct to / from the given archive.

Public function

void

 

UpdateUnmappedGuidsForFastArray

Updates any unmapped guid references for a FastArraySerializer.

Typedefs

Name

Description

FGuidReferencesMap

Deprecated Functions

Name Description

Public function Virtual

void

 

NetSerializeStruct

(
    UScriptStruct* Struct,
    FBitArchive& Ar,
    UPackageMap* Map,
    void* Data,
    bool& bHasUnmapped
)

Please use the version of NetSerializeStruct that accepts an FNetDeltaSerializeInfo reference

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