Mercurial > wow > inventory
comparison Modules/Mover.lua @ 171:5f405272cdd4
Now using BAG_UPDATE rather than ITEM_LOCK_CHANGED for refilling from the guild bank. When moving a large quantity of items, the bags will be updated slower than the slots will be unlocked.
author | Zerotorescue |
---|---|
date | Tue, 25 Jan 2011 19:31:09 +0100 |
parents | 3350c8aa3417 |
children |
comparison
equal
deleted
inserted
replaced
170:3350c8aa3417 | 171:5f405272cdd4 |
---|---|
33 end, | 33 end, |
34 PickupItem = SplitGuildBankItem, | 34 PickupItem = SplitGuildBankItem, |
35 IsLocked = function(sourceContainer, sourceSlot) | 35 IsLocked = function(sourceContainer, sourceSlot) |
36 return select(3, GetGuildBankItemInfo(sourceContainer, sourceSlot)); | 36 return select(3, GetGuildBankItemInfo(sourceContainer, sourceSlot)); |
37 end, | 37 end, |
38 Event = "ITEM_LOCK_CHANGED", | 38 Event = "BAG_UPDATE", |
39 }, | 39 }, |
40 [addon.Locations.Mailbox] = { | 40 [addon.Locations.Mailbox] = { |
41 GetItemId = function(mailIndex, attachmentId) | 41 GetItemId = function(mailIndex, attachmentId) |
42 return addon:GetItemId(GetInboxItemLink(mailIndex, attachmentId)); | 42 return addon:GetItemId(GetInboxItemLink(mailIndex, attachmentId)); |
43 end, | 43 end, |