Narci:HideButtonTooltip();
Narci.UserIsInputing = true;
self:SetUnit("player");
local frame = self:GetParent():GetParent();
if not frame.Pieces then
frame.Pieces = {};
end
tinsert(frame.Pieces, self);
Narci_AttributeFrame_OnLoad(self);
local delay = (self:GetID())/20;
self.animIn.A2:SetStartDelay(delay);
Narci_ShowStatTooltip(self);
Narci:HideButtonTooltip();
--self:GetParent():Show()
Narci_AttributeFrame_OnLoad(self);
local delay = (self:GetID())/20;
self.animIn.A2:SetStartDelay(delay);
Narci_ShowStatTooltip(self);
Narci:HideButtonTooltip();
Narci_AttributeFrame_OnLoad(self);
Narci_ShowStatTooltip(self);
self:GetParent():SetVerticeSize(self, 15);
Narci:HideButtonTooltip();
self:GetParent():SetVerticeSize(self, 12);
Narci_AttributeFrame_OnLoad(self);
Narci_ShowStatTooltip(self);
self:GetParent():SetVerticeSize(self, 15);
Narci:HideButtonTooltip();
self:GetParent():SetVerticeSize(self, 12);
--self:GetParent():Show()
Narci_AttributeFrame_OnLoad(self);
local delay = (self:GetID())/20;
self.animIn.A2:SetStartDelay(delay);
Narci_ShowStatTooltip(self);
Narci:HideButtonTooltip();
self.isRight = true;
self.GemBorder:SetTexCoord(1, 0, 0, 1);
self.GemBorderShadow:SetTexCoord(1, 0, 0, 1);
self.tooltipHeadline = "Name Your Set -PH"
self.tooltipLine1 = "Left-click to modify this text."
if self:GetParent():GetAlpha() ~= 1 then
return;
end
Narci_ShowButtonTooltip(self);
SetCursor("Interface/CURSOR/Cast.blp")
NarciAPI.SmartFontType(self)
local LetterNum = self:GetNumLetters()
local w = math.max(LetterNum*16, 180)
self:GetParent().Background:SetWidth(w)
self:ClearFocus();
self:ClearFocus();
Narci:HideButtonTooltip();
SetCursor("Interface/CURSOR/Point.blp")
self:OnEnter();
if self.isAzeriteItem then
AnimationSequenceContainer_Heart:Hide();
AnimationSequenceContainer_Heart:Show();
AnimationSequenceContainer_Heart.OppoDirection = false;
end
self:OnLeave();
AnimationSequenceContainer_Heart:Hide();
AnimationSequenceContainer_Heart:Show();
AnimationSequenceContainer_Heart.OppoDirection = true
self:GetParent():UnregisterEvent("PLAYER_REGEN_ENABLED");
self:GetParent():Hide();
DoEmote("Stand", "none");
self:Play();
self:RegisterEvent("PLAYER_REGEN_DISABLED");
self:Hide();
self:SetAlpha(0);
self:StopAnimating();
self:UnregisterEvent("PLAYER_REGEN_DISABLED");
if event == "PLAYER_REGEN_DISABLED" then
self:Hide();
self:RegisterEvent("PLAYER_REGEN_ENABLED");
elseif event == "PLAYER_REGEN_ENABLED" then
self:UnregisterEvent(event);
if Narci_Attribute:IsVisible() and Narci.isActive then
self:Show();
self:SetAlpha(1);
end
end
local LetterNum = self:GetNumLetters()
local w = math.max(LetterNum*16, 180)
self:SetWidth(w);
if self:GetParent():GetAlpha() ~= 1 then
return;
end
if self:IsEnabled() then
SetCursor("Interface/CURSOR/Cast.blp")
end
NarciAPI.SmartFontType(self)
local LetterNum = self:GetNumLetters()
local w = math.max(LetterNum*16, 160)
self:SetWidth(w);
self:ClearFocus();
self:HighlightText(0,0);
local text = strtrim(self:GetText());
self:SetText(text);
NarcissusDB_PC.PlayerAlias = text;
self:ClearFocus();
self:HighlightText(0,0);
local text = strtrim(self:GetText());
self:SetText(text);
NarcissusDB_PC.PlayerAlias = text;
Narci:HideButtonTooltip();
SetCursor("Interface/CURSOR/Point.blp")
self:ClearFocus();
self:HighlightText(0,0);
self:SetWidth(self.Label:GetWidth()+12)
self.Label:SetTextColor(0, 0, 0);
self.Label:SetShadowColor(1, 1, 1);
self.Highlight:Show();
self.Label:SetTextColor(0.25, 0.78, 0.92);
self.Label:SetShadowColor(0, 0, 0);
self.Highlight:Hide();
self:SetAlpha(0)
self.Label:SetTextColor(0.25, 0.78, 0.92);
self.Label:SetShadowColor(0, 0, 0);
self.Highlight:Hide();
local TooltipFrame = self:GetParent().PlayerName.TooltipFrame;
UIFrameFadeIn(TooltipFrame, 0.15, TooltipFrame:GetAlpha(), 1);
Narci:HideButtonTooltip();
SetCursor("Interface/CURSOR/Point.blp")
local TooltipFrame = self:GetParent().PlayerName.TooltipFrame;
--print("leave")
if not self:IsMouseOver() then
UIFrameFadeOut(TooltipFrame, 0.15, TooltipFrame:GetAlpha(), 0);
Narci_PlayerInfoFrame.PlayerName:HighlightText(0,0)
if NarcissusDB_PC.UseAlias then
local editBox = Narci_PlayerInfoFrame.PlayerName;
local text = strtrim(editBox:GetText());
editBox:SetText(text);
NarcissusDB_PC.PlayerAlias = text;
end
Narci_PlayerInfoFrame.PlayerName:ClearFocus()
end
PlaySound(54133);
self:GetParent():Show();
self:GetParent():Hide();
local parent = self:GetParent();
parent:SetAlpha(0);
C_Timer.After(0.7, function()
parent:AnimateValue();
end)
self:GetParent():SetAlpha(1);
self.A1:SetFromAlpha(self:GetParent():GetAlpha());
self:GetParent():Hide();
self.animOut:Stop();
self:GetParent():Show();
Narci_Character:SetAlpha(0);
self:GetParent():Show()
self:GetParent():Show()
self.VignetteRight.animIn:Play();