Mercurial > wow > inventory
diff Core.lua @ 225:2e4e52a589e5
Added onQueueStart and onQueueEnd events to crafting addon registering.
GnomeWorks queue frame should automatically be closed before adding items to the queue and opened afterwards to speed this process up.
author | Zerotorescue |
---|---|
date | Mon, 07 Feb 2011 15:06:41 +0100 |
parents | c04257b42b03 |
children |
line wrap: on
line diff
--- a/Core.lua Mon Feb 07 00:06:07 2011 +0100 +++ b/Core.lua Mon Feb 07 15:06:41 2011 +0100 @@ -445,11 +445,13 @@ }; end -function IMRegisterCraftingAddon(name, queue, enabled, onSelect) +function IMRegisterCraftingAddon(name, queue, enabled, onSelect, onQueueStart, onQueueEnd) addon.supportedAddons.crafting[name] = { ["Queue"] = queue, ["IsEnabled"] = enabled, ["OnSelect"] = onSelect, + ["OnQueueStart"] = onQueueStart, + ["OnQueueEnd"] = onQueueEnd, }; end