PlaySound("igMainMenuOptionCheckBoxOn");
ezCollections:BeginClaimQuest(self:GetParent().visualInfo.visualID);
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(ezCollections.L["ClaimQuest.Tooltip.Header"],
NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1);
GameTooltip:AddLine(ezCollections.L["ClaimQuest.Tooltip.Text"],
HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, 1,
1);
GameTooltip:Show();
PlaySound("igMainMenuOptionCheckBoxOn");
StaticPopup_Show("EZCOLLECTIONS_STORE_URL", nil, nil,
format(ezCollections.StoreURLSkinFormat,
self:GetParent().visualInfo.visualID));
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(ezCollections.L["Tooltip.Store.Header"], 0, 0.75, 1, 1);
GameTooltip:AddLine(ezCollections.L["Tooltip.Store.Text"],
HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, 1,
1);
GameTooltip:Show();
PlaySound("igMainMenuOptionCheckBoxOn");
local subscription =
ezCollections:GetSubscriptionForSkin(self:GetParent().visualInfo.visualID);
StaticPopup_Show("EZCOLLECTIONS_STORE_URL", nil, nil, subscription and
subscription.URL or "");
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
local subscription =
ezCollections:GetSubscriptionForSkin(self:GetParent().visualInfo.visualID);
if subscription then
GameTooltip:SetText(ezCollections.L["Tooltip.Subscription.Header"], 0, 0.75,
1, 1);
GameTooltip:AddLine(subscription.Name, NORMAL_FONT_COLOR.r,
NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1, 1);
GameTooltip:AddLine(subscription.Description, HIGHLIGHT_FONT_COLOR.r,
HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, 1, 1);
GameTooltip:AddLine(" ", HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g,
HIGHLIGHT_FONT_COLOR.b, 1, 1);
GameTooltip:AddLine(ezCollections.L["Tooltip.Subscription.Text"],
HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, 1,
1);
end
GameTooltip:Show();
PlaySound("igMainMenuOptionCheckBoxOn");
StaticPopup_Show("EZCOLLECTIONS_STORE_URL", nil, nil,
format(ezCollections.StoreURLSkinFormat,
self:GetParent().visualInfo.visualID));
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(ezCollections.L["Tooltip.Store.Header"], 0, 0.75, 1, 1);
GameTooltip:AddLine(ezCollections.L["Tooltip.Store.Text"],
HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, 1,
1);
GameTooltip:Show();
PlaySound("igMainMenuOptionCheckBoxOn");
local subscription =
ezCollections:GetSubscriptionForSkin(self:GetParent():GetParent().visualInfo.visualID);
StaticPopup_Show("EZCOLLECTIONS_STORE_URL", nil, nil, subscription
and subscription.URL or "");
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
local subscription =
ezCollections:GetSubscriptionForSkin(self:GetParent():GetParent().visualInfo.visualID);
if subscription then
GameTooltip:SetText(ezCollections.L["Tooltip.Subscription.Header"],
0, 0.75, 1, 1);
GameTooltip:AddLine(subscription.Name, NORMAL_FONT_COLOR.r,
NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1, 1);
GameTooltip:AddLine(subscription.Description,
HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g,
HIGHLIGHT_FONT_COLOR.b, 1, 1);
GameTooltip:AddLine(" ", HIGHLIGHT_FONT_COLOR.r,
HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, 1, 1);
GameTooltip:AddLine(ezCollections.L["Tooltip.Subscription.Text"],
HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g,
HIGHLIGHT_FONT_COLOR.b, 1, 1);
end
GameTooltip:Show();
function self:UpdateTooltip()
local subscription =
ezCollections:GetActiveSubscriptionForSkin(self:GetParent().visualInfo.visualID);
if subscription then
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(ezCollections.L["Tooltip.Subscription.Header"], 0, 0.75,
1, 1);
GameTooltip:AddLine(subscription.Name, NORMAL_FONT_COLOR.r,
NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1, 1);
GameTooltip:AddLine(subscription.Description, HIGHLIGHT_FONT_COLOR.r,
HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, 1, 1);
local remaining = ezCollections:FormatRemainingTime(subscription.EndTime -
time());
if remaining then
GameTooltip:AddLine(remaining, GRAY_FONT_COLOR.r, GRAY_FONT_COLOR.g,
GRAY_FONT_COLOR.b, 1, 1);
end
GameTooltip:Show();
end
end
self:UpdateTooltip();