![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RepLayout.h>
Public Member Functions | |
| FRepSerializationSharedInfo () | |
| ~FRepSerializationSharedInfo () | |
| void | SetValid () |
| void | Init () |
| bool | IsValid () const |
| void | Reset () |
| const FRepSerializedPropertyInfo * | WriteSharedProperty (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< FRepSerializedPropertyInfo > | SharedPropertyInfo |
| TUniquePtr< FNetBitWriter > | SerializedProperties |
| UE::Net::FNetTokenExportContext::FNetTokenExports | NetTokensPendingExport |
Holds a set of shared net serialized properties
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| 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.
| Cmd | The command that represents the property we want to share. |
| PropertyKey | A unique key used to identify the property. |
| CmdIndex | Index of the property command. Only used if bDoChecksum is true. |
| Handle | Relative Handle of the property command. Only used if bWriteHandle is true. |
| Data | Pointer to the raw property memory that will be serialized. |
| bWriteHandle | Whether or not we should write Command handles into the serialized data. |
| bDoChecksum | Whether or not we should do checksums. Only used if ENABLE_PROPERTY_CHECKSUMS is enabled. |
| 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.
| TUniquePtr<FNetBitWriter> FRepSerializationSharedInfo::SerializedProperties |
Binary blob of net serialized data to be shared
| TArray<FRepSerializedPropertyInfo> FRepSerializationSharedInfo::SharedPropertyInfo |
Metadata for properties in the shared data blob.