You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
SNodeTitle no longer compares cached node titles to the title the node wants to be to determine a reconstruction, it checks if the schema wants to purge all cached node titles. #jira UE-8371 - Change Editor language while leaving Blueprint Editor node & pin names in English [CL 2508681 by Michael Schoell in Main branch]
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "InternationalizationSettingsModel.generated.h"
|
|
|
|
|
|
/**
|
|
* Implements loading and saving of internationalization settings.
|
|
*/
|
|
UCLASS()
|
|
class INTERNATIONALIZATIONSETTINGS_API UInternationalizationSettingsModel
|
|
: public UObject
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
public:
|
|
|
|
void SaveDefaults();
|
|
void ResetToDefault();
|
|
FString GetCultureName() const;
|
|
void SetCultureName(const FString& CultureName);
|
|
bool ShouldLoadLocalizedPropertyNames() const;
|
|
void ShouldLoadLocalizedPropertyNames(const bool Value);
|
|
bool ShouldShowNodesAndPinsUnlocalized() const;
|
|
void ShouldShowNodesAndPinsUnlocalized(const bool Value);
|
|
public:
|
|
|
|
/**
|
|
* Returns an event delegate that is executed when a setting has changed.
|
|
*
|
|
* @return The delegate.
|
|
*/
|
|
DECLARE_EVENT(UInternationalizationSettingsModel, FSettingChangedEvent);
|
|
FSettingChangedEvent& OnSettingChanged( ) { return SettingChangedEvent; }
|
|
|
|
private:
|
|
|
|
// Holds an event delegate that is executed when a setting has changed.
|
|
FSettingChangedEvent SettingChangedEvent;
|
|
};
|