Go to the source code of this file.
|
| enum class | EKnownIniFile : uint8 {
Engine = 0x0
, Game = 0x1
, Input = 0x2
, DeviceProfiles = 0x3
,
GameUserSettings = 0x4
, Scalability = 0x5
, RuntimeOptions = 0x6
, InstallBundle = 0x7
,
Hardware = 0x8
, GameplayTags = 0x9
, NumKnownFiles = 0xA
, NumKnownFiles
} |
| |
| enum class | EConfigCacheType : uint8 { DiskBacked = 0x0
, Temporary = 0x1
, DiskBacked
, Temporary
} |
| |
|
| | DECLARE_LOG_CATEGORY_EXTERN (LogConfig, Log, All) |
| |
| | DECLARE_DELEGATE_TwoParams (FKeyValueSink, const TCHAR *, const TCHAR *) |
| |
| void | ApplyCVarSettingsFromIni (const TCHAR *InSectionBaseName, const TCHAR *InIniFilename, uint32 SetBy, bool bAllowCheating=false) |
| |
| void | ForEachCVarInSectionFromIni (const TCHAR *InSectionName, const TCHAR *InIniFilename, TFunction< void(IConsoleVariable *CVar, const FString &KeyString, const FString &ValueString)> InEvaluationFunction) |
| |
| void | RecordApplyCVarSettingsFromIni () |
| |
| void | ReapplyRecordedCVarSettingsFromIni () |
| |
| void | DeleteRecordedCVarSettingsFromIni () |
| |
| void | RecordConfigReadsFromIni () |
| |
| void | DumpRecordedConfigReadsFromIni () |
| |
| void | DeleteRecordedConfigReadsFromIni () |
| |
| const TCHAR * | ConvertValueFromHumanFriendlyValue (const TCHAR *Value) |
| |
◆ ALLOW_INI_OVERRIDE_FROM_COMMANDLINE
◆ CONFIG_REMEMBER_ACCESS_PATTERN
◆ ENUMERATE_KNOWN_INI_FILES
◆ KNOWN_INI_ENUM
| #define KNOWN_INI_ENUM |
( |
| IniName | ) |
IniName, |
◆ FConfigSectionMap
◆ EConfigCacheType
| Enumerator |
|---|
| DiskBacked | |
| Temporary | |
| DiskBacked | |
| Temporary | |
Definition at line 629 of file ConfigCacheIni.h.
◆ EKnownIniFile
| Enumerator |
|---|
| Engine | |
| Game | |
| Input | |
| DeviceProfiles | |
| GameUserSettings | |
| Scalability | |
| RuntimeOptions | |
| InstallBundle | |
| Hardware | |
| GameplayTags | |
| NumKnownFiles | |
| NumKnownFiles | |
Definition at line 80 of file ConfigCacheIni.h.
◆ ApplyCVarSettingsFromIni()
Helper function to read the contents of an ini file and a specified group of cvar parameters, where sections in the ini file are marked [InName]
- Parameters
-
| InSectionBaseName | - The base name of the section to apply cvars from |
| InIniFilename | - The ini filename |
| SetBy | anything in ECVF_LastSetMask e.g. ECVF_SetByScalability |
◆ ConvertValueFromHumanFriendlyValue()
Helper function to deal with "True","False","Yes","No","On","Off"
◆ DECLARE_DELEGATE_TwoParams()
Declares a delegate type that's used by the config system to allow iteration of key value pairs.
◆ DECLARE_LOG_CATEGORY_EXTERN()
◆ DeleteRecordedConfigReadsFromIni()
| void DeleteRecordedConfigReadsFromIni |
( |
| ) |
|
Helper function to clean up config read history
◆ DeleteRecordedCVarSettingsFromIni()
| void DeleteRecordedCVarSettingsFromIni |
( |
| ) |
|
Helper function to clean up ini history
◆ DumpRecordedConfigReadsFromIni()
| void DumpRecordedConfigReadsFromIni |
( |
| ) |
|
Helper function to dump config reads to csv after RecordConfigReadsFromIni was called
◆ ForEachCVarInSectionFromIni()
Helper function to operate a user defined function for each CVar key/value pair in the specified section in an ini file
- Parameters
-
| InSectionName | - The name of the section to apply cvars from |
| InIniFilename | - The ini filename |
| InEvaluationFunction | - The evaluation function to be called for each key/value pair |
◆ ReapplyRecordedCVarSettingsFromIni()
| void ReapplyRecordedCVarSettingsFromIni |
( |
| ) |
|
Helper function to reapply inis which have been applied after RecordCVarIniHistory was called
◆ RecordApplyCVarSettingsFromIni()
| void RecordApplyCVarSettingsFromIni |
( |
| ) |
|
CVAR Ini history records all calls to ApplyCVarSettingsFromIni and can re run them Helper function to start recording ApplyCVarSettings function calls uses these to generate a history of applied ini settings sections
◆ RecordConfigReadsFromIni()
| void RecordConfigReadsFromIni |
( |
| ) |
|
Helper function to start recording config reads