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
b8655359
Commit
b8655359
authored
Oct 28, 2020
by
TOM_RUS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WOW-36401patch9.0.2_Beta
parent
3234e434
Changes
95
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
95 changed files
with
1998 additions
and
973 deletions
+1998
-973
Interface/AddOns/Blizzard_APIDocumentation/CovenantsDocumentation.lua
...dOns/Blizzard_APIDocumentation/CovenantsDocumentation.lua
+4
-0
Interface/AddOns/Blizzard_APIDocumentation/CurrencyConstantsDocumentation.lua
...zzard_APIDocumentation/CurrencyConstantsDocumentation.lua
+7
-4
Interface/AddOns/Blizzard_APIDocumentation/LegendaryCraftingDocumentation.lua
...zzard_APIDocumentation/LegendaryCraftingDocumentation.lua
+4
-1
Interface/AddOns/Blizzard_APIDocumentation/LegendaryCraftingTypesDocumentation.lua
..._APIDocumentation/LegendaryCraftingTypesDocumentation.lua
+13
-0
Interface/AddOns/Blizzard_APIDocumentation/QuestTaskInfoDocumentation.lua
.../Blizzard_APIDocumentation/QuestTaskInfoDocumentation.lua
+14
-0
Interface/AddOns/Blizzard_APIDocumentation/SoulbindsDocumentation.lua
...dOns/Blizzard_APIDocumentation/SoulbindsDocumentation.lua
+1
-0
Interface/AddOns/Blizzard_AnimaDiversionUI/AnimaDiversionDataProvider.lua
.../Blizzard_AnimaDiversionUI/AnimaDiversionDataProvider.lua
+3
-11
Interface/AddOns/Blizzard_AnimaDiversionUI/Blizzard_AnimaDiversionUI.lua
...s/Blizzard_AnimaDiversionUI/Blizzard_AnimaDiversionUI.lua
+0
-123
Interface/AddOns/Blizzard_AnimaDiversionUI/Blizzard_AnimaDiversionUI.xml
...s/Blizzard_AnimaDiversionUI/Blizzard_AnimaDiversionUI.xml
+0
-65
Interface/AddOns/Blizzard_CharacterCreate/Blizzard_CharacterCreate.lua
...Ons/Blizzard_CharacterCreate/Blizzard_CharacterCreate.lua
+5
-5
Interface/AddOns/Blizzard_CovenantCallings/CovenantCallings.lua
...ace/AddOns/Blizzard_CovenantCallings/CovenantCallings.lua
+0
-1
Interface/AddOns/Blizzard_CovenantCallings/CovenantCallings.xml
...ace/AddOns/Blizzard_CovenantCallings/CovenantCallings.xml
+4
-9
Interface/AddOns/Blizzard_CovenantRenown/Blizzard_CovenantRenown.lua
...ddOns/Blizzard_CovenantRenown/Blizzard_CovenantRenown.lua
+273
-145
Interface/AddOns/Blizzard_CovenantRenown/Blizzard_CovenantRenown.xml
...ddOns/Blizzard_CovenantRenown/Blizzard_CovenantRenown.xml
+33
-22
Interface/AddOns/Blizzard_CovenantSanctum/Blizzard_CovenantSanctum.lua
...Ons/Blizzard_CovenantSanctum/Blizzard_CovenantSanctum.lua
+11
-178
Interface/AddOns/Blizzard_CovenantSanctum/Blizzard_CovenantSanctum.xml
...Ons/Blizzard_CovenantSanctum/Blizzard_CovenantSanctum.xml
+1
-1
Interface/AddOns/Blizzard_CovenantSanctum/Blizzard_CovenantSanctumUpgrades.lua
...zard_CovenantSanctum/Blizzard_CovenantSanctumUpgrades.lua
+117
-39
Interface/AddOns/Blizzard_CovenantSanctum/Blizzard_CovenantSanctumUpgrades.xml
...zard_CovenantSanctum/Blizzard_CovenantSanctumUpgrades.xml
+14
-6
Interface/AddOns/Blizzard_CovenantToasts/Blizzard_CovenantRenownToast.lua
.../Blizzard_CovenantToasts/Blizzard_CovenantRenownToast.lua
+3
-0
Interface/AddOns/Blizzard_EncounterJournal/Blizzard_EncounterJournal.lua
...s/Blizzard_EncounterJournal/Blizzard_EncounterJournal.lua
+18
-5
Interface/AddOns/Blizzard_EncounterJournal/Blizzard_LootJournal.lua
...AddOns/Blizzard_EncounterJournal/Blizzard_LootJournal.lua
+156
-11
Interface/AddOns/Blizzard_EncounterJournal/Blizzard_LootJournal.xml
...AddOns/Blizzard_EncounterJournal/Blizzard_LootJournal.xml
+40
-6
Interface/AddOns/Blizzard_GarrisonTemplates/Blizzard_CovenantMissionTemplates.xml
...d_GarrisonTemplates/Blizzard_CovenantMissionTemplates.xml
+9
-0
Interface/AddOns/Blizzard_GarrisonTemplates/Blizzard_GarrisonSharedTemplates.lua
...rd_GarrisonTemplates/Blizzard_GarrisonSharedTemplates.lua
+16
-7
Interface/AddOns/Blizzard_GarrisonUI/Blizzard_AdventuresCompleteScreen.lua
...Blizzard_GarrisonUI/Blizzard_AdventuresCompleteScreen.lua
+11
-2
Interface/AddOns/Blizzard_GarrisonUI/Blizzard_AdventuresCompleteScreen.xml
...Blizzard_GarrisonUI/Blizzard_AdventuresCompleteScreen.xml
+1
-1
Interface/AddOns/Blizzard_GarrisonUI/Blizzard_AdventuresRewardsScreen.lua
.../Blizzard_GarrisonUI/Blizzard_AdventuresRewardsScreen.lua
+10
-0
Interface/AddOns/Blizzard_GarrisonUI/Blizzard_AdventuresRewardsScreen.xml
.../Blizzard_GarrisonUI/Blizzard_AdventuresRewardsScreen.xml
+0
-10
Interface/AddOns/Blizzard_GarrisonUI/Blizzard_CovenantMissionUI.lua
...AddOns/Blizzard_GarrisonUI/Blizzard_CovenantMissionUI.lua
+1
-1
Interface/AddOns/Blizzard_GarrisonUI/Blizzard_CovenantMissionUI.xml
...AddOns/Blizzard_GarrisonUI/Blizzard_CovenantMissionUI.xml
+10
-1
Interface/AddOns/Blizzard_GarrisonUI/Blizzard_GarrisonLandingPage.lua
...dOns/Blizzard_GarrisonUI/Blizzard_GarrisonLandingPage.lua
+8
-35
Interface/AddOns/Blizzard_GarrisonUI/Blizzard_GarrisonLandingPage.xml
...dOns/Blizzard_GarrisonUI/Blizzard_GarrisonLandingPage.xml
+2
-7
Interface/AddOns/Blizzard_LandingSoulbinds/Blizzard_LandingRenownButton.lua
...lizzard_LandingSoulbinds/Blizzard_LandingRenownButton.lua
+47
-0
Interface/AddOns/Blizzard_LandingSoulbinds/Blizzard_LandingRenownButton.xml
...lizzard_LandingSoulbinds/Blizzard_LandingRenownButton.xml
+35
-0
Interface/AddOns/Blizzard_LandingSoulbinds/Blizzard_LandingSoulbindButton.xml
...zzard_LandingSoulbinds/Blizzard_LandingSoulbindButton.xml
+1
-1
Interface/AddOns/Blizzard_LandingSoulbinds/Blizzard_LandingSoulbindPanel.lua
...izzard_LandingSoulbinds/Blizzard_LandingSoulbindPanel.lua
+30
-1
Interface/AddOns/Blizzard_LandingSoulbinds/Blizzard_LandingSoulbindPanel.xml
...izzard_LandingSoulbinds/Blizzard_LandingSoulbindPanel.xml
+17
-13
Interface/AddOns/Blizzard_LandingSoulbinds/Blizzard_LandingSoulbinds.toc
...s/Blizzard_LandingSoulbinds/Blizzard_LandingSoulbinds.toc
+1
-0
Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua
Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua
+11
-1
Interface/AddOns/Blizzard_ObjectiveTracker/Blizzard_ScenarioObjectiveTracker.xml
...rd_ObjectiveTracker/Blizzard_ScenarioObjectiveTracker.xml
+3
-3
Interface/AddOns/Blizzard_RuneforgeUI/Blizzard_RuneforgeFrame.lua
...e/AddOns/Blizzard_RuneforgeUI/Blizzard_RuneforgeFrame.lua
+24
-8
Interface/AddOns/Blizzard_RuneforgeUI/Blizzard_RuneforgePowerList.lua
...dOns/Blizzard_RuneforgeUI/Blizzard_RuneforgePowerList.lua
+90
-18
Interface/AddOns/Blizzard_RuneforgeUI/Blizzard_RuneforgePowerList.xml
...dOns/Blizzard_RuneforgeUI/Blizzard_RuneforgePowerList.xml
+22
-1
Interface/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsConduitList.lua
...dOns/Blizzard_Soulbinds/Blizzard_SoulbindsConduitList.lua
+3
-2
Interface/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsConduitList.xml
...dOns/Blizzard_Soulbinds/Blizzard_SoulbindsConduitList.xml
+47
-17
Interface/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsNode.lua
...face/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsNode.lua
+11
-1
Interface/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsSelectButton.xml
...Ons/Blizzard_Soulbinds/Blizzard_SoulbindsSelectButton.xml
+2
-2
Interface/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsSelectGroup.lua
...dOns/Blizzard_Soulbinds/Blizzard_SoulbindsSelectGroup.lua
+1
-1
Interface/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsTree.lua
...face/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsTree.lua
+11
-3
Interface/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsUtil.lua
...face/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsUtil.lua
+13
-0
Interface/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsViewer.lua
...ce/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsViewer.lua
+65
-22
Interface/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsViewer.xml
...ce/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsViewer.xml
+157
-44
Interface/AddOns/Blizzard_SubscriptionInterstitialUI/Blizzard_SubscriptionInterstitialUI.lua
...ionInterstitialUI/Blizzard_SubscriptionInterstitialUI.lua
+31
-7
Interface/AddOns/Blizzard_SubscriptionInterstitialUI/Blizzard_SubscriptionInterstitialUI.xml
...ionInterstitialUI/Blizzard_SubscriptionInterstitialUI.xml
+19
-11
Interface/AddOns/Blizzard_TorghastLevelPicker/Blizzard_TorghastLevelPicker.lua
...zard_TorghastLevelPicker/Blizzard_TorghastLevelPicker.lua
+39
-1
Interface/AddOns/Blizzard_TradeSkillUI/Blizzard_TradeSkillOptionalReagentList.lua
...d_TradeSkillUI/Blizzard_TradeSkillOptionalReagentList.lua
+6
-0
Interface/AddOns/Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua
...dOns/Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua
+1
-1
Interface/AddOns/Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.xml
...dOns/Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.xml
+2
-0
Interface/AddOns/Blizzard_UIWidgets/Blizzard_UIWidgetTemplateTextureWithAnimation.xml
...Widgets/Blizzard_UIWidgetTemplateTextureWithAnimation.xml
+4
-0
Interface/AddOns/Blizzard_VoidStorageUI/Blizzard_VoidStorageUI.lua
.../AddOns/Blizzard_VoidStorageUI/Blizzard_VoidStorageUI.lua
+11
-3
Interface/FrameXML/ActionStatus.lua
Interface/FrameXML/ActionStatus.lua
+16
-1
Interface/FrameXML/AlertFrameSystems.lua
Interface/FrameXML/AlertFrameSystems.lua
+15
-0
Interface/FrameXML/ArtifactBar.xml
Interface/FrameXML/ArtifactBar.xml
+1
-1
Interface/FrameXML/BNet.lua
Interface/FrameXML/BNet.lua
+5
-0
Interface/FrameXML/BankFrame.lua
Interface/FrameXML/BankFrame.lua
+3
-2
Interface/FrameXML/ChatFrame.lua
Interface/FrameXML/ChatFrame.lua
+9
-4
Interface/FrameXML/CompactUnitFrame.lua
Interface/FrameXML/CompactUnitFrame.lua
+1
-0
Interface/FrameXML/ContainerFrame.lua
Interface/FrameXML/ContainerFrame.lua
+6
-3
Interface/FrameXML/EquipmentFlyout.lua
Interface/FrameXML/EquipmentFlyout.lua
+3
-2
Interface/FrameXML/EquipmentManager.lua
Interface/FrameXML/EquipmentManager.lua
+5
-3
Interface/FrameXML/ExpBar.xml
Interface/FrameXML/ExpBar.xml
+1
-1
Interface/FrameXML/ExtraAbilityContainer.lua
Interface/FrameXML/ExtraAbilityContainer.lua
+1
-0
Interface/FrameXML/Fonts.xml
Interface/FrameXML/Fonts.xml
+38
-0
Interface/FrameXML/HonorBar.xml
Interface/FrameXML/HonorBar.xml
+1
-1
Interface/FrameXML/ItemButtonTemplate.lua
Interface/FrameXML/ItemButtonTemplate.lua
+4
-4
Interface/FrameXML/MainMenuBar.xml
Interface/FrameXML/MainMenuBar.xml
+1
-1
Interface/FrameXML/MainMenuBarMicroButtons.lua
Interface/FrameXML/MainMenuBarMicroButtons.lua
+30
-0
Interface/FrameXML/MainMenuBarMicroButtons.xml
Interface/FrameXML/MainMenuBarMicroButtons.xml
+2
-1
Interface/FrameXML/MerchantFrame.lua
Interface/FrameXML/MerchantFrame.lua
+8
-7
Interface/FrameXML/RuneforgeUtil.lua
Interface/FrameXML/RuneforgeUtil.lua
+53
-8
Interface/FrameXML/StatusTrackingBarTemplate.xml
Interface/FrameXML/StatusTrackingBarTemplate.xml
+1
-1
Interface/FrameXML/Timer.lua
Interface/FrameXML/Timer.lua
+3
-1
Interface/FrameXML/TradeFrame.lua
Interface/FrameXML/TradeFrame.lua
+5
-2
Interface/FrameXML/UIParent.lua
Interface/FrameXML/UIParent.lua
+46
-38
Interface/FrameXML/UnitPositionFrameTemplates.lua
Interface/FrameXML/UnitPositionFrameTemplates.lua
+39
-25
Interface/FrameXML/WorldMapFrame.lua
Interface/FrameXML/WorldMapFrame.lua
+19
-0
Interface/SharedXML/AnchorUtil.lua
Interface/SharedXML/AnchorUtil.lua
+15
-2
Interface/SharedXML/HelpTip.lua
Interface/SharedXML/HelpTip.lua
+9
-1
Interface/SharedXML/PagedList.lua
Interface/SharedXML/PagedList.lua
+11
-4
Interface/SharedXML/ScriptedAnimations/ScriptAnimatedModelSceneActor.lua
...dXML/ScriptedAnimations/ScriptAnimatedModelSceneActor.lua
+1
-1
Interface/SharedXML/ScriptedAnimations/ScriptedAnimationEffects.lua
...SharedXML/ScriptedAnimations/ScriptedAnimationEffects.lua
+8
-0
Interface/SharedXML/SharedColorConstants.lua
Interface/SharedXML/SharedColorConstants.lua
+5
-1
Interface/SharedXML/SharedFonts.xml
Interface/SharedXML/SharedFonts.xml
+114
-0
Interface/SharedXML/SoundKitConstants.lua
Interface/SharedXML/SoundKitConstants.lua
+6
-1
Interface/SharedXML/TemplatedList.lua
Interface/SharedXML/TemplatedList.lua
+20
-0
No files found.
Interface/AddOns/Blizzard_APIDocumentation/CovenantsDocumentation.lua
View file @
b8655359
...
...
@@ -68,6 +68,10 @@ local Covenants =
{
Name
=
"animaGemsFullSoundKit"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"animaNewGemSoundKit"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"animaReinforceSelectSoundKit"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"upgradeTabSelectSoundKitID"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"reservoirFullSoundKitID"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"beginResearchSoundKitID"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"renownFanfareSoundKitID"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"name"
,
Type
=
"string"
,
Nilable
=
false
},
{
Name
=
"soulbindIDs"
,
Type
=
"table"
,
InnerType
=
"number"
,
Nilable
=
false
},
},
...
...
Interface/AddOns/Blizzard_APIDocumentation/CurrencyConstantsDocumentation.lua
View file @
b8655359
...
...
@@ -94,9 +94,9 @@ local CurrencyConstants =
{
Name
=
"CurrencySource"
,
Type
=
"Enumeration"
,
NumValues
=
4
6
,
NumValues
=
4
9
,
MinValue
=
0
,
MaxValue
=
4
5
,
MaxValue
=
4
8
,
Fields
=
{
{
Name
=
"ConvertOldItem"
,
Type
=
"CurrencySource"
,
EnumValue
=
0
},
...
...
@@ -144,7 +144,10 @@ local CurrencyConstants =
{
Name
=
"AccountCopy"
,
Type
=
"CurrencySource"
,
EnumValue
=
42
},
{
Name
=
"WeeklyRewardChest"
,
Type
=
"CurrencySource"
,
EnumValue
=
43
},
{
Name
=
"GarrisonTalentTreeReset"
,
Type
=
"CurrencySource"
,
EnumValue
=
44
},
{
Name
=
"Last"
,
Type
=
"CurrencySource"
,
EnumValue
=
45
},
{
Name
=
"DailyReset"
,
Type
=
"CurrencySource"
,
EnumValue
=
45
},
{
Name
=
"AddConduitToCollection"
,
Type
=
"CurrencySource"
,
EnumValue
=
46
},
{
Name
=
"Last"
,
Type
=
"CurrencySource"
,
EnumValue
=
47
},
{
Name
=
"Barbershop"
,
Type
=
"CurrencySource"
,
EnumValue
=
48
},
},
},
{
...
...
@@ -193,7 +196,7 @@ local CurrencyConstants =
Type
=
"Constants"
,
Values
=
{
{
Name
=
"PLAYER_CURRENCY_CLIENT_FLAGS"
,
Type
=
"number"
,
Value
=
PLAYER_CURRENCY_PDB_IN_BACKPACK
|
PLAYER_CURRENCY_PDB_UNUSED_IN_
UI
},
{
Name
=
"PLAYER_CURRENCY_CLIENT_FLAGS"
,
Type
=
"number"
,
Value
=
Enum
.
PlayerCurrencyFlagsDbFlags
.
InBackpack
+
Enum
.
PlayerCurrencyFlagsDbFlags
.
UnusedIn
UI
},
{
Name
=
"MAX_CURRENCY_QUANTITY"
,
Type
=
"number"
,
Value
=
100000000
},
{
Name
=
"CONQUEST_ARENA_AND_BG_META_CURRENCY_ID"
,
Type
=
"number"
,
Value
=
483
},
{
Name
=
"CONQUEST_RATED_BG_META_CURRENCY_ID"
,
Type
=
"number"
,
Value
=
484
},
...
...
Interface/AddOns/Blizzard_APIDocumentation/LegendaryCraftingDocumentation.lua
View file @
b8655359
...
...
@@ -158,11 +158,13 @@ local LegendaryCrafting =
Arguments
=
{
{
Name
=
"baseItem"
,
Type
=
"table"
,
Mixin
=
"ItemLocationMixin"
,
Nilable
=
true
},
{
Name
=
"filter"
,
Type
=
"RuneforgePowerFilter"
,
Nilable
=
true
},
},
Returns
=
{
{
Name
=
"runeforgePowerIDs"
,
Type
=
"table"
,
InnerType
=
"number"
,
Nilable
=
false
},
{
Name
=
"specRuneforgePowerIDs"
,
Type
=
"table"
,
InnerType
=
"number"
,
Nilable
=
false
},
{
Name
=
"otherSpecRuneforgePowerIDs"
,
Type
=
"table"
,
InnerType
=
"number"
,
Nilable
=
false
},
},
},
{
...
...
@@ -173,6 +175,7 @@ local LegendaryCrafting =
{
{
Name
=
"classID"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"specID"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"filter"
,
Type
=
"RuneforgePowerFilter"
,
Nilable
=
true
},
},
Returns
=
...
...
Interface/AddOns/Blizzard_APIDocumentation/LegendaryCraftingTypesDocumentation.lua
View file @
b8655359
...
...
@@ -2,6 +2,19 @@ local LegendaryCraftingTypes =
{
Tables
=
{
{
Name
=
"RuneforgePowerFilter"
,
Type
=
"Enumeration"
,
NumValues
=
3
,
MinValue
=
0
,
MaxValue
=
2
,
Fields
=
{
{
Name
=
"All"
,
Type
=
"RuneforgePowerFilter"
,
EnumValue
=
0
},
{
Name
=
"Available"
,
Type
=
"RuneforgePowerFilter"
,
EnumValue
=
1
},
{
Name
=
"Unavailable"
,
Type
=
"RuneforgePowerFilter"
,
EnumValue
=
2
},
},
},
{
Name
=
"RuneforgePowerState"
,
Type
=
"Enumeration"
,
...
...
Interface/AddOns/Blizzard_APIDocumentation/QuestTaskInfoDocumentation.lua
View file @
b8655359
...
...
@@ -132,6 +132,20 @@ local QuestTaskInfo =
{
Name
=
"quests"
,
Type
=
"table"
,
InnerType
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"GetUIWidgetSetIDFromQuestID"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"questID"
,
Type
=
"number"
,
Nilable
=
false
},
},
Returns
=
{
{
Name
=
"UiWidgetSetID"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"IsActive"
,
Type
=
"Function"
,
...
...
Interface/AddOns/Blizzard_APIDocumentation/SoulbindsDocumentation.lua
View file @
b8655359
...
...
@@ -729,6 +729,7 @@ local Soulbinds =
{
Name
=
"state"
,
Type
=
"SoulbindNodeState"
,
Nilable
=
false
},
{
Name
=
"conduitType"
,
Type
=
"SoulbindConduitType"
,
Nilable
=
true
},
{
Name
=
"parentNodeIDs"
,
Type
=
"table"
,
InnerType
=
"number"
,
Nilable
=
false
},
{
Name
=
"failureRenownRequirement"
,
Type
=
"number"
,
Nilable
=
true
},
},
},
{
...
...
Interface/AddOns/Blizzard_AnimaDiversionUI/AnimaDiversionDataProvider.lua
View file @
b8655359
...
...
@@ -274,10 +274,6 @@ function AnimaDiversionPinMixin:SetSelectedState(selected, leaveOtherSelections)
end
function
AnimaDiversionPinMixin
:
OnMouseEnter
()
if
AnimaDiversionFrame
.
SelectPinInfoFrame
:
IsSelectionInfoShowingForNode
(
self
)
then
return
;
end
GameTooltip
:
SetOwner
(
self
,
"ANCHOR_RIGHT"
);
self
:
RefreshTooltip
();
end
...
...
@@ -309,6 +305,7 @@ function AnimaDiversionPinMixin:RefreshTooltip()
GameTooltip_AddHighlightLine
(
GameTooltip
,
costString
);
end
end
GameTooltip_AddColoredLine
(
GameTooltip
,
ANIMA_DIVERSION_CLICK_CHANNEL
,
GREEN_FONT_COLOR
);
end
local
worldQuestID
=
C_Garrison
.
GetTalentUnlockWorldQuest
(
self
.
nodeData
.
talentID
);
if
worldQuestID
then
...
...
@@ -343,13 +340,8 @@ function AnimaDiversionPinMixin:OnClick(button)
AnimaDiversionFrame
.
ReinforceInfoFrame
:
SelectNodeToReinforce
(
self
);
else
if
self
.
nodeData
.
state
~=
Enum
.
AnimaDiversionNodeState
.
Available
then
return
;
end
AnimaDiversionFrame
.
SelectPinInfoFrame
:
SetupAndShow
(
self
);
if
AnimaDiversionFrame
.
SelectPinInfoFrame
:
IsSelectionInfoShowingForNode
(
self
)
then
GameTooltip
:
Hide
();
if
self
.
nodeData
.
state
==
Enum
.
AnimaDiversionNodeState
.
Available
then
StaticPopup_Show
(
"ANIMA_DIVERSION_CONFIRM_CHANNEL"
,
self
.
nodeData
.
name
,
nil
,
self
);
end
end
end
...
...
Interface/AddOns/Blizzard_AnimaDiversionUI/Blizzard_AnimaDiversionUI.lua
View file @
b8655359
...
...
@@ -52,7 +52,6 @@ StaticPopupDialogs["ANIMA_DIVERSION_CONFIRM_CHANNEL"] = {
self
.
timeleft
=
C_DateAndTime
.
GetSecondsUntilDailyReset
();
end
,
OnHide
=
function
(
self
,
selectedNode
)
AnimaDiversionFrame
.
SelectPinInfoFrame
:
ClearSelectedNode
();
AnimaDiversionFrame
:
ClearExclusiveSelectionNode
();
end
,
hideOnEscape
=
1
,
...
...
@@ -84,7 +83,6 @@ function AnimaDiversionFrameMixin:OnLoad()
self
:
SetShouldPanOnClick
(
false
);
self
:
AddStandardDataProviders
();
self
.
bolsterProgressGemPool
=
CreateFramePool
(
"FRAME"
,
self
.
ReinforceProgressFrame
,
"AnimaDiversionBolsterProgressGemTemplate"
);
self
.
SelectPinInfoFrame
.
currencyPool
=
CreateFramePool
(
"FRAME"
,
self
.
SelectPinInfoFrame
,
"AnimaDiversionCurrencyCostFrameTemplate"
);
UIPanelCloseButton_SetBorderAtlas
(
self
.
CloseButton
,
"UI-Frame-Oribos-ExitButtonBorder"
,
-
1
,
1
);
end
...
...
@@ -108,7 +106,6 @@ end
function
AnimaDiversionFrameMixin
:
OnHide
()
MapCanvasMixin
.
OnHide
(
self
);
FrameUtil
.
UnregisterFrameForEvents
(
self
,
ANIMA_DIVERSION_FRAME_EVENTS
);
self
.
SelectPinInfoFrame
:
Hide
();
self
.
ReinforceInfoFrame
:
Hide
();
self
:
StopGemsFullSound
();
PlaySound
(
SOUNDKIT
.
UI_COVENANT_ANIMA_DIVERSION_CLOSE
,
nil
,
SOUNDKIT_ALLOW_DUPLICATES
);
...
...
@@ -120,7 +117,6 @@ function AnimaDiversionFrameMixin:OnEvent(event, ...)
elseif
(
event
==
"CURRENCY_DISPLAY_UPDATE"
)
then
self
:
SetupBolsterProgressBar
();
self
:
SetupCurrencyFrame
();
self
.
SelectPinInfoFrame
:
CurrencyUpdate
();
elseif
(
event
==
"ANIMA_DIVERSION_TALENT_UPDATED"
)
then
self
:
SetupBolsterProgressBar
();
end
...
...
@@ -337,125 +333,6 @@ function AnimaDiversionFrameMixin:SetupCurrencyFrame()
end
end
AnimaDiversionSelectionInfoMixin
=
{
};
function
AnimaDiversionSelectionInfoMixin
:
IsSelectionInfoShowingForNode
(
node
)
if
(
not
self
:
IsShown
()
or
not
self
.
currentlySelectedNode
)
then
return
false
;
end
if
(
self
.
currentlySelectedNode
==
node
)
then
return
true
;
end
return
false
;
end
function
AnimaDiversionSelectionInfoMixin
:
CurrencyUpdate
()
if
(
not
self
:
IsShown
())
then
return
;
end
if
(
self
.
currentlySelectedNode
)
then
self
:
SetupAndShow
(
self
.
currentlySelectedNode
);
end
end
function
AnimaDiversionSelectionInfoMixin
:
ClearSelectedNode
()
if
self
.
currentlySelectedNode
then
self
:
GetParent
():
RefreshAllDataProviders
();
end
self
.
currentlySelectedNode
=
nil
;
end
function
AnimaDiversionSelectionInfoMixin
:
SetupAndShow
(
node
)
if
self
.
currentlySelectedNode
then
self
.
currentlySelectedNode
:
SetSelectedState
(
false
);
end
node
:
SetSelectedState
(
true
);
self
.
currentlySelectedNode
=
node
;
self
:
ClearAllPoints
();
self
:
SetPoint
(
"LEFT"
,
node
,
"RIGHT"
,
20
,
0
);
local
nodeInfo
=
node
.
nodeData
;
self
.
Title
:
SetText
(
nodeInfo
.
name
);
self
.
Description
:
SetText
(
nodeInfo
.
description
);
local
canAffordAnimaSelection
=
self
:
SetupCosts
(
nodeInfo
.
costs
);
local
nodeAvailableForSelection
=
nodeInfo
.
state
==
Enum
.
AnimaDiversionNodeState
.
Available
and
canAffordAnimaSelection
;
self
.
SelectButton
:
SetShown
(
nodeAvailableForSelection
);
self
.
AlreadySelected
:
SetShown
(
not
nodeAvailableForSelection
);
if
(
not
nodeAvailableForSelection
)
then
if
(
nodeInfo
.
state
==
Enum
.
AnimaDiversionNodeState
.
SelectedTemporary
or
nodeInfo
.
state
==
Enum
.
AnimaDiversionNodeState
.
SelectedPermanent
)
then
self
.
AlreadySelected
:
SetText
(
ANIMA_DIVERSION_NODE_SELECTED
);
elseif
(
not
canAffordAnimaSelection
)
then
self
.
AlreadySelected
:
SetText
(
ANIMA_DIVERSION_NOT_ENOUGH_CURRENCY
);
else
self
.
AlreadySelected
:
SetText
(
ANIMA_DIVERSION_NODE_UNAVAILABLE
);
end
end
self
:
Layout
();
self
:
Show
();
PlaySound
(
AnimaDiversionFrame
.
covenantData
.
animaChannelSelectSoundKit
,
nil
,
SOUNDKIT_ALLOW_DUPLICATES
);
end
function
AnimaDiversionSelectionInfoMixin
:
GetSelectedNode
()
return
self
.
currentlySelectedNode
;
end
function
AnimaDiversionSelectionInfoMixin
:
SetupCosts
(
CurrencyCosts
)
local
playerCanAfford
=
true
;
self
.
currencyPool
:
ReleaseAll
();
for
i
,
costInfo
in
ipairs
(
CurrencyCosts
)
do
self
.
lastCurrency
=
self
:
SetupSingleCurrency
(
i
,
costInfo
);
if
(
not
self
.
lastCurrency
.
canAfford
)
then
playerCanAfford
=
false
;
end
end
self
.
SelectButton
:
ClearAllPoints
();
self
.
SelectButton
:
SetPoint
(
"TOP"
,
self
.
lastCurrency
,
"BOTTOM"
,
10
,
-
10
);
self
.
AlreadySelected
:
ClearAllPoints
();
self
.
AlreadySelected
:
SetPoint
(
"CENTER"
,
self
.
SelectButton
);
return
playerCanAfford
;
end
function
AnimaDiversionSelectionInfoMixin
:
SetupSingleCurrency
(
index
,
costInfo
)
local
currency
=
self
.
currencyPool
:
Acquire
();
if
(
index
==
1
)
then
currency
:
SetPoint
(
"TOP"
,
self
.
Description
,
"BOTTOM"
,
-
15
,
-
10
);
else
currency
:
SetPoint
(
"TOP"
,
self
.
lastCurrency
,
"BOTTOM"
,
0
,
-
10
);
end
local
currencyInfo
=
C_CurrencyInfo
.
GetCurrencyInfo
(
costInfo
.
currencyID
);
if
(
currencyInfo
)
then
currency
.
Quantity
:
SetJustifyH
(
"LEFT"
);
currency
.
Quantity
:
SetText
(
ANIMA_DIVERSION_CURRENCY_DISPLAY
:
format
(
costInfo
.
quantity
,
currencyInfo
.
iconFileID
));
end
currency
.
currencyInfo
=
currencyInfo
;
currency
.
canAfford
=
currencyInfo
.
quantity
>=
costInfo
.
quantity
;
currency
:
Show
();
return
currency
;
end
AnimaDiversionSelectButtonMixin
=
{
};
function
AnimaDiversionSelectButtonMixin
:
OnClick
()
local
selectedNode
=
self
:
GetParent
():
GetSelectedNode
();
if
selectedNode
then
PlaySound
(
SOUNDKIT
.
UI_COVENANT_ANIMA_DIVERSION_CLICK_CHANNEL_BUTTON
,
nil
,
SOUNDKIT_ALLOW_DUPLICATES
);
StaticPopup_Show
(
"ANIMA_DIVERSION_CONFIRM_CHANNEL"
,
selectedNode
.
nodeData
.
name
,
nil
,
selectedNode
);
self
:
GetParent
():
Hide
();
end
end
AnimaDiversionCurrencyFrameMixin
=
{
};
function
AnimaDiversionCurrencyFrameMixin
:
OnEnter
()
...
...
Interface/AddOns/Blizzard_AnimaDiversionUI/Blizzard_AnimaDiversionUI.xml
View file @
b8655359
...
...
@@ -148,71 +148,6 @@
<OnHide
method=
"OnHide"
/>
</Scripts>
</Frame>
<Frame
parentKey=
"SelectPinInfoFrame"
inherits=
"ResizeLayoutFrame"
mixin=
"AnimaDiversionSelectionInfoMixin"
frameLevel=
"515"
>
<KeyValues>
<KeyValue
key=
"spacing"
value=
"5"
type=
"number"
/>
<KeyValue
key=
"fixedWidth"
value=
"250"
type=
"number"
/>
</KeyValues>
<Layers>
<Layer
level=
"BACKGROUND"
>
<Texture
parentKey=
"Background"
>
<Anchors>
<Anchor
point=
"TOPLEFT"
/>
<Anchor
point=
"BOTTOMRIGHT"
/>
</Anchors>
<Color
r=
"0"
b=
"0"
g=
"0"
/>
</Texture>
</Layer>
<Layer
level=
"ARTWORK"
>
<FontString
parentKey=
"Title"
justifyV=
"BOTTOM"
justifyH=
"LEFT"
inherits=
"GameFontNormal"
>
<Size
x=
"230"
y=
"0"
/>
<Anchors>
<Anchor
point=
"TOP"
x=
"2"
y=
"-10"
/>
</Anchors>
</FontString>
<FontString
parentKey=
"Description"
justifyV=
"BOTTOM"
justifyH=
"LEFT"
inherits=
"GameFontHighlight"
>
<Size
x=
"230"
y=
"0"
/>
<Anchors>
<Anchor
point=
"TOP"
relativeKey=
"$parent.Title"
relativePoint=
"BOTTOM"
x=
"0"
y=
"-15"
/>
</Anchors>
</FontString>
<FontString
parentKey=
"AlreadySelected"
justifyV=
"BOTTOM"
justifyH=
"LEFT"
inherits=
"GameFontRed"
text=
"ANIMA_DIVERSION_NODE_SELECTED"
hidden=
"true"
>
<Size
x=
"230"
y=
"0"
/>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame
parentKey=
"NineSlice"
inherits=
"NineSlicePanelTemplate"
frameLevel=
"550"
>
<KeyValues>
<KeyValue
key=
"layoutType"
value=
"IdenticalCornersLayout"
type=
"string"
/>
<KeyValue
key=
"layoutTextureKit"
value=
"AnimaChannel"
type=
"string"
/>
<KeyValue
key=
"ignoreInLayout"
value=
"true"
type=
"boolean"
/>
</KeyValues>
<Anchors>
<Anchor
point=
"TOPLEFT"
x=
"-8"
y=
"8"
/>
<Anchor
point=
"BOTTOMRIGHT"
x=
"8"
y=
"-8"
/>
</Anchors>
</Frame>
<Button
parentKey=
"SelectButton"
inherits=
"UIPanelButtonTemplate"
mixin=
"AnimaDiversionSelectButtonMixin"
text=
"ANIMA_DIVERSION_DIVERT_ANIMA"
>
<Size
x=
"100"
y=
"25"
/>
<Scripts>
<OnClick
method=
"OnClick"
/>
</Scripts>
</Button>
<Button
parentKey=
"CloseButton"
inherits=
"UIPanelCloseButton"
frameLevel=
"555"
>
<Anchors>
<Anchor
point=
"TOPRIGHT"
x=
"5"
y=
"5"
/>
</Anchors>
<Scripts>
<OnClick>
PlaySound(SOUNDKIT.UI_9_0_ANIMA_DIVERSION_GENERAL_EXIT, nil, SOUNDKIT_ALLOW_DUPLICATES);
self:GetParent():ClearSelectedNode();
self:GetParent():Hide();
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
</Frames>
<Scripts>
<OnLoad
method=
"OnLoad"
/>
...
...
Interface/AddOns/Blizzard_CharacterCreate/Blizzard_CharacterCreate.lua
View file @
b8655359
...
...
@@ -167,11 +167,11 @@ end
function
CharacterCreateMixin
:
OnShow
()
C_CharacterCreation
.
SetInCharacterCreate
(
true
);
local
selectedFaction
;
local
_
,
selectedFaction
;
if
self
.
paidServiceType
then
C_CharacterCreation
.
CustomizeExistingCharacter
(
self
.
paidServiceCharacterID
);
self
.
currentPaidServiceName
=
C_PaidServices
.
GetName
();
selectedFaction
=
C_PaidServices
.
GetCurrentFaction
();
_
,
selectedFaction
=
C_PaidServices
.
GetCurrentFaction
();
NameChoiceFrame
.
EditBox
:
SetText
(
self
.
currentPaidServiceName
);
else
self
.
currentPaidServiceName
=
nil
;
...
...
@@ -1360,14 +1360,14 @@ function CharacterCreateRaceAndClassMixin:IsRaceValid(raceData, faction)
if
CharacterCreateFrame
.
paidServiceType
==
PAID_CHARACTER_CUSTOMIZATION
then
local
notForPaidService
=
false
;
local
currentRace
=
C_PaidServices
.
GetCurrentRaceID
(
notForPaidService
);
local
currentFaction
=
C_PaidServices
.
GetCurrentFaction
();
local
_
,
currentFaction
=
C_PaidServices
.
GetCurrentFaction
();
return
(
currentRace
==
raceData
.
raceID
and
currentFaction
==
faction
);
elseif
CharacterCreateFrame
.
paidServiceType
==
PAID_FACTION_CHANGE
then
local
currentFaction
=
C_PaidServices
.
GetCurrentFaction
();
local
_
,
currentFaction
=
C_PaidServices
.
GetCurrentFaction
();
local
currentClass
=
C_PaidServices
.
GetCurrentClassID
();
return
(
currentFaction
~=
faction
and
C_CharacterCreation
.
IsRaceClassValid
(
raceData
.
raceID
,
currentClass
));
elseif
CharacterCreateFrame
.
paidServiceType
==
PAID_RACE_CHANGE
then
local
currentFaction
=
C_PaidServices
.
GetCurrentFaction
();
local
_
,
currentFaction
=
C_PaidServices
.
GetCurrentFaction
();
local
notForPaidService
=
false
;
local
currentRace
=
C_PaidServices
.
GetCurrentRaceID
(
notForPaidService
);
local
currentClass
=
C_PaidServices
.
GetCurrentClassID
();
...
...
Interface/AddOns/Blizzard_CovenantCallings/CovenantCallings.lua
View file @
b8655359
...
...
@@ -234,7 +234,6 @@ function CovenantCallingsMixin:OnCovenantCallingsUpdated(callings)
end
AnchorUtil
.
GridLayout
(
frames
,
AnchorUtil
.
CreateAnchor
(
"LEFT"
,
self
.
Decor
,
"LEFT"
,
-
42
,
0
),
self
.
layout
);
self
:
Layout
();
self
:
CheckDisplayHelpTip
();
end
end
...
...
Interface/AddOns/Blizzard_CovenantCallings/CovenantCallings.xml
View file @
b8655359
...
...
@@ -47,30 +47,25 @@
</Scripts>
</Frame>
<Frame
name=
"CovenantCallingsTemplate"
inherits=
"ResizeLayoutFrame"
mixin=
"CovenantCallingsMixin"
virtual=
"true"
>
<Frame
name=
"CovenantCallingsTemplate"
mixin=
"CovenantCallingsMixin"
virtual=
"true"
>
<Size
x=
"361"
y=
"105"
/>
<Layers>
<Layer
level=
"BACKGROUND"
textureSublevel=
"-1"
>
<Texture
parentKey=
"Background"
atlas=
"shadowlands-landingpage-divider"
useAtlasSize=
"true"
>
<Anchors>
<Anchor
point=
"TOP
LEFT
"
/>
<Anchor
point=
"TOP"
/>
</Anchors>
</Texture>
</Layer>
<Layer
level=
"BACKGROUND"
>
<Texture
parentKey=
"Decor"
>
<KeyValues>
<KeyValue
key=
"ignoreInLayout"
value=
"true"
type=
"boolean"
/>
</KeyValues>
<Anchors>
<Anchor
point=
"
CENTER
"
/>
<Anchor
point=
"
TOP"
x=
"0"
y=
"-50
"
/>
</Anchors>
</Texture>
</Layer>
<Layer
level=
"ARTWORK"
>
<FontString
parentKey=
"Title"
inherits=
"GameFontHighlightLarge"
text=
"CALLINGS_QUESTS"
>
<KeyValues>
<KeyValue
key=
"ignoreInLayout"
value=
"true"
type=
"boolean"
/>
</KeyValues>
<Anchors>
<Anchor
point=
"TOPLEFT"
x=
"45"
y=
"-14"
/>
</Anchors>
...
...
Interface/AddOns/Blizzard_CovenantRenown/Blizzard_CovenantRenown.lua
View file @
b8655359
This diff is collapsed.
Click to expand it.
Interface/AddOns/Blizzard_CovenantRenown/Blizzard_CovenantRenown.xml
View file @
b8655359
...
...
@@ -20,22 +20,15 @@
</Anchors>
</Texture>
</Layer>
<Layer
level=
"ARTWORK"
>
<Texture
parentKey=
"LevelBorder"
atlas=
"CovenantSanctum-Icon-RankBorder"
useAtlasSize=
"true"
parentArray=
"Textures"
>
<Anchors>
<Anchor
point=
"BOTTOM"
y=
"-5"
/>
</Anchors>
</Texture>
</Layer>
<Layer
level=
"OVERLAY"
>
<Texture
parentKey=
"Check"
atlas=
"CovenantSanctum-Renown-Checkmark"
useAtlasSize=
"true"
parentArray=
"Textures"
>
<Anchors>
<Anchor
point=
"BOTTOM
LEF
T"
x=
"
1
"
y=
"
-1
"
/>
<Anchor
point=
"BOTTOM
RIGH
T"
x=
"
3
"
y=
"
0
"
/>
</Anchors>
</Texture>
<FontString
parentKey=
"Level"
inherits=
"GameFontNormal"
>
<Anchors>
<Anchor
point=
"
CENTER"
relativeKey=
"$parent.LevelBorder
"
/>
<Anchor
point=
"
BOTTOM"
y=
"-1
"
/>
</Anchors>
</FontString>
<MaskTexture
parentKey=
"HexMask"
atlas=
"CovenantSanctum-Renown-Hexagon-Mask"
useAtlasSize=
"true"
hWrapMode=
"CLAMPTOBLACKADDITIVE"
vWrapMode=
"CLAMPTOBLACKADDITIVE"
>
...
...
@@ -59,7 +52,7 @@
</Scripts>
</Frame>
<Frame
name=
"CovenantRenownRewardTemplate"
mixin=
"CovenantRenownRewardMixin"
virtual=
"true"
>
<Frame
name=
"CovenantRenownRewardTemplate"
mixin=
"CovenantRenownRewardMixin"
frameLevel=
"10"
virtual=
"true"
>
<Size
x=
"415"
y=
"136"
/>
<Layers>
<Layer
level=
"BORDER"
>
...
...
@@ -166,16 +159,27 @@
<Anchor
point=
"BOTTOM"
relativeKey=
"$parent.Background"
y=
"11"
/>
</Anchors>
</Texture>
<Texture
parentKey=
"CelebrationModelSceneTarget"
>
<Size
x=
"10"
y=
"10"
/>
<Anchors>
<Anchor
point=
"BOTTOM"
y=
"168"
/>
</Anchors>
</Texture>
<Texture
parentKey=
"SelectedLevelGlow"
>
<Anchors>
<Anchor
point=
"CENTER"
/>
</Anchors>
</Texture>
</Layer>
<Layer
level=
"ARTWORK"
>
<Texture
parentKey=
"TitleDivider"
>
<Anchors>
<Anchor
point=
"TOP"
relativeKey=
"$parent.Background"
y=
"-1
0
2"
/>
<Anchor
point=
"TOP"
y=
"-12
8
"
/>
</Anchors>
</Texture>
<Texture
parentKey=
"Divider"
>
<Anchors>
<Anchor
point=
"TOP"
relativeKey=
"$parent.Background
"
y=
"-
183
"
/>
<Anchor
point=
"TOP"
x=
"0
"
y=
"-
209
"
/>
</Anchors>
</Texture>
<Texture
parentKey=
"Anima"
>
...
...
@@ -188,17 +192,12 @@
<Color
r=
"0"
g=
"0"
b=
"0"
/>
</Shadow>
<Anchors>
<Anchor
point=
"TOP"
y=
"-65"
/>
</Anchors>
</FontString>
<FontString
parentKey=
"CovenantName"
inherits=
"GameFontNormal"
>
<Anchors>
<Anchor
point=
"TOP"
relativeKey=
"$parent.Header"
relativePoint=
"BOTTOM"
y=
"-4"
/>
<Anchor
point=
"TOP"
y=
"-71"
/>
</Anchors>
</FontString>