DIFF

class DayZProfilesOptionsSource

Constructors 1

Members 8

static ref ScriptInvoker m_OnIntOptionChanged = new ScriptInvoker()
static ref ScriptInvoker m_OnBoolOptionChanged = new ScriptInvoker()
Referenced by SetProfileOption()
static ref ScriptInvoker m_OnFloatOptionChanged = new ScriptInvoker()
private ref map<EDayZProfilesOptions, ref DayZProfilesOption> m_DayZProfilesOptions

DEPRECATED

Referenced by GetProfileOptionMap()
private DayZGame m_Game

Methods 21

void RegisterProfileOption(EDayZProfilesOptions option, string profileOptionName, bool def = true)
void RegisterProfileOptionBool(EDayZProfilesOptions option, string profileOptionName, bool defaultValue = true)

init of DayZProfilesOption - profileOptionName, value from Profiles files, or use default value

void RegisterProfileOptionInt(EDayZProfilesOptions option, string profileOptionName, int defaultValue = 0)
void RegisterProfileOptionFloat(EDayZProfilesOptions option, string profileOptionName, float defaultValue = 0.0)

init of DayZProfilesOption - profileOptionName, value from Profiles files, or use default value

void ResetOptionsBool()

init of DayZProfilesOption - profileOptionName, value from Profiles files, or use default value

void ResetOptions()
void SetProfileOptionBool(EDayZProfilesOptions option, bool value)
bool GetProfileOptionBool(EDayZProfilesOptions option)
int GetProfileOptionInt(EDayZProfilesOptions option)
float GetProfileOptionFloat(EDayZProfilesOptions option)
bool GetProfileOptionDefault(EDayZProfilesOptions option)
bool GetProfileOptionDefaultBool(EDayZProfilesOptions option)
int GetProfileOptionDefaultInt(EDayZProfilesOptions option)
float GetProfileOptionDefaultFloat(EDayZProfilesOptions option)