Ark Server API (ASA) - Wiki
|
void UE::ConfigUtilities::ApplyCVarSettingsFromIni | ( | const TCHAR * | InSectionBaseName, |
const TCHAR * | InIniFilename, | ||
uint32 | SetBy, | ||
bool | bAllowCheating = false ) |
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]
InSectionBaseName | - The base name of the section to apply cvars from |
InIniFilename | - The ini filename |
SetBy | anything in ECVF_LastSetMask e.g. ECVF_SetByScalability |
Helper function to deal with "True","False","Yes","No","On","Off"
void UE::ConfigUtilities::DeleteRecordedConfigReadsFromIni | ( | ) |
Helper function to clean up config read history
void UE::ConfigUtilities::DeleteRecordedCVarSettingsFromIni | ( | ) |
Helper function to clean up ini history
void UE::ConfigUtilities::DumpRecordedConfigReadsFromIni | ( | ) |
Helper function to dump config reads to csv after RecordConfigReadsFromIni was called
void UE::ConfigUtilities::ForEachCVarInSectionFromIni | ( | const TCHAR * | InSectionName, |
const TCHAR * | InIniFilename, | ||
TFunction< void(IConsoleVariable *CVar, const FString &KeyString, const FString &ValueString)> | InEvaluationFunction ) |
Helper function to operate a user defined function for each CVar key/value pair in the specified section in an ini file
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 |
void UE::ConfigUtilities::OnSetCVarFromIniEntry | ( | const TCHAR * | IniFile, |
const TCHAR * | Key, | ||
const TCHAR * | Value, | ||
uint32 | SetBy, | ||
bool | bAllowCheating = false, | ||
bool | bNoLogging = false ) |
Single function to set a cvar from ini (handing friendly names, cheats for shipping and message about cheats in non shipping)
void UE::ConfigUtilities::ReapplyRecordedCVarSettingsFromIni | ( | ) |
Helper function to reapply inis which have been applied after RecordCVarIniHistory was called
void UE::ConfigUtilities::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
void UE::ConfigUtilities::RecordConfigReadsFromIni | ( | ) |
Helper function to start recording config reads