OnDataUpdate() |
end |
local function OnTooltip(tip) |
tip:AddLine(childName) |
x, y = 0, 0 |
local zztip = type(tip.AddHeader) == 'function' and tip:AddHeader(childName) or tip:AddLine(childName) |
x=0 |
y=0 |
while(x<8000) do |
if(full[x] and full[x] > 0) then |
n = free[x] |
if(not db['showFree']) then |
n = full[x] - n |
if(full[x]) then |
if(full[x] > 0) then |
n = free[x] |
if(not db['showFree']) then |
n = full[x] - n |
end |
tip:AddDoubleLine(bagTypes[x],n.."/"..full[x]) |
end |
tip:AddDoubleLine(bagTypes[x],n.."/"..full[x]) |
end |
x = 2^y |
y = y + 1 |