Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorBuildUtils
Description
Helper method to handle automated build behavior in the event of an error. Depending on the specified behavior, one of three results are possible: a) User is prompted on whether to proceed with the automated build or not, b) The error is regarded as a build-stopper and the method returns failure, or c) The error is acknowledged but not regarded as a build-stopper, and the method returns success. In any event, the error is logged for the user's information.
| Name | ProcessAutomatedBuildBehavior |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorBuildUtils.h |
| Include Path | #include "EditorBuildUtils.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorBuildUtils.cpp |
static bool ProcessAutomatedBuildBehavior
(
EAutomatedBuildBehavior InBehavior,
const FText & InErrorMsg,
FText & OutAccumulatedErrors
)
true if the build should proceed after processing the error behavior; false if it should not
Parameters
| Name | Remarks |
|---|---|
| InBehavior | Behavior to use to respond to the error |
| InErrorMsg | Error to log |
| OutAccumulatedErrors | List of errors accumulated from the build process so far; InErrorMsg will be added to the list |