Navigation
API > API/Runtime > API/Runtime/BuildPatchServices > API/Runtime/BuildPatchServices/IBuildPatchServicesModule
Description
Takes two manifests as input, in order to merge together producing a new manifest containing all files. NOTE: THIS function is blocking and will not return until finished. Don't run on main thread.
| Name | MergeManifests |
| Type | function |
| Header File | /Engine/Source/Runtime/Online/BuildPatchServices/Public/Interfaces/IBuildPatchServicesModule.h |
| Include Path | #include "Interfaces/IBuildPatchServicesModule.h" |
bool MergeManifests
(
const FString & ManifestFilePathA,
const FString & ManifestFilePathB,
const FString & ManifestFilePathC,
const FString & NewVersionString,
const FString & SelectionDetailFilePath
)
true if successful.
Parameters
| Name | Remarks |
|---|---|
| ManifestFilePathA | A full file path for the base manifest to be loaded. |
| ManifestFilePathB | A full file path for the merge manifest to be loaded, by default files in B will stomp over A. |
| ManifestFilePathC | A full file path for the manifest to be output. |
| NewVersionString | The new version string for the build, all other meta will be copied from B. |
| SelectionDetailFilePath | Optional full file path to a text file listing each build relative file required, followed by A or B to select which manifest to pull from. The format should be \r separated lines of filename \t A|B. Example: File/in/build1 A File/in/build2 B |