C_CVar.GetCVarDefault

From Warcraft Wiki
Jump to navigation Jump to search

Returns the default value of a console variable.

defaultValue = C_CVar.GetCVarDefault(name)
             = GetCVarDefault

Arguments

name
string - Name of the console variable to query.

Returns

defaultValue
string? - Default value of the console variable.

Patch changes

Battle for Azeroth Patch 8.1.5 (2019-03-12): Namespaced to C_CVar.GetCVarDefault().