Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Simpy
BlizzardInterfaceCode
Commits
467edfb1
Commit
467edfb1
authored
May 16, 2019
by
TOM_RUS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WOW-30430patch8.2.0_PTR
parent
b117620f
Changes
47
Hide whitespace changes
Inline
Side-by-side
Showing
47 changed files
with
1435 additions
and
334 deletions
+1435
-334
Interface/AddOns/Blizzard_APIDocumentation/ClubFinderDocumentation.lua
...Ons/Blizzard_APIDocumentation/ClubFinderDocumentation.lua
+52
-9
Interface/AddOns/Blizzard_APIDocumentation/GuildInfoDocumentation.lua
...dOns/Blizzard_APIDocumentation/GuildInfoDocumentation.lua
+18
-0
Interface/AddOns/Blizzard_APIDocumentation/MountJournalDocumentation.lua
...s/Blizzard_APIDocumentation/MountJournalDocumentation.lua
+5
-0
Interface/AddOns/Blizzard_APIDocumentation/PvpInfoDocumentation.lua
...AddOns/Blizzard_APIDocumentation/PvpInfoDocumentation.lua
+40
-5
Interface/AddOns/Blizzard_APIDocumentation/QuestLogDocumentation.lua
...ddOns/Blizzard_APIDocumentation/QuestLogDocumentation.lua
+5
-0
Interface/AddOns/Blizzard_APIDocumentation/VoiceChatDocumentation.lua
...dOns/Blizzard_APIDocumentation/VoiceChatDocumentation.lua
+18
-0
Interface/AddOns/Blizzard_AzeriteEssenceUI/Blizzard_AzeriteEssenceUI.lua
...s/Blizzard_AzeriteEssenceUI/Blizzard_AzeriteEssenceUI.lua
+56
-15
Interface/AddOns/Blizzard_AzeriteEssenceUI/Blizzard_AzeriteEssenceUI.xml
...s/Blizzard_AzeriteEssenceUI/Blizzard_AzeriteEssenceUI.xml
+35
-19
Interface/AddOns/Blizzard_Collections/Blizzard_MountCollection.lua
.../AddOns/Blizzard_Collections/Blizzard_MountCollection.lua
+16
-8
Interface/AddOns/Blizzard_Communities/ClubFinder.lua
Interface/AddOns/Blizzard_Communities/ClubFinder.lua
+135
-56
Interface/AddOns/Blizzard_Communities/ClubFinder.xml
Interface/AddOns/Blizzard_Communities/ClubFinder.xml
+22
-6
Interface/AddOns/Blizzard_Communities/ClubFinderApplicantList.lua
...e/AddOns/Blizzard_Communities/ClubFinderApplicantList.lua
+190
-18
Interface/AddOns/Blizzard_Communities/ClubFinderApplicantList.xml
...e/AddOns/Blizzard_Communities/ClubFinderApplicantList.xml
+9
-0
Interface/AddOns/Blizzard_Communities/CommunitiesFrame.lua
Interface/AddOns/Blizzard_Communities/CommunitiesFrame.lua
+8
-0
Interface/AddOns/Blizzard_Communities/CommunitiesFrame.xml
Interface/AddOns/Blizzard_Communities/CommunitiesFrame.xml
+8
-1
Interface/AddOns/Blizzard_Communities/CommunitiesList.lua
Interface/AddOns/Blizzard_Communities/CommunitiesList.lua
+1
-1
Interface/AddOns/Blizzard_Communities/CommunitiesMemberList.lua
...ace/AddOns/Blizzard_Communities/CommunitiesMemberList.lua
+188
-13
Interface/AddOns/Blizzard_Communities/CommunitiesMemberList.xml
...ace/AddOns/Blizzard_Communities/CommunitiesMemberList.xml
+23
-0
Interface/AddOns/Blizzard_Communities/CommunitiesSettings.lua
...rface/AddOns/Blizzard_Communities/CommunitiesSettings.lua
+29
-2
Interface/AddOns/Blizzard_Communities/CommunitiesSettings.xml
...rface/AddOns/Blizzard_Communities/CommunitiesSettings.xml
+2
-1
Interface/AddOns/Blizzard_Communities/GuildRoster.lua
Interface/AddOns/Blizzard_Communities/GuildRoster.lua
+3
-3
Interface/AddOns/Blizzard_Deprecated/Deprecated_8_2_0.lua
Interface/AddOns/Blizzard_Deprecated/Deprecated_8_2_0.lua
+24
-1
Interface/AddOns/Blizzard_GuildUI/Blizzard_GuildRoster.lua
Interface/AddOns/Blizzard_GuildUI/Blizzard_GuildRoster.lua
+3
-3
Interface/AddOns/Blizzard_ObjectiveTracker/Blizzard_ObjectiveTracker.lua
...s/Blizzard_ObjectiveTracker/Blizzard_ObjectiveTracker.lua
+3
-0
Interface/AddOns/Blizzard_ObjectiveTracker/Blizzard_ScenarioObjectiveTracker.lua
...rd_ObjectiveTracker/Blizzard_ScenarioObjectiveTracker.lua
+38
-0
Interface/AddOns/Blizzard_ObjectiveTracker/Blizzard_ScenarioObjectiveTracker.xml
...rd_ObjectiveTracker/Blizzard_ScenarioObjectiveTracker.xml
+1
-0
Interface/AddOns/Blizzard_PVPMatch/PVPMatchResults.lua
Interface/AddOns/Blizzard_PVPMatch/PVPMatchResults.lua
+18
-19
Interface/AddOns/Blizzard_PVPMatch/PVPMatchScoreboard.lua
Interface/AddOns/Blizzard_PVPMatch/PVPMatchScoreboard.lua
+18
-10
Interface/AddOns/Blizzard_PVPMatch/PVPMatchScoreboard.xml
Interface/AddOns/Blizzard_PVPMatch/PVPMatchScoreboard.xml
+2
-0
Interface/AddOns/Blizzard_PVPMatch/PVPMatchTable.lua
Interface/AddOns/Blizzard_PVPMatch/PVPMatchTable.lua
+25
-11
Interface/AddOns/Blizzard_SharedMapDataProviders/QuestDataProvider.lua
...Ons/Blizzard_SharedMapDataProviders/QuestDataProvider.lua
+45
-19
Interface/AddOns/Blizzard_UIWidgets/Blizzard_UIWidgetManager.lua
...ce/AddOns/Blizzard_UIWidgets/Blizzard_UIWidgetManager.lua
+0
-1
Interface/AddOns/Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua
...dOns/Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua
+32
-24
Interface/AddOns/Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.xml
...dOns/Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.xml
+19
-11
Interface/AddOns/Blizzard_UIWidgets/Blizzard_UIWidgetTemplateZoneControl.lua
...izzard_UIWidgets/Blizzard_UIWidgetTemplateZoneControl.lua
+2
-0
Interface/AddOns/Blizzard_UIWidgets/Blizzard_UIWidgetTemplateZoneControl.xml
...izzard_UIWidgets/Blizzard_UIWidgetTemplateZoneControl.xml
+13
-1
Interface/FrameXML/AlertFrameSystems.lua
Interface/FrameXML/AlertFrameSystems.lua
+0
-2
Interface/FrameXML/AudioOptionsPanels.lua
Interface/FrameXML/AudioOptionsPanels.lua
+30
-4
Interface/FrameXML/AudioOptionsPanels.xml
Interface/FrameXML/AudioOptionsPanels.xml
+25
-1
Interface/FrameXML/AzeriteEssenceUtil.lua
Interface/FrameXML/AzeriteEssenceUtil.lua
+29
-0
Interface/FrameXML/Constants.lua
Interface/FrameXML/Constants.lua
+1
-1
Interface/FrameXML/FrameXML.toc
Interface/FrameXML/FrameXML.toc
+1
-0
Interface/FrameXML/MainMenuBarMicroButtons.lua
Interface/FrameXML/MainMenuBarMicroButtons.lua
+30
-4
Interface/FrameXML/PaperDollFrame.lua
Interface/FrameXML/PaperDollFrame.lua
+127
-39
Interface/FrameXML/PaperDollFrame.xml
Interface/FrameXML/PaperDollFrame.xml
+2
-7
Interface/FrameXML/SplashFrame.lua
Interface/FrameXML/SplashFrame.lua
+49
-19
Interface/SharedXML/GameTooltipTemplate.xml
Interface/SharedXML/GameTooltipTemplate.xml
+35
-0
No files found.
Interface/AddOns/Blizzard_APIDocumentation/ClubFinderDocumentation.lua
View file @
467edfb1
...
...
@@ -49,15 +49,6 @@ local ClubFinder =
Name
=
"ClearClubFinderPostingsCache"
,
Type
=
"Function"
,
},
{
Name
=
"GetApplicantInfoList"
,
Type
=
"Function"
,
Returns
=
{
{
Name
=
"applicants"
,
Type
=
"table"
,
InnerType
=
"ClubFinderApplicantInfo"
,
Nilable
=
false
},
},
},
{
Name
=
"GetClubRecruitmentSettings"
,
Type
=
"Function"
,
...
...
@@ -119,6 +110,8 @@ local ClubFinder =
Arguments
=
{
{
Name
=
"clubId"
,
Type
=
"string"
,
Nilable
=
false
},
{
Name
=
"enableListing"
,
Type
=
"bool"
,
Nilable
=
false
},
{
Name
=
"autoAcceptApplicants"
,
Type
=
"bool"
,
Nilable
=
false
},
{
Name
=
"minimumLevel"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"itemLevelRequirement"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"name"
,
Type
=
"string"
,
Nilable
=
false
},
...
...
@@ -170,6 +163,29 @@ local ClubFinder =
{
Name
=
"requestType"
,
Type
=
"ClubFinderRequestType"
,
Nilable
=
false
},
},
},
{
Name
=
"ReturnCommunityApplicantList"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"clubId"
,
Type
=
"string"
,
Nilable
=
false
},
},
Returns
=
{
{
Name
=
"info"
,
Type
=
"table"
,
InnerType
=
"ClubFinderApplicantInfo"
,
Nilable
=
false
},
},
},
{
Name
=
"ReturnGuildApplicantList"
,
Type
=
"Function"
,
Returns
=
{
{
Name
=
"info"
,
Type
=
"table"
,
InnerType
=
"ClubFinderApplicantInfo"
,
Nilable
=
false
},
},
},
{
Name
=
"ReturnMatchingCommunityList"
,
Type
=
"Function"
,
...
...
@@ -188,6 +204,29 @@ local ClubFinder =
{
Name
=
"recruitingClubs"
,
Type
=
"table"
,
InnerType
=
"RecruitingClubInfo"
,
Nilable
=
false
},
},
},
{
Name
=
"ReturnPendingCommunityApplicantList"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"clubId"
,
Type
=
"string"
,
Nilable
=
false
},
},
Returns
=
{
{
Name
=
"info"
,
Type
=
"table"
,
InnerType
=
"ClubFinderApplicantInfo"
,
Nilable
=
false
},
},
},
{
Name
=
"ReturnPendingGuildApplicantList"
,
Type
=
"Function"
,
Returns
=
{
{
Name
=
"info"
,
Type
=
"table"
,
InnerType
=
"ClubFinderApplicantInfo"
,
Nilable
=
false
},
},
},
{
Name
=
"SetPlayerApplicantSettings"
,
Type
=
"Function"
,
...
...
@@ -260,6 +299,10 @@ local ClubFinder =
Type
=
"Event"
,
LiteralName
=
"CLUB_FINDER_RECRUITS_UPDATED"
,
Documentation
=
{
"Signals when we recieve the recruits list"
},
Payload
=
{
{
Name
=
"type"
,
Type
=
"ClubFinderRequestType"
,
Nilable
=
false
},
},
},
},
...
...
Interface/AddOns/Blizzard_APIDocumentation/GuildInfoDocumentation.lua
View file @
467edfb1
...
...
@@ -6,6 +6,15 @@ local GuildInfo =
Functions
=
{
{
Name
=
"CanEditOfficerNote"
,
Type
=
"Function"
,
Returns
=
{
{
Name
=
"canEditOfficerNote"
,
Type
=
"bool"
,
Nilable
=
false
},
},
},
{
Name
=
"CanSpeakInGuildChat"
,
Type
=
"Function"
,
...
...
@@ -15,6 +24,15 @@ local GuildInfo =
{
Name
=
"canSpeakInGuildChat"
,
Type
=
"bool"
,
Nilable
=
false
},
},
},
{
Name
=
"CanViewOfficerNote"
,
Type
=
"Function"
,
Returns
=
{
{
Name
=
"canViewOfficerNote"
,
Type
=
"bool"
,
Nilable
=
false
},
},
},
{
Name
=
"GetGuildNewsInfo"
,
Type
=
"Function"
,
...
...
Interface/AddOns/Blizzard_APIDocumentation/MountJournalDocumentation.lua
View file @
467edfb1
...
...
@@ -14,6 +14,11 @@ local MountJournal =
{
{
Name
=
"itemLocation"
,
Type
=
"table"
,
Mixin
=
"ItemLocationMixin"
,
Nilable
=
false
},
},
Returns
=
{
{
Name
=
"canContinue"
,
Type
=
"bool"
,
Nilable
=
false
},
},
},
{
Name
=
"AreMountEquipmentEffectsSuppressed"
,
...
...
Interface/AddOns/Blizzard_APIDocumentation/PvpInfoDocumentation.lua
View file @
467edfb1
...
...
@@ -175,6 +175,29 @@ local PvpInfo =
{
Name
=
"info"
,
Type
=
"HonorRewardInfo"
,
Nilable
=
true
},
},
},
{
Name
=
"GetMatchPVPStatColumn"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"pvpStatID"
,
Type
=
"number"
,
Nilable
=
false
},
},
Returns
=
{
{
Name
=
"info"
,
Type
=
"MatchPVPStatColumn"
,
Nilable
=
true
},
},
},
{
Name
=
"GetMatchPVPStatIDs"
,
Type
=
"Function"
,
Returns
=
{
{
Name
=
"pvpStatIDs"
,
Type
=
"table"
,
InnerType
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"GetNextHonorLevelForReward"
,
Type
=
"Function"
,
...
...
@@ -875,6 +898,18 @@ local PvpInfo =
{
Name
=
"achievementRewardedID"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"MatchPVPStatColumn"
,
Type
=
"Structure"
,
Fields
=
{
{
Name
=
"pvpStatID"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"columnHeaderID"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"orderIndex"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"name"
,
Type
=
"string"
,
Nilable
=
false
},
{
Name
=
"tooltip"
,
Type
=
"string"
,
Nilable
=
false
},
},
},
{
Name
=
"PVPPersonalRatedInfo"
,
Type
=
"Structure"
,
...
...
@@ -942,15 +977,15 @@ local PvpInfo =
},
},
{
Name
=
"PVPS
coreS
tatInfo"
,
Name
=
"PVPStatInfo"
,
Type
=
"Structure"
,
Fields
=
{
{
Name
=
"pvpStatID"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"pvpStatValue"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"name"
,
Type
=
"string"
,
Nilable
=
false
},
{
Name
=
"icon"
,
Type
=
"string"
,
Nilable
=
false
},
{
Name
=
"tooltip"
,
Type
=
"string"
,
Nilable
=
false
},
{
Name
=
"id"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"value"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"iconName"
,
Type
=
"string"
,
Nilable
=
false
},
},
},
{
...
...
@@ -976,7 +1011,7 @@ local PvpInfo =
{
Name
=
"mmrChange"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"talentSpec"
,
Type
=
"string"
,
Nilable
=
false
},
{
Name
=
"honorLevel"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"stats"
,
Type
=
"table"
,
InnerType
=
"PVPS
coreS
tatInfo"
,
Nilable
=
false
},
{
Name
=
"stats"
,
Type
=
"table"
,
InnerType
=
"PVPStatInfo"
,
Nilable
=
false
},
},
},
{
...
...
Interface/AddOns/Blizzard_APIDocumentation/QuestLogDocumentation.lua
View file @
467edfb1
...
...
@@ -344,6 +344,11 @@ local QuestLog =
Type
=
"Event"
,
LiteralName
=
"TREASURE_PICKER_CACHE_FLUSH"
,
},
{
Name
=
"WaypointUpdate"
,
Type
=
"Event"
,
LiteralName
=
"WAYPOINT_UPDATE"
,
},
{
Name
=
"WorldQuestCompletedBySpell"
,
Type
=
"Event"
,
...
...
Interface/AddOns/Blizzard_APIDocumentation/VoiceChatDocumentation.lua
View file @
467edfb1
...
...
@@ -189,6 +189,15 @@ local VoiceChat =
{
Name
=
"memberID"
,
Type
=
"number"
,
Nilable
=
true
},
},
},
{
Name
=
"GetMasterVolumeScale"
,
Type
=
"Function"
,
Returns
=
{
{
Name
=
"scale"
,
Type
=
"number"
,
Nilable
=
true
},
},
},
{
Name
=
"GetMemberGUID"
,
Type
=
"Function"
,
...
...
@@ -548,6 +557,15 @@ local VoiceChat =
{
Name
=
"volume"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"SetMasterVolumeScale"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"scale"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"SetMemberMuted"
,
Type
=
"Function"
,
...
...
Interface/AddOns/Blizzard_AzeriteEssenceUI/Blizzard_AzeriteEssenceUI.lua
View file @
467edfb1
UIPanelWindows
[
"AzeriteEssenceUI"
]
=
{
area
=
"left"
,
pushable
=
1
};
AzeriteEssenceUIMixin
=
{
};
AzeriteEssenceUIMixin
=
CreateFromMixins
(
CallbackRegistryBaseMixin
);
AzeriteEssenceUIMixin
:
GenerateCallbackEvents
(
{
"OnShow"
,
"OnHide"
,
});
local
ESSENCE_BUTTON_HEIGHT
=
41
;
local
ESSENCE_HEADER_HEIGHT
=
21
;
...
...
@@ -30,18 +36,20 @@ local AZERITE_ESSENCE_FRAME_EVENTS = {
};
local
MILESTONE_LOCATIONS
=
{
[
1
]
=
{
left
=
2
19
,
top
=
-
2
18
},
[
2
]
=
{
left
=
92
,
top
=
-
190
},
[
3
]
=
{
left
=
11
0
,
top
=
-
287
},
[
4
]
=
{
left
=
22
3
,
top
=
-
3
48
},
[
5
]
=
{
left
=
3
3
2
,
top
=
-
280
},
[
6
]
=
{
left
=
3
30
,
top
=
-
1
5
0
},
[
7
]
=
{
left
=
2
1
3
,
top
=
-
9
0
},
[
1
]
=
{
left
=
2
37
,
top
=
-
2
35
},
[
2
]
=
{
left
=
100
,
top
=
-
203
},
[
3
]
=
{
left
=
11
7
,
top
=
-
310
},
[
4
]
=
{
left
=
2
4
2
,
top
=
-
3
76
},
[
5
]
=
{
left
=
3
6
2
,
top
=
-
301
},
[
6
]
=
{
left
=
3
56
,
top
=
-
1
6
0
},
[
7
]
=
{
left
=
23
2
,
top
=
-
9
4
},
};
local
LOCKED_RUNE_ATLASES
=
{
"heartofazeroth-slot-minor-unlearned-bottomleft"
,
"heartofazeroth-slot-minor-unlearned-topright"
};
function
AzeriteEssenceUIMixin
:
OnLoad
()
CallbackRegistryBaseMixin
.
OnLoad
(
self
);
self
.
TopTileStreaks
:
Hide
();
self
:
SetupModelScene
();
self
:
SetupMilestones
();
...
...
@@ -145,7 +153,7 @@ function AzeriteEssenceUIMixin:OnShow()
local
itemLocation
=
C_AzeriteItem
.
FindActiveAzeriteItem
();
if
itemLocation
then
local
item
=
Item
:
CreateFromItemLocation
(
itemLocation
);
self
.
itemDataLoadedCancelFunc
=
item
:
Continue
WithCancel
OnItemLoad
(
function
()
item
:
ContinueOnItemLoad
(
function
()
self
:
SetPortraitToAsset
(
item
:
GetItemIcon
());
self
:
SetTitle
(
item
:
GetItemName
());
end
);
...
...
@@ -157,6 +165,8 @@ function AzeriteEssenceUIMixin:OnShow()
self
:
RefreshMilestones
();
PlaySound
(
SOUNDKIT
.
IG_CHARACTER_INFO_OPEN
);
-- temp?
self
:
TriggerEvent
(
AzeriteEssenceUIMixin
.
Event
.
OnShow
);
end
function
AzeriteEssenceUIMixin
:
OnHide
()
...
...
@@ -165,6 +175,11 @@ function AzeriteEssenceUIMixin:OnHide()
CloseAllBags
(
self
);
end
if
self
.
itemDataLoadedCancelFunc
then
self
.
itemDataLoadedCancelFunc
();
self
.
itemDataLoadedCancelFunc
=
nil
;
end
FrameUtil
.
UnregisterFrameForEvents
(
self
,
AZERITE_ESSENCE_FRAME_EVENTS
);
self
:
ClearNewlyActivatedEssence
();
...
...
@@ -175,6 +190,8 @@ function AzeriteEssenceUIMixin:OnHide()
AzeriteEssenceLearnAnimFrame
:
StopAnim
();
PlaySound
(
SOUNDKIT
.
IG_CHARACTER_INFO_CLOSE
);
-- temp?
self
:
TriggerEvent
(
AzeriteEssenceUIMixin
.
Event
.
OnHide
);
end
function
AzeriteEssenceUIMixin
:
OnMouseUp
(
mouseButton
)
...
...
@@ -220,8 +237,25 @@ function AzeriteEssenceUIMixin:RefreshPowerLevel()
end
end
function
AzeriteEssenceUIMixin
:
MeetsPowerLevel
(
powerLevel
)
return
self
.
powerLevel
>=
powerLevel
;
function
AzeriteEssenceUIMixin
:
OnEnterPowerLevelBadgeFrame
()
local
itemLocation
=
C_AzeriteItem
.
FindActiveAzeriteItem
();
if
itemLocation
then
local
item
=
Item
:
CreateFromItemLocation
(
itemLocation
);
self
.
itemDataLoadedCancelFunc
=
item
:
ContinueWithCancelOnItemLoad
(
function
()
GameTooltip
:
SetOwner
(
self
.
PowerLevelBadgeFrame
,
"ANCHOR_RIGHT"
,
-
7
,
-
6
);
GameTooltip_SetTitle
(
GameTooltip
,
item
:
GetItemName
(),
item
:
GetItemQualityColor
().
color
);
GameTooltip_AddColoredLine
(
GameTooltip
,
string.format
(
HEART_OF_AZEROTH_LEVEL
,
self
.
powerLevel
),
WHITE_FONT_COLOR
);
GameTooltip
:
Show
();
end
);
end
end
function
AzeriteEssenceUIMixin
:
OnLeavePowerLevelBadgeFrame
()
GameTooltip
:
Hide
();
if
self
.
itemDataLoadedCancelFunc
then
self
.
itemDataLoadedCancelFunc
();
self
.
itemDataLoadedCancelFunc
=
nil
;
end
end
function
AzeriteEssenceUIMixin
:
RefreshMilestones
()
...
...
@@ -232,16 +266,16 @@ function AzeriteEssenceUIMixin:RefreshMilestones()
for
i
,
lineContainer
in
ipairs
(
self
.
Lines
)
do
if
lineContainer
.
toButton
.
unlocked
then
lineContainer
:
SetState
(
PowerDependencyLineMixin
.
LINE_STATE_CONNECTED
);
lineContainer
:
SetAlpha
(
0
.
2
5
);
lineContainer
:
SetAlpha
(
0
.
1
5
);
else
if
lineContainer
.
fromButton
.
unlocked
and
lineContainer
.
toButton
.
canUnlock
then
lineContainer
:
SetDisconnectedColor
(
DISCONNECTED_LINE_COLOR
);
lineContainer
:
SetState
(
PowerDependencyLineMixin
.
LINE_STATE_DISCONNECTED
);
lineContainer
:
SetAlpha
(
0
.
1
);
lineContainer
:
SetAlpha
(
0
.
08
);
else
lineContainer
:
SetDisconnectedColor
(
LOCKED_LINE_COLOR
);
lineContainer
:
SetState
(
PowerDependencyLineMixin
.
LINE_STATE_DISCONNECTED
);
lineContainer
:
SetAlpha
(
0
.
1
);
lineContainer
:
SetAlpha
(
0
.
08
);
end
end
end
...
...
@@ -339,6 +373,9 @@ function AzeriteEssenceListMixin:OnLoad()
self
.
dynamic
=
function
(
...
)
return
self
:
CalculateScrollOffset
(
...
);
end
HybridScrollFrame_CreateButtons
(
self
,
"AzeriteEssenceButtonTemplate"
,
4
,
-
ESSENCE_LIST_PADDING
,
"TOPLEFT"
,
"TOPLEFT"
,
0
,
-
ESSENCE_BUTTON_OFFSET
,
"TOP"
,
"BOTTOM"
);
self
.
HeaderButton
:
SetParent
(
self
.
ScrollChild
);
self
:
RegisterEvent
(
"VARIABLES_LOADED"
);
self
.
collapsed
=
GetCVarBool
(
"otherRolesAzeriteEssencesHidden"
);
end
function
AzeriteEssenceListMixin
:
OnShow
()
...
...
@@ -360,6 +397,9 @@ function AzeriteEssenceListMixin:OnEvent(event)
self
:
SetupModelScene
(
true
);
elseif
event
==
"PENDING_AZERITE_ESSENCE_CHANGED"
then
self
:
Refresh
();
elseif
event
==
"VARIABLES_LOADED"
then
self
.
collapsed
=
GetCVarBool
(
"otherRolesAzeriteEssencesHidden"
);
self
:
Refresh
();
end
end
...
...
@@ -425,6 +465,7 @@ end
function
AzeriteEssenceListMixin
:
ToggleHeader
()
self
.
collapsed
=
not
self
.
collapsed
;
SetCVar
(
"otherRolesAzeriteEssencesHidden"
,
self
.
collapsed
);
self
:
Refresh
();
end
...
...
@@ -762,7 +803,7 @@ function AzeriteMilestoneSlotMixin:Refresh()
stateFrame
.
EmptyGlow
.
Anim
:
Play
();
end
else
if
self
:
GetParent
():
MeetsPowerLevel
(
milestoneInfo
.
requiredLevel
)
then
if
milestoneInfo
.
canUnlock
then
self
:
ShowStateFrame
(
self
.
AvailableState
);
if
C_AzeriteEssence
.
IsAtForge
()
then
self
.
AvailableState
.
GlowAnim
:
Stop
();
...
...
Interface/AddOns/Blizzard_AzeriteEssenceUI/Blizzard_AzeriteEssenceUI.xml
View file @
467edfb1
...
...
@@ -87,7 +87,7 @@
<Texture
parentKey=
"Rune"
atlas=
"heartofazeroth-slot-minor-unactivated-rune"
alphaMode=
"ADD"
>
<Size
x=
"46"
y=
"49"
/>
<Anchors>
<Anchor
point=
"CENTER"
y=
"
-2
"
/>
<Anchor
point=
"CENTER"
y=
"
0
"
/>
</Anchors>
</Texture>
</Layer>
...
...
@@ -217,7 +217,8 @@
<Texture
parentKey=
"Icon"
atlas=
"heartofazeroth-node-on"
setAllPoints=
"true"
/>
</Layer>
<Layer
level=
"ARTWORK"
textureSubLevel=
"1"
>
<Texture
parentKey=
"Glow"
atlas=
"heartofazeroth-node-glow"
useAtlasSize=
"true"
alphaMode=
"ADD"
alpha=
"0"
>
<Texture
parentKey=
"Glow"
atlas=
"heartofazeroth-node-glow"
alphaMode=
"ADD"
alpha=
"0"
>
<Size
x=
"49"
y=
"47"
/>
<Anchors>
<Anchor
point=
"CENTER"
/>
</Anchors>
...
...
@@ -370,22 +371,27 @@
</Frame>
<Frame
name=
"AzeriteEssenceUI"
inherits=
"PortraitFrameTemplate"
toplevel=
"true"
parent=
"UIParent"
enableMouse=
"true"
hidden=
"true"
mixin=
"AzeriteEssenceUIMixin"
>
<Size
x=
"
665
"
y=
"
469
"
/>
<Size
x=
"
707
"
y=
"
510
"
/>
<Anchors>
<Anchor
point=
"CENTER"
/>
</Anchors>
<Frames>
<Frame
parentKey=
"PowerLevelBadgeFrame"
frameStrata=
"HIGH"
>
<Size
x=
"6
4
"
y=
"6
4
"
/>
<Size
x=
"
3
6"
y=
"
3
6"
/>
<Anchors>
<Anchor
point=
"TOPLEFT"
x=
"25"
y=
"-26"
/>
</Anchors>
<Layers>
<Layer
level=
"OVERLAY"
>
<Texture
parentKey=
"Ring"
file=
"Interface\Minimap\MiniMap-TrackingBorder"
setAllPoints=
"true"
/>
<Texture
parentKey=
"Ring"
file=
"Interface\Minimap\MiniMap-TrackingBorder"
>
<Size
x=
"64"
y=
"64"
/>
<Anchors>
<Anchor
point=
"TOPLEFT"
/>
</Anchors>
</Texture>
<FontString
parentKey=
"Label"
inherits=
"SystemFont_Shadow_Med2"
>
<Anchors>
<Anchor
point=
"CENTER"
x=
"
-13
"
y=
"1
3
"
/>
<Anchor
point=
"CENTER"
x=
"
1
"
y=
"
-
1"
/>
</Anchors>
<Color
r=
"1.0"
g=
"0.82"
b=
"0"
/>
</FontString>
...
...
@@ -394,17 +400,25 @@
<Texture
parentKey=
"BackgroundBlack"
alpha=
"0.7"
>
<Size
x=
"22"
y=
"22"
/>
<Anchors>
<Anchor
point=
"
TOPLEFT"
relativeKey=
"$parent.Background"
relativePoint=
"TOPLEFT"
x=
"8"
y=
"-7
"
/>
<Anchor
point=
"
CENTER
"
/>
</Anchors>
<Color
r=
"0"
g=
"0"
b=
"0"
/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnter>
self:GetParent():OnEnterPowerLevelBadgeFrame();
</OnEnter>
<OnLeave>
self:GetParent():OnLeavePowerLevelBadgeFrame();
</OnLeave>
</Scripts>
</Frame>
<Frame
parentKey=
"LeftInset"
useParentLevel=
"true"
inherits=
"InsetFrameTemplate"
>
<Size
x=
"4
43
"
/>
<Size
x=
"4
85
"
/>
<Anchors>
<Anchor
point=
"TOPLEFT"
x=
"4"
y=
"-2
5
"
/>
<Anchor
point=
"TOPLEFT"
x=
"4"
y=
"-2
4
"
/>
<Anchor
point=
"BOTTOMLEFT"
x=
"4"
y=
"6"
/>
</Anchors>
</Frame>
...
...
@@ -425,9 +439,9 @@
</Layers>
</Frame>
<ModelScene
parentKey=
"ItemModelScene"
inherits=
"NonInteractableModelSceneMixinTemplate"
useParentLevel=
"true"
drawLayer=
"BORDER"
>
<Size
x=
"43
5
"
y=
"4
31
"
/>
<Size
x=
"4
7
3"
y=
"4
69
"
/>
<Anchors>
<Anchor
point=
"TOPLEFT"
relativeKey=
"$parent.LeftInset"
x=
"
4
"
y=
"-
3
"
/>
<Anchor
point=
"TOPLEFT"
relativeKey=
"$parent.LeftInset"
x=
"
6
"
y=
"-
6
"
/>
</Anchors>
</ModelScene>
<Frame
parentKey=
"StarsAnimationFrame1"
inherits=
"AzeriteEssenceStarsAnimationFrameTemplate"
>
...
...
@@ -549,22 +563,24 @@
<Layers>
<Layer
level=
"BORDER"
textureSubLevel=
"-2"
>
<Texture
parentKey=
"OrbBackground"
>
<Size
x=
"4
3
5"
y=
"4
3
1"
/>
<Size
x=
"4
7
5"
y=
"4
7
1"
/>
<Anchors>
<Anchor
point=
"TOPLEFT"
relativeKey=
"$parent.ItemModelScene"
x=
"
-1
"
y=
"1"
/>
<Anchor
point=
"TOPLEFT"
relativeKey=
"$parent.ItemModelScene"
x=
"
0
"
y=
"1"
/>
</Anchors>
<Color
r=
"0"
g=
"0"
b=
"0"
a=
"1"
/>
</Texture>
</Layer>
<Layer
level=
"ARTWORK"
textureSubLevel=
"1"
>
<Texture
parentKey=
"OrbGlass"
atlas=
"heartofazeroth-orb-glass"
useAtlasSize=
"true"
alphaMode=
"ADD"
alpha=
"0.6"
>
<Texture
parentKey=
"OrbGlass"
atlas=
"heartofazeroth-orb-glass"
alphaMode=
"ADD"
alpha=
"0.3"
>
<Size
x=
"438"
y=
"438"
/>
<Anchors>
<Anchor
point=
"CENTER"
relativeKey=
"$parent.OrbBackground"
/>
</Anchors>
</Texture>
</Layer>
<Layer
level=
"ARTWORK"
textureSubLevel=
"2"
>
<Texture
parentKey=
"OrbShadow"
atlas=
"heartofazeroth-orb-shadow"
useAtlasSize=
"true"
>
<Texture
parentKey=
"OrbShadow"
atlas=
"heartofazeroth-orb-shadow"
>
<Size
x=
"438"
y=
"438"
/>
<Anchors>
<Anchor
point=
"CENTER"
relativeKey=
"$parent.OrbBackground"
/>
</Anchors>
...
...
@@ -572,7 +588,7 @@
</Layer>
<Layer
level=
"ARTWORK"
textureSubLevel=
"3"
>
<Texture
parentKey=
"ActivationGlow"
atlas=
"heartofazeroth-orb-activated"
alpha=
"0"
alphaMode=
"ADD"
>
<Size
x=
"4
00
"
y=
"4
00
"
/>
<Size
x=
"4
38
"
y=
"4
38
"
/>
<Anchors>
<Anchor
point=
"CENTER"
relativeKey=
"$parent.OrbBackground"
/>
</Anchors>
...
...
@@ -586,7 +602,7 @@
</Layer>
<Layer
level=
"ARTWORK"
textureSubLevel=
"4"
>
<Texture
parentKey=
"OrbRing"
atlas=
"heartofazeroth-orb-ring"
>
<Size
x=
"4
3
7"
y=
"4
3
3"
/>
<Size
x=
"4
7
7"
y=
"4
7
3"
/>
<Anchors>
<Anchor
point=
"CENTER"
relativeKey=
"$parent.OrbBackground"
/>
</Anchors>
...
...
@@ -662,13 +678,13 @@
</Anchors>
</Texture>
<Texture
parentKey=
"OrbActivated"
parentArray=
"Textures"
alpha=
"0"
alphaMode=
"ADD"
atlas=
"heartofazeroth-orb-activated"
>
<Size
x=
"40
1
"
y=
"
392
"
/>
<Size
x=
"4
3
0"
y=
"
430
"
/>
<Anchors>
<Anchor
point=
"CENTER"
/>
</Anchors>
</Texture>
<Texture
parentKey=
"OrbActivated2"
parentArray=
"Textures"
alpha=
"0"
alphaMode=
"ADD"
atlas=
"heartofazeroth-orb-activated"
>
<Size
x=
"40
1
"
y=
"
392
"
/>
<Size
x=
"4
3
0"
y=
"
430
"
/>