|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Polyglot data that may be registered to the text localization manager at runtime. @note This struct is mirrored in PolyglotTextData.h. More...
Public Member Functions | |
Functions | |
| FPolyglotTextData & | opAssign (FPolyglotTextData Other) |
Public Attributes | |
PolyglotData | |
| FString | NativeCulture |
| The native culture of this polyglot data. @note This may be empty, and if empty, will be inferred from the native culture of the text category. | |
| FString | Namespace |
| The namespace of the text created from this polyglot data. @note This may be empty. | |
| FString | Key |
| The key of the text created from this polyglot data. @note This must not be empty. | |
| FString | NativeString |
| The native string for this polyglot data. @note This must not be empty (it should be the same as the originally authored text you are trying to replace). | |
| TMap< FString, FString > | LocalizedStrings |
| Mapping between a culture code and its localized string. @note The native culture may also have a translation in this map. | |
| bool | bIsMinimalPatch |
| True if this polyglot data is a minimal patch, and that missing translations should be ignored (falling back to any LocRes data) rather than falling back to the native string. | |
| ELocalizedTextSourceCategory | Category |
| The category of this polyglot data. @note This affects when and how the data is loaded into the text localization manager. | |
Polyglot data that may be registered to the text localization manager at runtime. @note This struct is mirrored in PolyglotTextData.h.
| FPolyglotTextData & opAssign | ( | FPolyglotTextData | Other | ) |
| bool bIsMinimalPatch |
True if this polyglot data is a minimal patch, and that missing translations should be ignored (falling back to any LocRes data) rather than falling back to the native string.
| ELocalizedTextSourceCategory Category |
The category of this polyglot data. @note This affects when and how the data is loaded into the text localization manager.
| FString Key |
The key of the text created from this polyglot data. @note This must not be empty.
Mapping between a culture code and its localized string. @note The native culture may also have a translation in this map.
| FString Namespace |
The namespace of the text created from this polyglot data. @note This may be empty.
| FString NativeCulture |
The native culture of this polyglot data. @note This may be empty, and if empty, will be inferred from the native culture of the text category.
| FString NativeString |
The native string for this polyglot data. @note This must not be empty (it should be the same as the originally authored text you are trying to replace).