v0.13.7

C_CVar

namespaceavailable in: camelot

Status in wowlua

12 functions: 8 implemented, 1 recorded, 3 guessed.

Functions

functionwhat it doesstatus
AreCVarsLoadedWhether the console variables (CVars) have been loaded. · by wowlua
(): boolean
recorded
GetCVarReturns the current value of a console variable.
(name: string): string?
implemented
GetCVarBitfieldReturns the bitfield of a console variable.
(name: string, index: number): boolean?
implemented
GetCVarBoolReturns the boolean value of a console variable.
(name: string): boolean?
implemented
GetCVarDefaultReturns the default value of a console variable. =
(name: string): string?
implemented
GetCVarInfoReturns information on a console variable.
(name: string): (string, string, boolean, boolean, boolean, boolean, boolean)
implemented
RegisterCVarTemporarily registers a custom console variable.
(name: string, value: string?)
implemented
RemoveTempCVarRemoves a temporary value set with C_CVar.SetTempCVar, so the console variable has its previous value again. · by wowlua
(name: string)
guessed
ResetTestCVarsResets the ActionCam cvars.
()
guessed
SetCVarSets a console variable.
(name: string, value: string?): boolean
implemented
SetCVarBitfieldSets the bitfield of a console variable.
(name: string, index: number, value: boolean): boolean
implemented
SetTempCVarSets a console variable to a value for now, without saving it; C_CVar.RemoveTempCVar restores the previous value. · by wowlua
(name: string, value: string?)
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Structures

  • CVarInfo · value, defaultValue, isStoredServerAccount, isStoredServerCharacter, isLockedFromUser, isSecure, isReadOnly

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (CVarScripts system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.