C_CVar
namespaceavailable in: camelotStatus in wowlua
12 functions: 8 implemented, 1 recorded, 3 guessed.
Functions
| function | what it does | status |
|---|---|---|
AreCVarsLoaded | Whether the console variables (CVars) have been loaded. · by wowlua(): boolean | recorded |
GetCVar | Returns the current value of a console variable.(name: string): string? | implemented |
GetCVarBitfield | Returns the bitfield of a console variable.(name: string, index: number): boolean? | implemented |
GetCVarBool | Returns the boolean value of a console variable.(name: string): boolean? | implemented |
GetCVarDefault | Returns the default value of a console variable.
=(name: string): string? | implemented |
GetCVarInfo | Returns information on a console variable.(name: string): (string, string, boolean, boolean, boolean, boolean, boolean) | implemented |
RegisterCVar | Temporarily registers a custom console variable.(name: string, value: string?) | implemented |
RemoveTempCVar | Removes a temporary value set with C_CVar.SetTempCVar, so the console variable has its previous value again. · by wowlua(name: string) | guessed |
ResetTestCVars | Resets the ActionCam cvars.() | guessed |
SetCVar | Sets a console variable.(name: string, value: string?): boolean | implemented |
SetCVarBitfield | Sets the bitfield of a console variable.(name: string, index: number, value: boolean): boolean | implemented |
SetTempCVar | Sets 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.