Navigation
Unreal Engine C++ API Reference > Developer > SharedSettingsWidgets
References
Module | SharedSettingsWidgets |
Header | /Engine/Source/Developer/SharedSettingsWidgets/Public/ManifestUpdateHelper.h |
Include | #include "ManifestUpdateHelper.h" |
Syntax
class FManifestUpdateHelper
Remarks
This is a utility class used to update individual sections of an XML manifest or .plist in raw string form. It is formatting sensitive and will fail if things are formatted in an unexpected manner. This is a stopgap measure, and will be replaced using a proper XML parser when it is ready for use.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FManifestUpdateHelper
(
const FString& InFilename |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
bool | Finalize
(
const FString& TargetFilename, |
Finalizes the updater, and writes it back to the file, returning true if successful, and false if there were any errors. |
![]() ![]() |
FText | Returns the first error message. | |
![]() |
bool | Checks if a key exists matching MatchPrefix. | |
![]() |
void | ReplaceKey
(
const FString& MatchPrefix, |
Replace a key in the manifest (between MatchPrefix and MatchSuffix) with NewInfix. |
![]() ![]() |
bool | ReplaceStringPortion
(
FString& InOutString, |
Replaces the text in InOutString between MatchPrefix and MatchSuffix with NewInfix, returning true if it was found. |