режим предателя + UI референсы и DragonUI

This commit is contained in:
2026-04-09 02:05:29 +04:00
parent 1109d19bb5
commit e8f1ae4ab9
397 changed files with 202750 additions and 37 deletions
@@ -0,0 +1,35 @@
local DressUpItemLink_orig = DressUpItemLink;
function DressUpItemLink(link)
if ( not link ) then
return;
end
if ( AuctionFrame:IsShown() ) then
if ( not AuctionDressUpFrame:IsShown() ) then
ShowUIPanel(AuctionDressUpFrame);
AuctionDressUpModel:SetUnit("player");
end
AuctionDressUpModel:TryOn(link);
else
DressUpItemLink_orig(link);
end
end
function SetAuctionDressUpBackground()
local texture = DressUpTexturePath();
AuctionDressUpBackgroundTop:SetTexture(texture..1);
AuctionDressUpBackgroundBot:SetTexture(texture..3);
end
function AuctionDressUpFrame_OnShow()
UIPanelWindows["AuctionFrame"].width = 1020;
UpdateUIPanelPositions(AuctionFrame);
PlaySound("igCharacterInfoOpen");
end
function AuctionDressUpFrame_OnHide()
UIPanelWindows["AuctionFrame"].width = 840;
UpdateUIPanelPositions();
PlaySound("igCharacterInfoClose");
end