C_CVar. SetCVarBitfield
functionimplementedavailable in: camelot
Sets the bitfield of a console variable.
function C_CVar.SetCVarBitfield( name: string, index: number, value: boolean): booleanParameters
| name | type | description |
|---|---|---|
name | string | Name of the CVar to set the bitfield of. |
index | number | Bitfield index. |
value | boolean | The 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 ↗.