Navigation
API > API/Editor > API/Editor/UnrealEd
The GatherText commandlet runs its steps over multiple sequential phases that may contain separate sets of sequential or parallel steps. This enum defines which phases are available, and allows the sub-commandlets to define which phase they need to run in. The phases run in the below order, up-to NumPhases. Sequential steps run before parallel steps within the same phase.
| Name | EGatherTextCommandletPhase |
| Type | enum |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Commandlets/GatherTextCommandletBase.h |
| Include Path | #include "Commandlets/GatherTextCommandletBase.h" |
Syntax
enum EGatherTextCommandletPhase
{
PreInitialize = 0,
Initialize,
PostInitialize,
PreUpdateManifests,
UpdateManifests,
PostUpdateManifests,
PreUpdateArchives,
UpdateArchives,
PostUpdateArchives,
PreImport,
Import,
PostImport,
PreExport,
Export,
PostExport,
PreCompile,
Compile,
PostCompile,
PreFinalize,
Finalize,
PostFinalize,
NumPhases,
Undefined,
FirstPhase = PreInitialize,
}
Values
| Name | Remarks |
|---|---|
| PreInitialize | Runs before the Initialize phase starts |
| Initialize | The main Initialize phase (eg, to perform initialization needed by the other phases) |
| PostInitialize | Runs after the Initialize phase ends |
| PreUpdateManifests | Runs before the UpdateManifests phase starts |
| UpdateManifests | The main UpdateManifests phase, where text is harvested and added to GatherManifestHelper, and the manifest files are updated on-disk |
| PostUpdateManifests | Runs after the UpdateManifests phase ends |
| PreUpdateArchives | Runs before the UpdateArchives phase starts |
| UpdateArchives | The main UpdateArchives phase, where the archive files are updated on-disk from the current manifest state |
| PostUpdateArchives | Runs after the UpdateArchives phase ends |
| PreImport | Runs before the Import phase starts |
| Import | The main Import phase, where the archive files are updated on-disk from external file data (eg, PO files) |
| PostImport | Runs after the Import phase ends |
| PreExport | Runs before the Export phase starts |
| Export | The main Export phase, where external file data (eg, PO files), are updated from the archives |
| PostExport | Runs after the Export phase ends |
| PreCompile | Runs before the Compile phase starts |
| Compile | The main Compile phase, where runtime files (eg, LocRes files), are updated from the archives |
| PostCompile | Runs after the Compile phase ends |
| PreFinalize | Runs before the Finalize phase starts |
| Finalize | The main Finalize phase (eg, to perform clean-up or reporting of work done by the other phases) |
| PostFinalize | Runs after the Finalize phase ends |
| NumPhases | Internal; do not use |
| Undefined | No specific phase has been specified, and this will be scheduled in whichever phase we are currently building. |
| FirstPhase | Internal; do not use |