Skip to content

ConVars

Getters

string GetConVarString( string cv )

Gets the value of a convar as a string

int GetConVarInt( string cv )

Gets the value of a convar as an integer

float GetConVarFloat( string cv )

Gets the value of a convar as a float

bool GetConVarBool( string cv )

Gets the value of a convar as a boolean

bool EverythingUnlockedConVarEnabled()

Setters

void SetConVarString( string cv, string value )

Sets the value of a convar with a string

void SetConVarInt( string cv, int value )

Sets the value of a convar with an integer

void SetConVarFloat( string cv, float value )

Sets the value of a convar with a float

void SetConVarBool( string cv, bool value )

Sets the value of a convar with a boolean

void SetConVarToDefault( string cv )

Sets the value of a convar to its internal default value