Mercurial > wow > inventory
comparison Classes/ContainerItem.class.lua @ 119:dc6f405c1a5d
Now resizing the mover frame based on text size.
addon.Locations table now uses location names as value, rather than random numbers.
Added proper Merchant restocking support. Please note this currently doesn?t take the bonus queue nor the min crafting queue options into account.
author | Zerotorescue |
---|---|
date | Sat, 15 Jan 2011 17:03:05 +0100 |
parents | 239e25a058c7 |
children |
comparison
equal
deleted
inserted
replaced
118:de18ef96983b | 119:dc6f405c1a5d |
---|---|
12 setmetatable(self, addon.ContainerItem); | 12 setmetatable(self, addon.ContainerItem); |
13 | 13 |
14 -- Standard info everything needs | 14 -- Standard info everything needs |
15 self.totalCount = 0; | 15 self.totalCount = 0; |
16 self.locations = {}; | 16 self.locations = {}; |
17 self.price = nil; -- usually unused | |
17 | 18 |
18 return self; | 19 return self; |
19 end | 20 end |
20 | 21 |
21 function addon.ContainerItem:AddLocation(container, slot, count) | 22 function addon.ContainerItem:AddLocation(container, slot, count) |