![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <LocalizationResourceTextSource.h>
Inheritance diagram for FLocalizationResourceTextSource:Static Public Member Functions | |
| static TArray< FString > | GetChunkedLocalizationTargets () |
Static Public Member Functions inherited from ILocalizedTextSource | |
| static UE_FORCEINLINE_HINT bool | ShouldLoadNative (const ELocalizationLoadFlags InLoadFlags) |
| static UE_FORCEINLINE_HINT bool | ShouldLoadEditor (const ELocalizationLoadFlags InLoadFlags) |
| static UE_FORCEINLINE_HINT bool | ShouldLoadGame (const ELocalizationLoadFlags InLoadFlags) |
| static UE_FORCEINLINE_HINT bool | ShouldLoadEngine (const ELocalizationLoadFlags InLoadFlags) |
| static UE_FORCEINLINE_HINT bool | ShouldLoadAdditional (const ELocalizationLoadFlags InLoadFlags) |
| static UE_FORCEINLINE_HINT bool | ShouldLoadNativeGameData (const ELocalizationLoadFlags InLoadFlags) |
Implementation of a localized text source that loads data from Localization Resource (LocRes) files.
|
static |
Get the list of localization targets that were chunked during cooking.
|
overridevirtual |
Populate a list of culture names that this localized text source has resource data for (ELocalizationLoadFlags controls which resources should be checked).
Implements ILocalizedTextSource.
|
overridevirtual |
Given a localization category, get the native culture for the category (if known).
Implements ILocalizedTextSource.
Check whether the given chunk ID has been registered as containing chunked LocRes data.
|
overridevirtual |
Load the localized resources from this localized text source for the given cultures into the given maps (ELocalizationLoadFlags controls which resources should be loaded).
Implements ILocalizedTextSource.
| void FLocalizationResourceTextSource::LoadLocalizedResourcesFromPaths | ( | TArrayView< const FString > | InPrioritizedNativePaths, |
| TArrayView< const FString > | InPrioritizedLocalizationPaths, | ||
| TArrayView< const FString > | InGameNativePaths, | ||
| const ELocalizationLoadFlags | InLoadFlags, | ||
| TArrayView< const FString > | InPrioritizedCultures, | ||
| FTextLocalizationResource & | InOutNativeResource, | ||
| FTextLocalizationResource & | InOutLocalizedResource | ||
| ) | const |
Load the localized resources from the LocRes files for the given cultures at the given paths into the given maps (ELocalizationLoadFlags controls which resources should be loaded).
Register that a chunk has been loaded that may contain chunked LocRes data.