wowpedia
Main Menu


Returns the current value of a console variable.

value = C_CVar.GetCVar(name)
      = GetCVar

Arguments

name
string : CVar - name of the CVar to query the value of.

Returns

value
string? - current value of the CVar.

Details

Patch changes

Battle for Azeroth Patch 8.1.5 (2019-03-12): Namespaced to C_CVar.GetCVar().
WoW Icon update Patch 1.0.0 (2004-10-08): Added.