💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
These functions relate to[Console variables](https://wow.gamepedia.com/Console_variables "Console variables")and commands. [C\_CVar.GetCVar](https://wow.gamepedia.com/API_C_CVar.GetCVar "API C CVar.GetCVar")("name") - Returns the current value of a console variable. [C\_CVar.GetCVarBitfield](https://wow.gamepedia.com/API_C_CVar.GetCVarBitfield "API C CVar.GetCVarBitfield")("name", index) - Returns the bitfield of a console variable. [C\_CVar.GetCVarBool](https://wow.gamepedia.com/API_C_CVar.GetCVarBool "API C CVar.GetCVarBool")("name") - Returns the boolean value of a console variable. [C\_CVar.GetCVarDefault](https://wow.gamepedia.com/API_C_CVar.GetCVarDefault "API C CVar.GetCVarDefault")("name") - Returns the default value of a console variable. [C\_CVar.RegisterCVar](https://wow.gamepedia.com/API_C_CVar.RegisterCVar "API C CVar.RegisterCVar")("name" \[, value\]) - Registers a custom cvar (temporarily). [C\_CVar.ResetTestCVars](https://wow.gamepedia.com/API_C_CVar.ResetTestCVars "API C CVar.ResetTestCVars")() - Resets the[ActionCam](https://wow.gamepedia.com/CVar_ActionCam "CVar ActionCam")cvars. [C\_CVar.SetCVar](https://wow.gamepedia.com/API_C_CVar.SetCVar "API C CVar.SetCVar")("name" \[, value, "scriptCVar"\]) - Sets a console variable. [C\_CVar.SetCVarBitfield](https://wow.gamepedia.com/API_C_CVar.SetCVarBitfield "API C CVar.SetCVarBitfield")("name", index, value \[, "scriptCVar"\]) - Sets the bitfield of a console variable. [C\_Console.GetAllCommands](https://wow.gamepedia.com/API_C_Console.GetAllCommands "API C Console.GetAllCommands")() - Returns all console variables and commands. [C\_Console.GetColorFromType](https://wow.gamepedia.com/API_C_Console.GetColorFromType "API C Console.GetColorFromType")(colorType) - Returns color info for a color type. [C\_Console.GetFontHeight](https://wow.gamepedia.com/API_C_Console.GetFontHeight "API C Console.GetFontHeight")() - Returns the console's currently used font height. [C\_Console.PrintAllMatchingCommands](https://wow.gamepedia.com/API_C_Console.PrintAllMatchingCommands "API C Console.PrintAllMatchingCommands")("partialCommandText") - Prints all matching console commands. [C\_Console.SetFontHeight](https://wow.gamepedia.com/API_C_Console.SetFontHeight "API C Console.SetFontHeight")(fontHeightInPixels) - Sets the console's font height. [ConsoleAddMessage](https://wow.gamepedia.com/index.php?title=API_ConsoleAddMessage&action=edit&redlink=1 "API ConsoleAddMessage (page does not exist)")(message) - Prints a message to the console window. [ConsoleExec](https://wow.gamepedia.com/API_ConsoleExec "API ConsoleExec")("command") - Execute a console command. [GetCVarInfo](https://wow.gamepedia.com/API_GetCVarInfo "API GetCVarInfo")("name") - Returns information on a console variable. [SetConsoleKey](https://wow.gamepedia.com/API_SetConsoleKey "API SetConsoleKey")("key") - Sets the console key (normally ~ ).