Navigation
API > API/Editor > API/Editor/UnrealEd
UGatherTextFromAssetsCommandlet: Localization commandlet that collects all text to be localized from the game assets.
| Name | UGatherTextFromAssetsCommandlet |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Commandlets/GatherTextFromAssetsCommandlet.h |
| Include Path | #include "Commandlets/GatherTextFromAssetsCommandlet.h" |
Syntax
UCLASS ()
class UGatherTextFromAssetsCommandlet : public UGatherTextCommandletBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UCommandlet → UGatherTextCommandletBase → UGatherTextFromAssetsCommandlet
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UGatherTextFromAssetsCommandlet
(
const FObjectInitializer& ObjectInitializer |
Commandlets/GatherTextFromAssetsCommandlet.h |
Structs
| Name | Remarks |
|---|---|
| FPackagePendingGather | Struct containing the data needed by a pending package that we will gather text from |
Enums
Public
| Name | Remarks |
|---|---|
| EPackageLocCacheState | Localization cache states of a package |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| UsageText | const FString | Commandlets/GatherTextFromAssetsCommandlet.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFixMissingGatherCache | bool | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| bFixPackageLocalizationIdConflict | bool | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| bFixStaleGatherCache | bool | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| bReportStaleGatherCache | bool | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| bSearchAllAssets | bool | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| bShouldExcludeDerivedClasses | bool | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| bShouldGatherFromEditorOnlyData | bool | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| bSkipGatherCache | bool | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| CollectionFilters | TArray< FString > | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| DestinationPath | FString | Path to the directory where output reports etc will be saved. | Commandlets/GatherTextFromAssetsCommandlet.h | |
| ExcludeClassNames | TArray< FString > | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| ExcludePathFilters | TArray< FString > | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| IncludePathFilters | TArray< FString > | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| ManifestDependenciesList | TArray< FString > | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| MaxUsedMemoryBytes | uint64 | Run a GC if the used process memory is greater than this value (or zero to disable) | Commandlets/GatherTextFromAssetsCommandlet.h | |
| MinFreeMemoryBytes | uint64 | Run a GC if the free system memory is less than this value (or zero to disable) | Commandlets/GatherTextFromAssetsCommandlet.h | |
| ModulesToPreload | TArray< FString > | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| NumPackagesDupLocId | uint64 | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| ObjectsToKeepAlive | TSet< TObjectPtr< UObject > > | Array of objects that should be kept alive during the next call to CollectGarbage (used by PurgeGarbage and AddReferencedObjects) | Commandlets/GatherTextFromAssetsCommandlet.h | |
| PackageFileNameFilters | TArray< FString > | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| PackagesPendingGather | TArray< FPackagePendingGather > | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| PackagesWithDuplicateLocalizationIds | TSet< FName > | Commandlets/GatherTextFromAssetsCommandlet.h | ||
| WorldCollectionFilters | TArray< FString > | Commandlets/GatherTextFromAssetsCommandlet.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CalculateDependenciesForPackagesPendingGather() |
Commandlets/GatherTextFromAssetsCommandlet.h | ||
bool ConfigureFromScript
(
const FString& GatherTextConfigPath, |
Commandlets/GatherTextFromAssetsCommandlet.h | ||
bool GetConfigurationScript
(
const TMap< FString, FString >& InCommandLineParameters, |
Commandlets/GatherTextFromAssetsCommandlet.h | ||
bool HasExceededMemoryLimit
(
const bool bLog |
Commandlets/GatherTextFromAssetsCommandlet.h | ||
void ProcessGatherableTextDataArray
(
const TArray< FGatherableTextData >& GatherableTextDataArray |
Commandlets/GatherTextFromAssetsCommandlet.h | ||
void PurgeGarbage
(
const bool bPurgeReferencedPackages |
Commandlets/GatherTextFromAssetsCommandlet.h |
Overridden from UGatherTextCommandletBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool ShouldRunInPreview
(
const TArray< FString >& Switches, |
Returns true if this commandlet should run during a preview run. | Commandlets/GatherTextFromAssetsCommandlet.h |
Overridden from UCommandlet
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 Main
(
const FString& Params |
Commandlets/GatherTextFromAssetsCommandlet.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddReferencedObjects
(
UObject* InThis, |
Commandlets/GatherTextFromAssetsCommandlet.h |