/trunk
BuyEmAll = {} |
local L = BUYEMALL_LOCALS |
local IS_WRATH = tonumber(select(4, GetBuildInfo())) >= 30000 |
-- These are used for the text on the Max and Stack buttons. See BuyEmAll.xml. |
BUYEMALL_MAX = L.MAX |
self.OrigMerchantItemButton_OnModifiedClick = MerchantItemButton_OnModifiedClick |
MerchantItemButton_OnModifiedClick = function(...) |
if IS_WRATH then |
return self:MerchantItemButton_OnModifiedClick(...) |
else |
self:MerchantItemButton_OnModifiedClick(this, ...) |
end |
self:MerchantItemButton_OnModifiedClick(this, ...) |
end |
self.OrigMerchantFrame_OnHide = MerchantFrame:GetScript("OnHide") |
collapse = 1, |
} |
BuyEmAllMoneyFrame.small = 1 |
if IS_WRATH then |
MoneyFrame_SetType(frame, "BUYEMALL") |
else |
MoneyFrame_SetType("BUYEMALL") |
end |
MoneyFrame_SetType(frame, "BUYEMALL") |
end |
self.defaultStack = |
specialMax > 0 and specialMax <= self.max and specialMax or quantity |
self.split = self.defaultStack |
self.partialFit = self.fit % stack |
self:SetStackClick() |
self:Show(frame) |
self.split = self.defaultStack |
self.partialFit = self.fit % stack |
self:SetStackClick() |
self:Show(frame) |
else |
self.OrigMerchantItemButton_OnModifiedClick(button, ...) |
self.OrigMerchantItemButton_OnModifiedClick(frame, button, ...) |
end |
end |
## Interface: 20003 |
## Interface: 30000 |
## Title: BuyEmAll |
## Author: Cogwheel |
## Url: http://cogwheel.wowinterface.com |
## eMail: mcogwheel@gmail.com |
## Url: http://cogwheel.info |
## Notes: Enhances shift-click interface at vendors |
## OptionalDeps: CogsBagSpace |
<body> |
<h1>BuyEmAll</h1> |
<p>By Cogwheel â v2.8.1</p> |
<p>By Cogwheel â v2.8.2</p> |
<p>BuyEmAll enhances the shift-click interface at vendors.</p> |
<p>Please visit <a href="http://cogwheel.wowinterface.com">Cogwheelâs Workshop</a> for updates, bug reports, feature requests, etc. </p> |
<ul> |
<p>German, French, & Chinese localizations are missing some recently added translations.</p> |
<p>Please visit <a href="http://cogwheel.wowinterface.com">Cogwheelâs Workshop</a> if you have any suggestions or bug reports, and to see what is in store for the future.</p> |
<h2><a name="changes" id="changes"></a>Changes</h2> |
<h4>v2.8.2</h4> |
<ul> |
<li>Updated for 3.0.2 </li> |
</ul> |
<h4>v2.8.1</h4> |
<ul> |
<li>Updated for WotLK Beta </li> |