v0.13.8

C_CVar.SetCVarBitfield

functionimplementedavailable in: camelot

Sets the bitfield of a console variable.

signaturewowlua
function C_CVar.SetCVarBitfield(    name: string,    index: number,    value: boolean): boolean

Parameters

nametypedescription
namestringName of the CVar to set the bitfield of.
indexnumberBitfield index.
valuebooleanThe new value of the bitfield.

Returns

success · boolean · Whether the CVar was successfully set.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

  • Requires index in range.
  • Requires non read only c var.
  • Requires non secure c var.
  • Requires valid and public c var.

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (CVarScripts system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.