Files
UnrealEngineUWP/Engine/Source/Editor/EditorConfig/Public/EditorConfigBase.h
sebastian nordgren 5072dd8816 UEditorConfigSubsystem now has helpers to directly load into UObjects based on the EditorConfig= class metadata, as well as filtering of properties tagged with the EditorConfig property metadata.
#rb tim.smith, lauren.barnes
#jira UETOOL-3448
#preflight 60aceb521d02bb000144bc59

[CL 16447508 by sebastian nordgren in ue5-main branch]
2021-05-25 10:01:03 -04:00

23 lines
677 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "UObject/Object.h"
#include "UObject/ObjectMacros.h"
#include "EditorConfigBase.generated.h"
/** Inherit from this class to simplify saving and loading properties from editor configs. */
UCLASS()
class EDITORCONFIG_API UEditorConfigBase : public UObject
{
GENERATED_BODY()
public:
/** Load any properties of this class into properties marked with metadata tag "EditorConfig" from the class's EditorConfig */
bool LoadEditorConfig();
/** Save any properties of this class in properties marked with metadata tag "EditorConfig" into the class's EditorConfig. */
bool SaveEditorConfig() const;
};