Missing CVars
Justw8 opened this issue ยท 2 comments
It looks like there are new CVARS that I could have used, which I could not find in the list.
e.g:
SetCVar("AutoPushSpellToActionBar", 0)
I noticed the cvar files are quite old, can this be updated?
The cvars are fed directly from C_Console.GetAllCommands()
but it seems a bunch of them are not yet returned until after VARIABLES_LOADED or PLAYER_ENTERING_WORLD
local function GetCVars()
local t = {}
for _, v in pairs(C_Console.GetAllCommands()) do
t[v.command] = true
end
return t
end
local fresh = GetCVars()
local f = CreateFrame("Frame")
f:RegisterEvent("PLAYER_ENTERING_WORLD")
f:SetScript("OnEvent", function()
local pew = GetCVars()
for k in pairs(pew) do
if not fresh[k] then
print(k)
end
end
end)
Unavailable on fresh login until PEW
"AutoPushSpellToActionBar"
"MaxObservedPetBattles"
"ObjectSelectionCircle"
"SplineOpt"
"bodyQuota"
"outlineMouseOverFadeDuration"
"outlineSelectionFadeDuration"
"persistMoveLogOnTransfer"
"showPlayer"
"smoothUnitPhasing"
"smoothUnitPhasingActorPurgatoryTimeMs"
"smoothUnitPhasingAliveTimeoutMs"
"smoothUnitPhasingDestroyedPurgatoryTimeMs"
"smoothUnitPhasingDistThreshold"
"smoothUnitPhasingEnableAlive"
"smoothUnitPhasingUnseenPurgatoryTimeMs"
"smoothUnitPhasingVehicleExtraTimeoutMs"
"whois"
Unavailable on /reload until PEW
"AutoPushSpellToActionBar"
"latestSplashScreen"