AdvancedInterfaceOptions icon indicating copy to clipboard operation
AdvancedInterfaceOptions copied to clipboard

Missing CVars

Open Justw8 opened this issue 4 years ago • 1 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?

Justw8 avatar Nov 30 '20 09:11 Justw8

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"

Ketho avatar Nov 30 '20 10:11 Ketho

Cleaning up old issues; reopen if this is something that should be addressed.

semlar avatar Aug 16 '22 22:08 semlar