View Single Post
12-07-20, 12:15 PM   #7
chrisronline
A Murloc Raider
Join Date: Dec 2020
Posts: 5
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?
  Reply With Quote