Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void LoadConfig
(
const FLoadConfigParams& Context |
UObject/Object.h | ||
void LoadConfig
(
UClass* ConfigClass, |
Imports property values from an .ini file. | UObject/Object.h |
LoadConfig(const FLoadConfigParams &)
| Name | LoadConfig |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h |
| Include Path | #include "UObject/Object.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp |
void LoadConfig
(
const FLoadConfigParams & Context
)
LoadConfig(UClass , const TCHAR , uint32, class FProperty , TArray< UE::ConfigAccessTracking::FConfigAccessData > )
Description
Imports property values from an .ini file.
| Name | LoadConfig |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h |
| Include Path | #include "UObject/Object.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp |
void LoadConfig
(
UClass * ConfigClass,
const TCHAR * Filename,
uint32 PropagationFlags,
class FProperty * PropertyToLoad,
TArray < UE::ConfigAccessTracking::FConfigAccessData > * OutAccessedKeys
)
Parameters
| Name | Remarks |
|---|---|
| Class | the class to use for determining which section of the ini to retrieve text values from |
| Filename | indicates the filename to load values from; if not specified, uses ConfigClass's ClassConfigName |
| PropagationFlags | indicates how this call to LoadConfig should be propagated; expects a bitmask of UE::ELoadConfigPropagationFlags values. |
| PropertyToLoad | if specified, only the ini value for the specified property will be imported. |
| OutAccessedKeys | if specified the object is not modified and (EditorOnly) all the config keys it would read are added to OutAccessedKeys. In non-editor, function returns with no action. |