| // Copyright Epic Games, Inc. All Rights Reserved. | |
| ULyraTextHotfixConfig::ULyraTextHotfixConfig(const FObjectInitializer& ObjectInitializer) | |
| : Super(ObjectInitializer) | |
| { | |
| } | |
| void ULyraTextHotfixConfig::ApplyTextReplacements() const | |
| { | |
| FTextLocalizationManager::Get().RegisterPolyglotTextData(TextReplacements); | |
| } | |
| void ULyraTextHotfixConfig::PostInitProperties() | |
| { | |
| Super::PostInitProperties(); | |
| ApplyTextReplacements(); | |
| } | |
| void ULyraTextHotfixConfig::PostReloadConfig(FProperty* PropertyThatWasLoaded) | |
| { | |
| Super::PostReloadConfig(PropertyThatWasLoaded); | |
| ApplyTextReplacements(); | |
| } | |
| void ULyraTextHotfixConfig::PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) | |
| { | |
| Super::PostEditChangeProperty(PropertyChangedEvent); | |
| ApplyTextReplacements(); | |
| } | |