WoWInterface SVN Sigma

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 9 to Rev 10
    Reverse comparison

Rev 9 → Rev 10

Sigma/Sigma.lua
13,15 → 13,14
 
local text = f:CreateFontString(nil, "OVERLAY", "GameFontHighlightMedium")
text:SetPoint("LEFT")
 
f:RegisterEvent("AUCTION_OWNED_LIST_UPDATE")
 
f:RegisterEvent("AUCTION_OWNED_LIST_UPDATE")
f:SetScript("OnEvent", function(self, event, ...)
local total = 0
for i=1, GetNumAuctionItems("owner") do
total = total + select(9, GetAuctionItemInfo("owner", i))
total = total + select(10, GetAuctionItemInfo("owner", i))
end
 
 
if total > 0 then
text:SetFormattedText("%s %s", "\124TInterface\\AddOns\\Sigma\\Sigma:0:0:0:0\124t", GetCoinTextureString(total))
else
Sigma/Sigma.toc
1,8 → 1,8
## Interface: 40200
## Interface: 40300
## Title: Sigma
## Notes: Sum up all current auctions and display the total.
## Author: Ailae
## Version: 40200.1
## Version: 40300.1
## LoadOnDemand: 1
## LoadWith: Blizzard_AuctionUI