skin: add support for gm ticket status

This commit is contained in:
shagu
2016-11-06 01:38:34 +01:00
parent bda55f6f7a
commit e3b8a1f2c8
+16
View File
@@ -79,4 +79,20 @@ pfUI:RegisterModule("skin", function ()
ShoppingTooltip1:SetBackdrop(pfUI.backdrop)
ShoppingTooltip2:SetBackdrop(pfUI.backdrop)
TicketStatusFrame:SetBackdrop(pfUI.backdrop)
TicketStatusFrame:ClearAllPoints()
TicketStatusFrame:SetPoint("TOPLEFT", 5, -5)
function TicketStatusFrame_OnEvent()
if ( event == "PLAYER_ENTERING_WORLD" ) then
GetGMTicket();
else
if ( arg1 ~= 0 ) then
this:Show();
refreshTime = GMTICKET_CHECK_INTERVAL;
else
this:Hide();
end
end
end
end)