Navigation
API > API/Editor > API/Editor/EditorConfig
| Name | UEditorConfigSubsystem |
| Type | class |
| Header File | /Engine/Source/Editor/EditorConfig/Public/EditorConfigSubsystem.h |
| Include Path | #include "EditorConfigSubsystem.h" |
Syntax
UCLASS ()
class UEditorConfigSubsystem :
public UEditorSubsystem,
public FTickableEditorObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USubsystem → UDynamicSubsystem → UEditorSubsystem → UEditorConfigSubsystem
- FTickableObjectBase → FTickableEditorObject → UEditorConfigSubsystem
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UEditorConfigSubsystem() |
EditorConfigSubsystem.h |
Structs
| Name | Remarks |
|---|---|
| FPendingSave |
Enums
Public
| Name | Remarks |
|---|---|
| ESearchDirectoryType |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| EarlyRegistredSearchDirectories | TArray< TPair< ESearchDirectoryType, FString > > | EditorConfigSubsystem.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LoadedConfigs | TMap< FString, TSharedPtr< FEditorConfig > > | EditorConfigSubsystem.h | ||
| PendingSaves | TArray< FPendingSave > | EditorConfigSubsystem.h | ||
| SaveLock | FCriticalSection | EditorConfigSubsystem.h | ||
| SearchDirectories | TArray< TPair< ESearchDirectoryType, FString > > | EditorConfigSubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddSearchDirectory
(
ESearchDirectoryType Type, |
Append a new config search directory to the given type. | EditorConfigSubsystem.h | |
TSharedRef< FEditorConfig > FindOrLoadConfig
(
FStringView ConfigName, |
Find a config with the given name that has already been loaded, load it if it hasn't been, or create one with the given name. | EditorConfigSubsystem.h | |
bool LoadConfigObject
(
TObject* Object, |
Load a config from the root of the JSON file into a given UObject. | EditorConfigSubsystem.h | |
bool LoadConfigObject
(
const UClass* Class, |
Load a config from the root of the JSON file into a given UObject. | EditorConfigSubsystem.h | |
bool ReloadConfig
(
TSharedRef< FEditorConfig > Config |
Force reload the given config and all its (current and potential) parents from disk. | EditorConfigSubsystem.h | |
void SaveConfig
(
TSharedRef< FEditorConfig > Config |
Save the given config to the location it was loaded. | EditorConfigSubsystem.h | |
bool SaveConfigObject
(
const TObject* Object, |
Save the given UObject to the root of the JSON config. | EditorConfigSubsystem.h | |
bool SaveConfigObject
(
const UClass* Class, |
Save the given UObject of the given class to the root of the JSON config. | EditorConfigSubsystem.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void EarlyAddSearchDirectory
(
ESearchDirectoryType Type, |
Append a new config search directory to the given type early. | EditorConfigSubsystem.h |