Thanks for that information!
The only reason I introduced the slash command is because I cannot seem to load the transmog data from the start.
This code:
Code:
function frame:OnEvent(event, arg1)
if event == 'ADDON_LOADED' and arg1 == 'ArmoryHub' then
local wardrobe = getWardrobe()
print('ArmoryHub: From init, we see ' .. table.getn(wardrobe) .. ' items')
print('ArmoryHub: Type /ah to generate the wardrobe')
end
end
Shows `0 items` instead of how many show when I type in `/ah`
Is there some event I can listen to that will fire once certain APIs (such as transmog) are ready?