![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "BuildPatchManifest.h"#include "HAL/FileManager.h"#include "Misc/FileHelper.h"#include "Misc/Paths.h"#include "Serialization/MemoryWriter.h"#include "Serialization/MemoryReader.h"#include "Policies/PrettyJsonPrintPolicy.h"#include "Policies/CondensedJsonPrintPolicy.h"#include "Serialization/JsonTypes.h"#include "Serialization/JsonReader.h"#include "Serialization/JsonSerializer.h"#include "Algo/Sort.h"#include "Algo/Accumulate.h"#include "Algo/Transform.h"#include "Core/BlockStructure.h"#include "Data/ChunkData.h"#include "Data/ManifestData.h"#include "BuildPatchUtil.h"Macros | |
| #define | LOCTEXT_NAMESPACE "BuildPatchManifest" |
Functions | |
| template<typename DataType > | |
| bool | FromStringBlob (const FString &StringBlob, DataType &ValueOut) |
| template<typename DataType > | |
| FString | ToStringBlob (const DataType &DataVal) |
| template<typename DataType > | |
| bool | FromHexString (const FString &HexString, DataType &ValueOut) |
| template<typename DataType > | |
| FString | ToHexString (const DataType &DataVal) |
| bool | BufferIsJsonManifest (const TArray< uint8 > &DataInput) |
| #define LOCTEXT_NAMESPACE "BuildPatchManifest" |
Helper functions to decide whether the passed in data is a JSON string we expect to deserialize a manifest from
| bool FromStringBlob | ( | const FString & | StringBlob, |
| DataType & | ValueOut | ||
| ) |
Helper functions that convert generic types to and from string blobs for use with JSON parsing. It's kind of horrible but guarantees no loss of data as the JSON reader/writer only supports float functionality which would result in data loss with high int32 values, and we'll be using uint64.
| FString ToHexString | ( | const DataType & | DataVal | ) |
| FString ToStringBlob | ( | const DataType & | DataVal | ) |