You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
We now have the capacity to set a uproperty value anywhere in the config file hierarchy Satisfies UEPLAT-429 The user can now use the 'ConfigHierarchyEditable' meta flag in their uproperties to present a butoon that allows the property to be edited in the config hierarchy, where applicable. Target platform is configurable. [CL 2521330 by Terence Burns in Main branch]
30 lines
1.1 KiB
C++
30 lines
1.1 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
|
|
/*-----------------------------------------------------------------------------
|
|
IConfigEditorModule
|
|
-----------------------------------------------------------------------------*/
|
|
class IConfigEditorModule : public IModuleInterface
|
|
{
|
|
public:
|
|
/**
|
|
* Creates a config hierarchy editor for the given property
|
|
*/
|
|
virtual void CreateHierarchyEditor(UProperty* EditProperty) = 0;
|
|
|
|
/**
|
|
* Maintain a reference to a value widget used in the config editor for the current property.
|
|
*/
|
|
virtual void AddExternalPropertyValueWidgetAndConfigPairing(const FString& ConfigFile, const TSharedPtr<SWidget> ValueWidget) = 0;
|
|
|
|
/**
|
|
* Access a reference to a value widget used in the config editor for the current property.
|
|
*
|
|
* @return - A widget which represents the config value for a specific property. This is a different widget based on the property type
|
|
* ie. a combobox for enum, a check box for bool...
|
|
*/
|
|
virtual TSharedRef<SWidget> GetValueWidgetForConfigProperty(const FString& ConfigFile) = 0;
|
|
};
|