Navigation
Unreal Engine C++ API Reference > Developer > LocalizationService > ILocalizationServiceProvider > GetState
References
Module | LocalizationService |
Header | /Engine/Source/Developer/LocalizationService/Public/ILocalizationServiceProvider.h |
Include | #include "ILocalizationServiceProvider.h" |
[ELocalizationServiceOperationCommandResult::Type](API\Developer\LocalizationService\ELocalizationSer-) GetState ( const [TArray](API\Runtime\Core\Containers\TArray)< [FLocalizationServiceTranslationIdentifier](API\Developer\LocalizationService\FLocalizationServiceTranslationI-) > & InTranslationIds, [TArray](API\Runtime\Core\Containers\TArray)< [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [ILocalizationServiceState](API\Developer\LocalizationService\ILocalizationServiceState), ESPMode::ThreadSafe > > & OutState, [ELocalizationServiceCacheUsage::Type](API\Developer\LocalizationService\ELocalizationServiceCacheUsage__-) InStateCacheUsage )
Remarks
Get the state of each of the passed-in files. State may be cached for faster queries. Note states can be NULL! the result of the operation.
Parameters
Name | Description |
---|---|
InTranslationIds | The translations to retrieve state for. |
OutState | The states of the files. This will be empty if the operation fails. Note states can be NULL! |
InStateCacheUsage | Whether to use the state cache or to force a (synchronous) state retrieval. |