Wowpedia
Wowpedia
229,602
pages
m
Tag: WoW API docs
Line 14: Line 14:
 
* {{Patch 8.1.5|note=Moved to ''C_CVar''. The previous alias {{api|GetCVarBitfield}} is still available as a script wrapper. [https://www.townlong-yak.com/framexml/8.1.5/Util.lua#1496]}}
 
* {{Patch 8.1.5|note=Moved to ''C_CVar''. The previous alias {{api|GetCVarBitfield}} is still available as a script wrapper. [https://www.townlong-yak.com/framexml/8.1.5/Util.lua#1496]}}
   
== See also ==
+
==See also==
 
* {{api|t=c|closedInfoFrames}}
 
* {{api|t=c|closedInfoFrames}}
  +
* [https://www.townlong-yak.com/framexml/live/Blizzard_APIDocumentation#C_CVar.GetCVarBitfield Blizzard API Documentation]
 
  +
==External links==
  +
<!-- Please read https://wow.gamepedia.com/Wowpedia:External_links_policy before adding new links. -->
  +
{{Elinks-api|t=a|namespace=C_CVar|system=CVarScripts}}

Revision as of 10:18, 28 March 2021

Game Flavors
Links
Patch
Added in 8.1.5 / 2.5.1

Returns the bitfield of a console variable.

value = C_CVar.GetCVarBitfield("name", index)

Arguments

name 
string - name of the CVar to query the value of.
index 
number - bitfield index.

Returns

value 
boolean (nilable) - value of the bitfield.

Patch changes

See also

External links