![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "CoreMinimal.h"#include "Misc/EnumClassFlags.h"#include "UObject/Field.h"#include "UObject/UnrealType.h"Go to the source code of this file.
Classes | |
| struct | FStructSerializerState |
| class | IStructSerializerBackend |
Enumerations | |
| enum class | EStructSerializerBackendFlags { None = 0 , WriteTextAsComplexString = 1<<0 , WriteByteArrayAsByteStream = 1<<1 , WriteCborStandardEndianness = 1 << 2 , WriteLWCTypesAsFloats = 1 << 3 , Legacy = None , LegacyUE4 = WriteTextAsComplexString | WriteByteArrayAsByteStream | WriteLWCTypesAsFloats , Default = WriteTextAsComplexString | WriteByteArrayAsByteStream } |
| enum class | EStructSerializerStateFlags { None = 0 , WritingContainerElement = 1 << 0 } |
Functions | |
| ENUM_CLASS_FLAGS (EStructSerializerBackendFlags) | |
| ENUM_CLASS_FLAGS (EStructSerializerStateFlags) | |
|
strong |
Flags controlling the behavior of struct serializer backends.
| Enumerator | |
|---|---|
| None | No special behavior. |
| WriteTextAsComplexString | Write text in its complex exported format (eg, NSLOCTEXT(...)) rather than as a simple string.
|
| WriteByteArrayAsByteStream | Write TArray<uint8>/TArray<int> as byte string if possible (CBOR), starting at 4.25. |
| WriteCborStandardEndianness | Force the CBOR backend to write CBOR data in big endian (CBOR compliant endianness), available from 4.25. Caller must be opt-in. By default, the CBOR backend uses the endianness of the platform. |
| WriteLWCTypesAsFloats | Support backward compatibility for LWC types by writing double properties as floats. |
| Legacy | Legacy settings for backwards compatibility with code compiled prior to 4.22. |
| LegacyUE4 | Legacy settings for backwards compatibility with code compiled for 4.25 up to UE5. |
| Default | Default settings for code compiled for 5.0 onwards. |
|
strong |
| ENUM_CLASS_FLAGS | ( | EStructSerializerBackendFlags | ) |
| ENUM_CLASS_FLAGS | ( | EStructSerializerStateFlags | ) |