Skip to content

ConVar@

Console variable.

Methods

  • void AddFlags(int flags) -- Adds flags for the cvar.
  • bool GetBool() -- Returns true if the cvar's value is 1.
  • string GetDefault() -- Gets the default value of the cvar in string.
  • float GetFloat() -- Gets the value of the cvar in float.
  • string GetHelpText() -- Gets the help text of the cvar.
  • int GetInt() -- Gets the value of the cvar in integer.
  • bool GetMax(float&out maxVal) -- Gets the maximum value of the cvar in float.
  • bool GetMin(float&out minVal) -- Gets the minimum value of the cvar in float.
  • string GetName() -- Gets the name of the cvar in string.
  • string GetString() -- Gets the value of the cvar in string.
  • void Revert() -- Reverts the cvar to its default settings.
  • void SetDefault(string value) -- Sets the default value of the cvar.
  • void SetValue(string value) -- Sets the value of the cvar.
  • void InstallCallback() -- Installs callback for this cvar.