Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C CVar.GetCVar

Last wiki revision 2022-11-13

Returns the current value of a console variable. value = C_CVar.GetCVar(name) =

  • name: : CVar - name of the CVar to query the value of.
  • value: - current value of the CVar.
  • Calling this function with an invalid variable name, or a variable that cannot be queried by AddOns (like "accountName"), will return nil.

Source

https://warcraft.wiki.gg/wiki/API_C_CVar.GetCVar · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.