Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc > FConfigCacheIni
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/ConfigCacheIni.h |
Include | #include "Misc/ConfigCacheIni.h" |
Source | /Engine/Source/Runtime/Core/Private/Misc/ConfigCacheIni.cpp |
static bool LoadLocalIniFile
&40;
FConfigFile & ConfigFile,
const TCHAR &42; IniName,
bool bIsBaseIniName,
const TCHAR &42; Platform,
bool bForceReload
&41;
Remarks
Load an ini file directly into an FConfigFile, and nothing is written to GConfig or disk. The passed in .ini name can be a "base" (Engine, Game) which will be modified by platform and/or commandline override, or it can be a full ini filename (ie WrangleContent) loaded from the Source config directory true if the ini file was loaded successfully
Parameters
Name | Description |
---|---|
ConfigFile | The output object to fill |
IniName | Either a Base ini name (Engine) or a full ini name (WrangleContent). NO PATH OR EXTENSION SHOULD BE USED! |
bIsBaseIniName | true if IniName is a Base name, which can be overridden on commandline, etc. |
Platform | The platform to use for Base ini names, NULL means to use the current platform |
bForceReload | force reload the ini file from disk this is required if you make changes to the ini file not using the config system as the hierarchy cache will not be updated in this case |