Mercurial > wow > inventory
comparison Modules/Mover.lua @ 120:00cf4fc1697f
addon.Locations table is used at multiple modules, definition moved to Core.lua.
| author | Zerotorescue |
|---|---|
| date | Sat, 15 Jan 2011 17:09:08 +0100 |
| parents | dc6f405c1a5d |
| children | 6724bc8eface |
comparison
equal
deleted
inserted
replaced
| 119:dc6f405c1a5d | 120:00cf4fc1697f |
|---|---|
| 3 | 3 |
| 4 local Scanner; | 4 local Scanner; |
| 5 local queuedMoves = {}; -- table storing all queued moves before BeginMove is called | 5 local queuedMoves = {}; -- table storing all queued moves before BeginMove is called |
| 6 local combinedMoves = {}; -- table storing all combined moves (with source and target) that is to be processed by the actual mover in the order of the index (1 to #) | 6 local combinedMoves = {}; -- table storing all combined moves (with source and target) that is to be processed by the actual mover in the order of the index (1 to #) |
| 7 local movesSource; | 7 local movesSource; |
| 8 | |
| 9 addon.Locations = { | |
| 10 ["Bag"] = "Bag", | |
| 11 ["Bank"] = "Bank", | |
| 12 ["Guild"] = "Guild", | |
| 13 ["Mailbox"] = "Mailbox", | |
| 14 ["Merchant"] = "Merchant", | |
| 15 }; | |
| 16 | 8 |
| 17 local ContainerFunctions = { | 9 local ContainerFunctions = { |
| 18 [addon.Locations.Bag] = { | 10 [addon.Locations.Bag] = { |
| 19 GetItemId = GetContainerItemID, | 11 GetItemId = GetContainerItemID, |
| 20 PickupItem = SplitContainerItem, | 12 PickupItem = SplitContainerItem, |
