WoW API: GetCVarDefault

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetCVarDefault to API GetCVarDefault without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetCVarDefault

Returns the default value of a console variable.

value = GetCVarDefault("cvarName")

Arguments

cvarName
String (CVar) - Name of the console variable to query.

Returns

value
String - Default value of the console variable.

Notes

  • Calling this function with an invalid variable name will cause an error.