GameTooltip:FadeOut()
GameTooltip:FadeOut()
if self.tooltip then
GameTooltip:SetOwner(self,"ANCHOR_TOPLEFT")
GameTooltip:AddLine(self.tooltip)
GameTooltip:Show()
end
CloseDropDownMenus();
self.Anim:Play();
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
if (self.itemID) then
GameTooltip:SetItemByID(self.itemID);
return;
end
if (self.currencyID and self.currencyID ~= 0) then
GameTooltip:SetCurrencyByID(self.currencyID);
return;
end
if (self.title) then
GameTooltip:SetText(self.title);
end
if (self.tooltip) then
GameTooltip:AddLine(self.tooltip, 1, 1, 1, true);
end
GameTooltip:Show();