UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ManifestBuilder.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "CoreMinimal.h"
5#include "Misc/Variant.h"
8#include "Core/FileSpan.h"
10
11namespace BuildPatchServices
12{
14 {
15 public:
16 // The feature level support the manifest should be serialised as.
17 EFeatureLevel FeatureLevel;
18 // The ID of the app of this build
20 // The name of the app of this build
21 FString AppName;
22 // The version string for this build
23 FString BuildVersion;
24 // The local exe path that would launch this build
25 FString LaunchExe;
26 // The command line that would launch this build
28 // The set of identifiers which the prerequisites satisfy
30 // The display name of the prerequisites installer
31 FString PrereqName;
32 // The path to the prerequisites installer
33 FString PrereqPath;
34 // The command line arguments for the prerequisites installer
35 FString PrereqArgs;
36 // Map of custom fields to add to the manifest
38 // Map of file attributes
40 };
41
43 {
44 public:
49
50 public:
51 // Whether or not we should allow build manifests with no data.
53 };
54
56 {
57 public:
58 virtual ~IManifestBuilder() {}
59 virtual void AddChunkMatch(const FGuid& ChunkGuid, const FBlockStructure& Structure) = 0;
60 virtual bool FinalizeData(const TArray<FFileSpan>& FileSpans, TArray<FChunkInfo> ChunkInfo) = 0;
61 virtual bool SaveToFile(const FString& Filename) = 0;
62 };
63
66
68 {
69 public:
70 static IManifestBuilderRef Create(IFileSystem* FileSystem, const FManifestBuilderConfig& Config, const FManifestDetails& Details);
71 };
72}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition BlockStructure.h:37
Definition ManifestBuilder.h:68
Definition FileSystem.h:51
Definition ManifestBuilder.h:56
virtual void AddChunkMatch(const FGuid &ChunkGuid, const FBlockStructure &Structure)=0
virtual bool FinalizeData(const TArray< FFileSpan > &FileSpans, TArray< FChunkInfo > ChunkInfo)=0
virtual ~IManifestBuilder()
Definition ManifestBuilder.h:58
virtual bool SaveToFile(const FString &Filename)=0
TSharedRef< IManifestBuilder > IManifestBuilderRef
Definition ManifestBuilder.h:64
TSharedPtr< IManifestBuilder > IManifestBuilderPtr
Definition ManifestBuilder.h:65
Definition Array.h:670
Definition UnrealString.h.inl:34
Definition SharedPointer.h:692
Definition SharedPointer.h:153
Definition BuildPatchFileConstructor.h:28
Definition ManifestBuilder.h:43
FManifestBuilderConfig()
Definition ManifestBuilder.cpp:14
bool bAllowEmptyBuilds
Definition ManifestBuilder.h:52
Definition ManifestBuilder.h:14
EFeatureLevel FeatureLevel
Definition ManifestBuilder.h:17
FString LaunchCommand
Definition ManifestBuilder.h:27
FString PrereqArgs
Definition ManifestBuilder.h:35
FString PrereqName
Definition ManifestBuilder.h:31
FString BuildVersion
Definition ManifestBuilder.h:23
FString PrereqPath
Definition ManifestBuilder.h:33
TMap< FString, FVariant > CustomFields
Definition ManifestBuilder.h:37
FString AppName
Definition ManifestBuilder.h:21
uint32 AppId
Definition ManifestBuilder.h:19
TMap< FString, FFileAttributes > FileAttributesMap
Definition ManifestBuilder.h:39
FString LaunchExe
Definition ManifestBuilder.h:25
TSet< FString > PrereqIds
Definition ManifestBuilder.h:29
Definition Guid.h:109