engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FRepSerializationSharedInfo结构体 参考

Holds a set of shared net serialized properties 更多...

#include <RepLayout.h>

Public 成员函数

const FRepSerializedPropertyInfo * WriteSharedProperty (const FRepLayoutCmd &Cmd, const FGuid &PropertyGuid, 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. 更多...
 

Public 属性

TUniquePtr< FNetBitWriter > SerializedProperties
 Binary blob of net serialized data to be shared
 
TArray< FRepSerializedPropertyInfo > SharedPropertyInfo
 Metadata for properties in the shared data blob.
 

详细描述

Holds a set of shared net serialized properties

成员函数说明

◆ WriteSharedProperty()

const FRepSerializedPropertyInfo * FRepSerializationSharedInfo::WriteSharedProperty ( const FRepLayoutCmd &  Cmd,
const FGuid &  PropertyGuid,
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.

参数
CmdThe command that represents the property we want to share.
PropertyGuidA guid 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.

该结构体的文档由以下文件生成: