Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc > FConfigFile
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 |
void UpdateSections
&40;
const TCHAR &42; DiskFilename,
const TCHAR &42; IniRootName,
const TCHAR &42; OverridePlatform
&41;
Remarks
Saves only the sections in this FConfigFile into the given file. All other sections in the file are left alone. The sections in this file are completely replaced. If IniRootName is specified, the current section settings are diffed against the file in the hierarchy up to right before this file (so, if you are saving DefaultEngine.ini, and IniRootName is "Engine", then Base.ini and BaseEngine.ini will be loaded, and only differences against that will be saved into DefaultEngine.ini)
Parameters
Name | Description |
---|---|
IniRootName | the name (like "Engine") to use to load a .ini hierarchy to diff against |