engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
INetSerializeCB类 参考abstract

An interface for handling serialization of Structs for networking. 更多...

#include <CoreNet.h>

Public 成员函数

virtual void GatherGuidReferencesForFastArray (struct FFastArrayDeltaSerializeParams &Params)=0
 Gathers any guid references for a FastArraySerializer. 更多...
 
virtual bool MoveGuidToUnmappedForFastArray (struct FFastArrayDeltaSerializeParams &Params)=0
 Moves a previously mapped guid to an unmapped state for a FastArraySerializer. 更多...
 
virtual bool NetDeltaSerializeForFastArray (struct FFastArrayDeltaSerializeParams &Params)=0
 Similar to NetSerializeStruct, except serializes an entire FastArraySerializer at once instead of element by element.
 
virtual void NetSerializeStruct (FNetDeltaSerializeInfo &Params)=0
 Serializes an entire struct to / from the given archive. 更多...
 
virtual void UpdateUnmappedGuidsForFastArray (struct FFastArrayDeltaSerializeParams &Params)=0
 Updates any unmapped guid references for a FastArraySerializer. 更多...
 

详细描述

An interface for handling serialization of Structs for networking.

See notes in NetSerialization.h

成员函数说明

◆ GatherGuidReferencesForFastArray()

virtual void INetSerializeCB::GatherGuidReferencesForFastArray ( struct FFastArrayDeltaSerializeParams &  Params)
pure virtual

Gathers any guid references for a FastArraySerializer.

参见
GuidReferences.h for more info.

◆ MoveGuidToUnmappedForFastArray()

virtual bool INetSerializeCB::MoveGuidToUnmappedForFastArray ( struct FFastArrayDeltaSerializeParams &  Params)
pure virtual

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

参见
GuidReferences.h for more info.
返回
True if the guid was found and unmapped.

◆ NetSerializeStruct()

virtual void INetSerializeCB::NetSerializeStruct ( FNetDeltaSerializeInfo &  Params)
pure virtual

Serializes an entire struct to / from the given archive.

It is up to callers to manage Guid References created during reads.

参数
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.

◆ UpdateUnmappedGuidsForFastArray()

virtual void INetSerializeCB::UpdateUnmappedGuidsForFastArray ( struct FFastArrayDeltaSerializeParams &  Params)
pure virtual

Updates any unmapped guid references for a FastArraySerializer.

参见
GuidReferences.h for more info.

该类的文档由以下文件生成: