Good news and Bad news
Good news - button works ( it moves, it toggles etc )
Bad news - apparently the dragonriding mounts don't get selected when listing mounts. And none of the mounts that are listed show up as dragonriding able.
Code used:
Lua Code:
local function BuildDynamicFlightMountsList()
local mountIDs = C_MountJournal.GetMountIDs()
for i = 1,#mountIDs do
local name, spellID, icon, isActive, isUsable, sourceType, isFavorite, isFactionSpecific, faction, shouldHideOnChar, isCollected, mountID, isForDragonriding = C_MountJournal.GetMountInfoByID(i)
XMount_MountList[i] = {
["index"] = i,
["mountID"] = mountID,
["name"] = name,
["spellID"] = spellID,
["icon"] = icon,
["isActive"] = isActive,
["isUsable"] = isUsable,
["isCollected"] = isCollected,
["isForDragonriding"] = isForDragonriding,
}
end
end
It returned an over 9000 line table list containing over 1000 entries ( many blank ) and my Dragonriding Proto-Drakes weren't there ( I have 2 on my max level warlock ). And none of the other mounts are showing as Dragonriding.
I even went to Stormwind ( an annoying option as I haven't got the portal set up on the Dragon Isles ) and even resorted to simplifying the code to
Lua Code:
XMount_MountList[i] = C_MountJournal.GetMountInfoByID(i)
In case they had changed the return values
Neither of my Dragonriding mounts are in the mount list generated. Despite being in my mount screen when selecting collected known dragonriding as filters.