WoWInterface SVN mikma

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /Invataxi
    from Rev 494 to Rev 495
    Reverse comparison

Rev 494 → Rev 495

Invataxi.lua
3,7 → 3,7
local QTip = LibStub('LibQTip-1.0')
local honoricon = UnitFactionGroup("player") == "Alliance" and "|TInterface\\AddOns\\Invataxi\\AllianceIcon:17:17:1:-1|t " or "|TInterface\\AddOns\\Invataxi\\HordeIcon:17:17:1:-1|t "
local bgtable = { [1] = 20560, [2] = 20558, [3] = 20559, [4] = 29024, [5] = 42425, [6] = 47395, }
local JoinFrame,BGNames,BGJoin,BGJoinName,total,count,tooltip,tempdisplay,group,waittime = CreateFrame("Frame"),{},{},{},0,1
local JoinFrame,BGNames,total,count,tooltip,tempdisplay,group,waittime = CreateFrame("Frame"),{},{},{},0,1
 
local function getbginfo(value)
return GetItemCount(bgtable[value]),GetItemIcon(bgtable[value]),GetBattlegroundInfo(value),select(3,GetBattlegroundInfo(value))
15,7 → 15,7
elseif button == "RightButton" then
group = nil
end
Invataxi:RegisterEvent("PVPQUEUE_ANYWHERE_SHOW");
Invataxi:RegisterEvent("PVPQUEUE_ANYWHERE_SHOW")
Invataxi:RegisterEvent("UPDATE_BATTLEFIELD_STATUS")
RequestBattlegroundInstanceInfo(index);
end