Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BlizzardInterfaceCode
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Simpy
BlizzardInterfaceCode
Commits
d0a4cba6
Commit
d0a4cba6
authored
Dec 19, 2019
by
TOM_RUS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WOW-32861patch8.3.0_PTR
parent
b1584f7d
Changes
91
Hide whitespace changes
Inline
Side-by-side
Showing
91 changed files
with
956 additions
and
997 deletions
+956
-997
Interface/AddOns/Blizzard_APIDocumentation/AuctionHouseDocumentation.lua
...s/Blizzard_APIDocumentation/AuctionHouseDocumentation.lua
+35
-10
Interface/AddOns/Blizzard_APIDocumentation/CalendarConstantsDocumentation.lua
...zzard_APIDocumentation/CalendarConstantsDocumentation.lua
+8
-4
Interface/AddOns/Blizzard_APIDocumentation/ClubFinderDocumentation.lua
...Ons/Blizzard_APIDocumentation/ClubFinderDocumentation.lua
+4
-2
Interface/AddOns/Blizzard_APIDocumentation/ItemDocumentation.lua
...ce/AddOns/Blizzard_APIDocumentation/ItemDocumentation.lua
+18
-0
Interface/AddOns/Blizzard_APIDocumentation/ItemInteractionUIDocumentation.lua
...zzard_APIDocumentation/ItemInteractionUIDocumentation.lua
+1
-0
Interface/AddOns/Blizzard_APIDocumentation/LootDocumentation.lua
...ce/AddOns/Blizzard_APIDocumentation/LootDocumentation.lua
+3
-0
Interface/AddOns/Blizzard_APIDocumentation/WowTokenUIDocumentation.lua
...Ons/Blizzard_APIDocumentation/WowTokenUIDocumentation.lua
+5
-0
Interface/AddOns/Blizzard_AchievementUI/Blizzard_AchievementUI.lua
.../AddOns/Blizzard_AchievementUI/Blizzard_AchievementUI.lua
+1
-1
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionData.lua
...e/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionData.lua
+4
-0
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseAuctionsFrame.lua
...ard_AuctionHouseUI/Blizzard_AuctionHouseAuctionsFrame.lua
+27
-28
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseAuctionsFrame.xml
...ard_AuctionHouseUI/Blizzard_AuctionHouseAuctionsFrame.xml
+9
-1
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseCategoriesList.lua
...rd_AuctionHouseUI/Blizzard_AuctionHouseCategoriesList.lua
+8
-2
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseCommoditiesBuyFrame.lua
...ctionHouseUI/Blizzard_AuctionHouseCommoditiesBuyFrame.lua
+12
-9
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseCommoditiesList.lua
...d_AuctionHouseUI/Blizzard_AuctionHouseCommoditiesList.lua
+0
-5
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseCommoditiesSellFrame.lua
...tionHouseUI/Blizzard_AuctionHouseCommoditiesSellFrame.lua
+1
-4
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseFrame.lua
...ns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseFrame.lua
+46
-19
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseItemList.lua
...Blizzard_AuctionHouseUI/Blizzard_AuctionHouseItemList.lua
+1
-1
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseItemSellFrame.lua
...ard_AuctionHouseUI/Blizzard_AuctionHouseItemSellFrame.lua
+5
-10
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseMultisell.lua
...lizzard_AuctionHouseUI/Blizzard_AuctionHouseMultisell.lua
+2
-1
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseSellFrame.lua
...lizzard_AuctionHouseUI/Blizzard_AuctionHouseSellFrame.lua
+3
-1
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseSellFrame.xml
...lizzard_AuctionHouseUI/Blizzard_AuctionHouseSellFrame.xml
+1
-1
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseSharedTemplates.lua
...d_AuctionHouseUI/Blizzard_AuctionHouseSharedTemplates.lua
+49
-16
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseSharedTemplates.xml
...d_AuctionHouseUI/Blizzard_AuctionHouseSharedTemplates.xml
+3
-2
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseTableBuilder.lua
...zard_AuctionHouseUI/Blizzard_AuctionHouseTableBuilder.lua
+67
-29
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseTableBuilder.xml
...zard_AuctionHouseUI/Blizzard_AuctionHouseTableBuilder.xml
+1
-1
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseUtil.lua
...Ons/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseUtil.lua
+118
-44
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseWoWTokenFrame.lua
...ard_AuctionHouseUI/Blizzard_AuctionHouseWoWTokenFrame.lua
+12
-4
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseWoWTokenFrame.xml
...ard_AuctionHouseUI/Blizzard_AuctionHouseWoWTokenFrame.xml
+4
-1
Interface/AddOns/Blizzard_AzeriteUI/Blizzard_AzeriteEmpoweredItemUI.lua
...ns/Blizzard_AzeriteUI/Blizzard_AzeriteEmpoweredItemUI.lua
+4
-4
Interface/AddOns/Blizzard_BarbershopUI/Blizzard_BarberShopUI.lua
...ce/AddOns/Blizzard_BarbershopUI/Blizzard_BarberShopUI.lua
+11
-2
Interface/AddOns/Blizzard_Collections/Blizzard_ToyBox.lua
Interface/AddOns/Blizzard_Collections/Blizzard_ToyBox.lua
+8
-9
Interface/AddOns/Blizzard_Collections/Blizzard_Wardrobe.lua
Interface/AddOns/Blizzard_Collections/Blizzard_Wardrobe.lua
+9
-6
Interface/AddOns/Blizzard_Communities/ClubFinder.lua
Interface/AddOns/Blizzard_Communities/ClubFinder.lua
+15
-5
Interface/AddOns/Blizzard_Communities/ClubFinderApplicantList.xml
...e/AddOns/Blizzard_Communities/ClubFinderApplicantList.xml
+1
-1
Interface/AddOns/Blizzard_Communities/CommunitiesAddDialog.lua
...face/AddOns/Blizzard_Communities/CommunitiesAddDialog.lua
+5
-1
Interface/AddOns/Blizzard_Communities/CommunitiesFrame.lua
Interface/AddOns/Blizzard_Communities/CommunitiesFrame.lua
+22
-12
Interface/AddOns/Blizzard_Communities/CommunitiesFrame.xml
Interface/AddOns/Blizzard_Communities/CommunitiesFrame.xml
+4
-0
Interface/AddOns/Blizzard_Communities/CommunitiesList.lua
Interface/AddOns/Blizzard_Communities/CommunitiesList.lua
+2
-0
Interface/AddOns/Blizzard_DeathRecap/Blizzard_DeathRecap.xml
Interface/AddOns/Blizzard_DeathRecap/Blizzard_DeathRecap.xml
+1
-1
Interface/AddOns/Blizzard_EncounterJournal/Blizzard_EncounterJournal.lua
...s/Blizzard_EncounterJournal/Blizzard_EncounterJournal.lua
+1
-1
Interface/AddOns/Blizzard_ItemInteractionUI/Blizzard_ItemInteractionUI.lua
...Blizzard_ItemInteractionUI/Blizzard_ItemInteractionUI.lua
+8
-5
Interface/AddOns/Blizzard_ItemInteractionUI/Blizzard_ItemInteractionUI.xml
...Blizzard_ItemInteractionUI/Blizzard_ItemInteractionUI.xml
+2
-3
Interface/AddOns/Blizzard_NamePlates/Blizzard_NamePlates.lua
Interface/AddOns/Blizzard_NamePlates/Blizzard_NamePlates.lua
+2
-2
Interface/AddOns/Blizzard_ObjectiveTracker/Blizzard_BonusObjectiveTracker.lua
...zzard_ObjectiveTracker/Blizzard_BonusObjectiveTracker.lua
+6
-1
Interface/AddOns/Blizzard_OrderHallUI/Blizzard_OrderHallTalents.lua
...AddOns/Blizzard_OrderHallUI/Blizzard_OrderHallTalents.lua
+3
-1
Interface/AddOns/Blizzard_PVPUI/Blizzard_PVPUI.lua
Interface/AddOns/Blizzard_PVPUI/Blizzard_PVPUI.lua
+41
-21
Interface/AddOns/Blizzard_PVPUI/Blizzard_PVPUI.xml
Interface/AddOns/Blizzard_PVPUI/Blizzard_PVPUI.xml
+1
-1
Interface/AddOns/Blizzard_SharedMapDataProviders/VehicleDataProvider.lua
...s/Blizzard_SharedMapDataProviders/VehicleDataProvider.lua
+6
-0
Interface/AddOns/Blizzard_StoreUI/Blizzard_ProductCardTemplates.xml
...AddOns/Blizzard_StoreUI/Blizzard_ProductCardTemplates.xml
+1
-1
Interface/AddOns/Blizzard_StoreUI/Blizzard_StoreUISecure.lua
Interface/AddOns/Blizzard_StoreUI/Blizzard_StoreUISecure.lua
+4
-0
Interface/AddOns/Blizzard_TradeSkillUI/Blizzard_TradeSkillUI.xml
...ce/AddOns/Blizzard_TradeSkillUI/Blizzard_TradeSkillUI.xml
+1
-1
Interface/AddOns/Blizzard_WorldMap/Blizzard_WorldMapTemplates.lua
...e/AddOns/Blizzard_WorldMap/Blizzard_WorldMapTemplates.lua
+16
-1
Interface/FrameXML/AlertFrameSystems.lua
Interface/FrameXML/AlertFrameSystems.lua
+9
-13
Interface/FrameXML/AlertFrames.lua
Interface/FrameXML/AlertFrames.lua
+2
-2
Interface/FrameXML/AzeriteEssenceUtil.lua
Interface/FrameXML/AzeriteEssenceUtil.lua
+6
-3
Interface/FrameXML/BattlePetTooltip.xml
Interface/FrameXML/BattlePetTooltip.xml
+0
-4
Interface/FrameXML/CinematicFrame.lua
Interface/FrameXML/CinematicFrame.lua
+15
-9
Interface/FrameXML/CinematicFrame.xml
Interface/FrameXML/CinematicFrame.xml
+4
-3
Interface/FrameXML/ContainerFrame.lua
Interface/FrameXML/ContainerFrame.lua
+8
-4
Interface/FrameXML/FloatingPetBattleTooltip.lua
Interface/FrameXML/FloatingPetBattleTooltip.lua
+33
-0
Interface/FrameXML/FontStyles.xml
Interface/FrameXML/FontStyles.xml
+50
-0
Interface/FrameXML/Fonts.xml
Interface/FrameXML/Fonts.xml
+40
-4
Interface/FrameXML/FrameXML.toc
Interface/FrameXML/FrameXML.toc
+0
-1
Interface/FrameXML/FriendsFrame.lua
Interface/FrameXML/FriendsFrame.lua
+3
-48
Interface/FrameXML/FriendsFrame.xml
Interface/FrameXML/FriendsFrame.xml
+0
-22
Interface/FrameXML/GuildUtil.lua
Interface/FrameXML/GuildUtil.lua
+1
-1
Interface/FrameXML/LootFrame.lua
Interface/FrameXML/LootFrame.lua
+14
-6
Interface/FrameXML/MailFrame.lua
Interface/FrameXML/MailFrame.lua
+3
-24
Interface/FrameXML/MailFrame.xml
Interface/FrameXML/MailFrame.xml
+0
-5
Interface/FrameXML/MainMenuBarMicroButtons.lua
Interface/FrameXML/MainMenuBarMicroButtons.lua
+8
-4
Interface/FrameXML/MoneyFrame.lua
Interface/FrameXML/MoneyFrame.lua
+1
-1
Interface/FrameXML/MoneyFrame.xml
Interface/FrameXML/MoneyFrame.xml
+1
-1
Interface/FrameXML/MoneyInputFrame.lua
Interface/FrameXML/MoneyInputFrame.lua
+2
-0
Interface/FrameXML/PaperDollFrame.lua
Interface/FrameXML/PaperDollFrame.lua
+1
-1
Interface/FrameXML/PetPopup.xml
Interface/FrameXML/PetPopup.xml
+2
-5
Interface/FrameXML/ProductChoice.lua
Interface/FrameXML/ProductChoice.lua
+0
-214
Interface/FrameXML/ProductChoice.xml
Interface/FrameXML/ProductChoice.xml
+0
-296
Interface/FrameXML/SecureCapsule.lua
Interface/FrameXML/SecureCapsule.lua
+1
-0
Interface/FrameXML/SplashFrame.lua
Interface/FrameXML/SplashFrame.lua
+45
-18
Interface/FrameXML/StaticPopup.lua
Interface/FrameXML/StaticPopup.lua
+1
-1
Interface/FrameXML/UIParent.lua
Interface/FrameXML/UIParent.lua
+6
-10
Interface/FrameXML/WorldMapFrame.lua
Interface/FrameXML/WorldMapFrame.lua
+3
-0
Interface/FrameXML/ZoneAbility.lua
Interface/FrameXML/ZoneAbility.lua
+3
-2
Interface/GlueXML/CharacterCreate.lua
Interface/GlueXML/CharacterCreate.lua
+17
-1
Interface/LCDXML/LCDColorLayout.xml
Interface/LCDXML/LCDColorLayout.xml
+2
-2
Interface/SharedXML/ModelSceneMixin.lua
Interface/SharedXML/ModelSceneMixin.lua
+16
-1
Interface/SharedXML/ModelSceneMixin.xml
Interface/SharedXML/ModelSceneMixin.xml
+1
-0
Interface/SharedXML/ScrollList.lua
Interface/SharedXML/ScrollList.lua
+18
-8
Interface/SharedXML/ScrollList.xml
Interface/SharedXML/ScrollList.xml
+9
-7
Interface/SharedXML/SoundKitConstants.lua
Interface/SharedXML/SoundKitConstants.lua
+4
-0
Interface/SharedXML/TimeUtil.lua
Interface/SharedXML/TimeUtil.lua
+5
-1
No files found.
Interface/AddOns/Blizzard_APIDocumentation/AuctionHouseDocumentation.lua
View file @
d0a4cba6
...
...
@@ -52,15 +52,6 @@ local AuctionHouse =
{
Name
=
"canCancelAuction"
,
Type
=
"bool"
,
Nilable
=
false
},
},
},
{
Name
=
"CanSetFavorite"
,
Type
=
"Function"
,
Returns
=
{
{
Name
=
"canSetFavorite"
,
Type
=
"bool"
,
Nilable
=
false
},
},
},
{
Name
=
"CancelAuction"
,
Type
=
"Function"
,
...
...
@@ -92,6 +83,15 @@ local AuctionHouse =
{
Name
=
"quantity"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"FavoritesAreAvailable"
,
Type
=
"Function"
,
Returns
=
{
{
Name
=
"favoritesAreAvailable"
,
Type
=
"bool"
,
Nilable
=
false
},
},
},
{
Name
=
"GetAuctionItemSubClasses"
,
Type
=
"Function"
,
...
...
@@ -557,6 +557,21 @@ local AuctionHouse =
{
Name
=
"timeLeft"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"GetTimeLeftBandInfo"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"timeLeftBand"
,
Type
=
"AuctionHouseTimeLeftBand"
,
Nilable
=
false
},
},
Returns
=
{
{
Name
=
"timeLeftMinSeconds"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"timeLeftMaxSeconds"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"HasFavorites"
,
Type
=
"Function"
,
...
...
@@ -621,6 +636,15 @@ local AuctionHouse =
{
Name
=
"hasFullOwnedAuctionResults"
,
Type
=
"bool"
,
Nilable
=
false
},
},
},
{
Name
=
"HasMaxFavorites"
,
Type
=
"Function"
,
Returns
=
{
{
Name
=
"hasMaxFavorites"
,
Type
=
"bool"
,
Nilable
=
false
},
},
},
{
Name
=
"HasSearchResults"
,
Type
=
"Function"
,
...
...
@@ -1242,7 +1266,8 @@ local AuctionHouse =
{
Name
=
"itemLink"
,
Type
=
"string"
,
Nilable
=
true
},
{
Name
=
"status"
,
Type
=
"AuctionStatus"
,
Nilable
=
false
},
{
Name
=
"quantity"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"timeLeftSeconds"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"timeLeftSeconds"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"timeLeft"
,
Type
=
"AuctionHouseTimeLeftBand"
,
Nilable
=
true
},
{
Name
=
"bidAmount"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"buyoutAmount"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"bidder"
,
Type
=
"string"
,
Nilable
=
true
},
...
...
Interface/AddOns/Blizzard_APIDocumentation/CalendarConstantsDocumentation.lua
View file @
d0a4cba6
...
...
@@ -27,9 +27,9 @@ local CalendarConstants =
{
Name
=
"CalendarErrorType"
,
Type
=
"Enumeration"
,
NumValues
=
47
,
NumValues
=
51
,
MinValue
=
0
,
MaxValue
=
46
,
MaxValue
=
50
,
Fields
=
{
{
Name
=
"CalendarErrorSuccess"
,
Type
=
"CalendarErrorType"
,
EnumValue
=
0
},
...
...
@@ -79,6 +79,10 @@ local CalendarConstants =
{
Name
=
"CalendarErrorInvalidDescription"
,
Type
=
"CalendarErrorType"
,
EnumValue
=
44
},
{
Name
=
"CalendarErrorInvalidClub"
,
Type
=
"CalendarErrorType"
,
EnumValue
=
45
},
{
Name
=
"CalendarErrorCreatorNotFound"
,
Type
=
"CalendarErrorType"
,
EnumValue
=
46
},
{
Name
=
"CalendarErrorEventThrottled"
,
Type
=
"CalendarErrorType"
,
EnumValue
=
47
},
{
Name
=
"CalendarErrorInviteThrottled"
,
Type
=
"CalendarErrorType"
,
EnumValue
=
48
},
{
Name
=
"CalendarErrorInternal"
,
Type
=
"CalendarErrorType"
,
EnumValue
=
49
},
{
Name
=
"CalendarErrorComplaintAdded"
,
Type
=
"CalendarErrorType"
,
EnumValue
=
50
},
},
},
{
...
...
@@ -156,13 +160,13 @@ local CalendarConstants =
Type
=
"Enumeration"
,
NumValues
=
4
,
MinValue
=
0
,
MaxValue
=
3
,
MaxValue
=
2
,
Fields
=
{
{
Name
=
"Get"
,
Type
=
"CalendarGetEventType"
,
EnumValue
=
0
},
{
Name
=
"Add"
,
Type
=
"CalendarGetEventType"
,
EnumValue
=
1
},
{
Name
=
"Copy"
,
Type
=
"CalendarGetEventType"
,
EnumValue
=
2
},
{
Name
=
"DefaultCalendarGetEventType"
,
Type
=
"CalendarGetEventType"
,
EnumValue
=
3
},
{
Name
=
"DefaultCalendarGetEventType"
,
Type
=
"CalendarGetEventType"
,
EnumValue
=
0
},
},
},
{
...
...
Interface/AddOns/Blizzard_APIDocumentation/ClubFinderDocumentation.lua
View file @
d0a4cba6
...
...
@@ -442,6 +442,7 @@ local ClubFinder =
{
Name
=
"requestType"
,
Type
=
"ClubFinderRequestType"
,
Nilable
=
false
},
{
Name
=
"playerName"
,
Type
=
"string"
,
Nilable
=
false
},
{
Name
=
"forceAccept"
,
Type
=
"bool"
,
Nilable
=
false
},
{
Name
=
"reported"
,
Type
=
"bool"
,
Nilable
=
true
},
},
},
{
...
...
@@ -686,13 +687,14 @@ local ClubFinder =
{
Name
=
"ClubFinderDisableReason"
,
Type
=
"Enumeration"
,
NumValues
=
2
,
NumValues
=
3
,
MinValue
=
0
,
MaxValue
=
1
,
MaxValue
=
2
,
Fields
=
{
{
Name
=
"Muted"
,
Type
=
"ClubFinderDisableReason"
,
EnumValue
=
0
},
{
Name
=
"Silenced"
,
Type
=
"ClubFinderDisableReason"
,
EnumValue
=
1
},
{
Name
=
"VeteranTrial"
,
Type
=
"ClubFinderDisableReason"
,
EnumValue
=
2
},
},
},
{
...
...
Interface/AddOns/Blizzard_APIDocumentation/ItemDocumentation.lua
View file @
d0a4cba6
...
...
@@ -351,6 +351,15 @@ local Item =
{
Name
=
"itemLocation"
,
Type
=
"table"
,
Mixin
=
"ItemLocationMixin"
,
Nilable
=
false
},
},
},
{
Name
=
"LockItemByGUID"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"itemGUID"
,
Type
=
"string"
,
Nilable
=
false
},
},
},
{
Name
=
"RequestLoadItemData"
,
Type
=
"Function"
,
...
...
@@ -378,6 +387,15 @@ local Item =
{
Name
=
"itemLocation"
,
Type
=
"table"
,
Mixin
=
"ItemLocationMixin"
,
Nilable
=
false
},
},
},
{
Name
=
"UnlockItemByGUID"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"itemGUID"
,
Type
=
"string"
,
Nilable
=
false
},
},
},
},
Events
=
...
...
Interface/AddOns/Blizzard_APIDocumentation/ItemInteractionUIDocumentation.lua
View file @
d0a4cba6
...
...
@@ -111,6 +111,7 @@ local ItemInteractionUI =
{
Name
=
"description"
,
Type
=
"string"
,
Nilable
=
true
},
{
Name
=
"cost"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"currencyTypeId"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"dropInSlotSoundKitId"
,
Type
=
"number"
,
Nilable
=
true
},
},
},
},
...
...
Interface/AddOns/Blizzard_APIDocumentation/LootDocumentation.lua
View file @
d0a4cba6
...
...
@@ -57,6 +57,7 @@ local Loot =
{
Name
=
"personalLootToast"
,
Type
=
"bool"
,
Nilable
=
false
},
{
Name
=
"currencyID"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"isSecondaryResult"
,
Type
=
"bool"
,
Nilable
=
false
},
{
Name
=
"corrupted"
,
Type
=
"bool"
,
Nilable
=
false
},
},
},
{
...
...
@@ -207,6 +208,7 @@ local Loot =
Payload
=
{
{
Name
=
"autoLoot"
,
Type
=
"bool"
,
Nilable
=
false
},
{
Name
=
"isFromItem"
,
Type
=
"bool"
,
Nilable
=
false
},
},
},
{
...
...
@@ -303,6 +305,7 @@ local Loot =
{
Name
=
"toastMethod"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"lessAwesome"
,
Type
=
"bool"
,
Nilable
=
false
},
{
Name
=
"upgraded"
,
Type
=
"bool"
,
Nilable
=
false
},
{
Name
=
"corrupted"
,
Type
=
"bool"
,
Nilable
=
false
},
},
},
{
...
...
Interface/AddOns/Blizzard_APIDocumentation/WowTokenUIDocumentation.lua
View file @
d0a4cba6
...
...
@@ -104,6 +104,11 @@ local WowTokenUI =
Type
=
"Event"
,
LiteralName
=
"TOKEN_SELL_CONFIRM_REQUIRED"
,
},
{
Name
=
"TokenSellConfirmed"
,
Type
=
"Event"
,
LiteralName
=
"TOKEN_SELL_CONFIRMED"
,
},
{
Name
=
"TokenSellResult"
,
Type
=
"Event"
,
...
...
Interface/AddOns/Blizzard_AchievementUI/Blizzard_AchievementUI.lua
View file @
d0a4cba6
...
...
@@ -3819,7 +3819,7 @@ function AchievementFrameSearchBox_OnEnterPressed(self)
searchPreviewContainer
.
showAllSearchResults
:
Click
();
end
else
local
preview
=
AchievementFrame
.
searchPreview
[
self
.
selectedIndex
];
local
preview
=
searchPreviewContainer
.
searchPreviews
[
self
.
selectedIndex
];
if
(
preview
:
IsShown
()
)
then
preview
:
Click
();
end
...
...
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionData.lua
View file @
d0a4cba6
...
...
@@ -124,6 +124,10 @@ function AuctionCategoryMixin:AddBulkInventoryTypeCategories(classID, subClassID
end
function
AuctionCategoryMixin
:
AddFilter
(
classID
,
subClassID
,
inventoryType
)
if
not
classID
and
not
subClassID
and
not
inventoryType
then
return
;
end
self
.
filters
=
self
.
filters
or
{};
self
.
filters
[
#
self
.
filters
+
1
]
=
{
classID
=
classID
,
subClassID
=
subClassID
,
inventoryType
=
inventoryType
,
};
...
...
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseAuctionsFrame.lua
View file @
d0a4cba6
...
...
@@ -17,9 +17,11 @@ function AuctionHouseAuctionsSummaryListMixin:OnLoad()
AuctionHouseBackgroundMixin
.
OnLoad
(
self
);
self
.
InsetFrame
:
Hide
();
self
.
SelectedHighlight
:
SetAtlas
(
"auctionhouse-ui-row-select"
,
true
);
self
.
SelectedHighlight
:
SetBlendMode
(
"ADD"
);
self
.
SelectedHighlight
:
SetAlpha
(
0
.
8
);
local
selectedHighlight
=
self
:
GetSelectedHighlight
();
selectedHighlight
:
SetAtlas
(
"auctionhouse-ui-row-select"
,
true
);
selectedHighlight
:
SetBlendMode
(
"ADD"
);
selectedHighlight
:
SetAlpha
(
0
.
8
);
end
...
...
@@ -50,8 +52,13 @@ function AuctionHouseAuctionsSummaryLineMixin:OnHide()
self
:
UnregisterEvent
(
"ITEM_KEY_ITEM_INFO_RECEIVED"
);
end
function
AuctionHouseAuctionsSummaryLineMixin
:
SetIconShown
(
shown
)
self
.
Icon
:
SetShown
(
shown
);
self
.
IconBorder
:
SetShown
(
shown
);
end
function
AuctionHouseAuctionsSummaryLineMixin
:
UpdateDisplay
()
self
.
Icon
:
Hide
(
);
self
:
SetIconShown
(
false
);
local
listIndex
=
self
:
GetListIndex
();
local
isDisplayingBids
=
self
.
auctionsFrame
:
IsDisplayingBids
();
...
...
@@ -71,7 +78,7 @@ function AuctionHouseAuctionsSummaryLineMixin:UpdateDisplay()
return
;
end
self
.
Icon
:
Show
(
);
self
:
SetIconShown
(
true
);
self
.
Icon
:
SetTexture
(
itemKeyInfo
.
iconFileID
);
self
.
Text
:
SetText
(
AuctionHouseUtil
.
GetItemDisplayTextFromItemKey
(
itemKey
,
itemKeyInfo
));
end
...
...
@@ -174,22 +181,14 @@ function AuctionHouseAuctionsFrameMixin:OnShow()
end
function
AuctionHouseAuctionsFrameMixin
:
RefreshSeachResults
()
if
self
:
IsDisplayingBids
()
then
local
displayMode
=
self
:
GetDisplayMode
();
if
self
:
IsDisplayingBids
()
and
displayMode
~=
AuctionsFrameDisplayMode
.
AllBids
then
self
:
GetAuctionHouseFrame
():
QueryAll
(
AuctionHouseSearchContext
.
AllBids
);
else
else
if
displayMode
~=
AuctionsFrameDisplayMode
.
AllAuctions
then
self
:
GetAuctionHouseFrame
():
QueryAll
(
AuctionHouseSearchContext
.
AllAuctions
);
end
local
displayMode
=
self
:
GetDisplayMode
();
local
itemKey
=
self
:
GetItemKey
();
if
itemKey
then
self
:
GetAuctionHouseFrame
():
QueryItem
(
self
:
GetSearchContext
(),
itemKey
);
if
displayMode
==
AuctionsFrameDisplayMode
.
Item
then
self
.
ItemList
:
DirtyScrollFrame
();
elseif
displayMode
==
AuctionsFrameDisplayMode
.
Commodity
then
self
.
CommoditiesList
:
DirtyScrollFrame
();
end
end
self
:
UpdateCancelAuctionButton
();
end
function
AuctionHouseAuctionsFrameMixin
:
OnHide
()
...
...
@@ -198,6 +197,7 @@ end
function
AuctionHouseAuctionsFrameMixin
:
OnEvent
(
event
,
...
)
if
event
==
"OWNED_AUCTIONS_UPDATED"
then
self
.
AllAuctionsList
:
SetSelectedEntry
(
nil
);
self
.
AllAuctionsList
:
Reset
();
self
.
SummaryList
:
RefreshScrollFrame
();
self
:
ValidateDisplayMode
();
...
...
@@ -342,10 +342,7 @@ function AuctionHouseAuctionsFrameMixin:InitializeCommoditiesList()
return
selectedRowData
and
currentRowData
.
auctionID
==
selectedRowData
.
auctionID
;
end
);
self
.
CommoditiesList
:
SetSelectionCallback
(
function
(
commoditySearchResult
)
self
:
OnCommoditySearchResultSelected
(
commoditySearchResult
);
return
true
;
end
);
self
.
CommoditiesList
:
SetSelectionCallback
(
AuctionHouseUtil
.
GenerateRowSelectedCallbackWithLink
(
self
,
self
.
OnCommoditySearchResultSelected
));
local
function
AuctionsCommoditiesList_GetAuctionHouseFrame
(
commoditiesList
)
return
commoditiesList
:
GetParent
():
GetAuctionHouseFrame
();
...
...
@@ -391,13 +388,11 @@ function AuctionHouseAuctionsFrameMixin:ValidateDisplayMode()
if
displayMode
==
AuctionsFrameDisplayMode
.
Item
or
displayMode
==
AuctionsFrameDisplayMode
.
Commodity
then
local
itemKey
=
self
:
GetItemKey
();
if
self
:
IsDisplayingBids
()
then
if
not
AuctionHouseUtil
.
HasBidType
(
itemKey
)
then
self
.
SummaryList
:
SetSelectedListIndex
(
1
);
end
local
hasType
,
typeIndex
=
AuctionHouseUtil
.
HasBidType
(
itemKey
);
self
.
SummaryList
:
SetSelectedListIndex
(
hasType
and
(
typeIndex
+
1
)
or
1
);
else
if
not
AuctionHouseUtil
.
HasOwnedAuctionType
(
itemKey
)
then
self
.
SummaryList
:
SetSelectedListIndex
(
1
);
end
local
hasType
,
typeIndex
=
AuctionHouseUtil
.
HasOwnedAuctionType
(
itemKey
);
self
.
SummaryList
:
SetSelectedListIndex
(
hasType
and
(
typeIndex
+
1
)
or
1
);
end
end
end
...
...
@@ -471,7 +466,11 @@ end
function
AuctionHouseAuctionsFrameMixin
:
SelectAuction
(
searchResult
)
self
.
selectedAuctionID
=
searchResult
and
searchResult
.
auctionID
or
nil
;
self
.
CancelAuctionButton
:
SetEnabled
(
self
.
selectedAuctionID
~=
nil
and
searchResult
.
status
~=
Enum
.
AuctionStatus
.
Sold
);
self
:
UpdateCancelAuctionButton
(
searchResult
);
end
function
AuctionHouseAuctionsFrameMixin
:
UpdateCancelAuctionButton
(
searchResult
)
self
.
CancelAuctionButton
:
SetEnabled
(
self
.
selectedAuctionID
~=
nil
and
(
self
.
selectedAuctionID
>
0
)
and
(
searchResult
and
searchResult
.
status
~=
Enum
.
AuctionStatus
.
Sold
));
end
function
AuctionHouseAuctionsFrameMixin
:
OnAllAuctionsSearchResultSelected
(
ownedAuctionInfo
)
...
...
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseAuctionsFrame.xml
View file @
d0a4cba6
...
...
@@ -10,7 +10,7 @@
<Button
name=
"AuctionHouseAuctionsSummaryLineTemplate"
mixin=
"AuctionHouseAuctionsSummaryLineMixin"
inherits=
"ScrollListLineTextTemplate, TruncatedTooltipScriptTemplate"
virtual=
"true"
>
<Layers>
<Layer
level=
"
ARTWORK
"
>
<Layer
level=
"
BORDER
"
>
<Texture
parentKey=
"Icon"
>
<Size
x=
"14"
y=
"14"
/>
<Anchors>
...
...
@@ -18,6 +18,14 @@
</Anchors>
</Texture>
</Layer>
<Layer
level=
"ARTWORK"
>
<Texture
parentKey=
"IconBorder"
atlas=
"auctionhouse-itemicon-small-border"
useAtlasSize=
"false"
>
<Size
x=
"16"
y=
"16"
/>
<Anchors>
<Anchor
point=
"CENTER"
relativeKey=
"$parent.Icon"
/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad
method=
"OnLoad"
/>
...
...
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseCategoriesList.lua
View file @
d0a4cba6
...
...
@@ -211,6 +211,11 @@ function AuctionHouseCategoriesListMixin:OnShow()
AuctionFrameFilters_Update
(
self
);
end
function
AuctionHouseCategoriesListMixin
:
IsWoWTokenCategorySelected
()
local
categoryInfo
=
AuctionHouseCategory_FindDeepest
(
self
.
selectedCategoryIndex
,
self
.
selectedSubCategoryIndex
,
self
.
selectedSubSubCategoryIndex
);
return
categoryInfo
and
categoryInfo
:
HasFlag
(
"WOW_TOKEN_FLAG"
);
end
function
AuctionHouseCategoriesListMixin
:
SetSelectedCategory
(
selectedCategoryIndex
,
selectedSubCategoryIndex
,
selectedSubSubCategoryIndex
)
self
.
selectedCategoryIndex
=
selectedCategoryIndex
;
self
.
selectedSubCategoryIndex
=
selectedSubCategoryIndex
;
...
...
@@ -218,13 +223,14 @@ function AuctionHouseCategoriesListMixin:SetSelectedCategory(selectedCategoryInd
self
:
GetAuctionHouseFrame
():
TriggerEvent
(
AuctionHouseFrameMixin
.
Event
.
CategorySelected
,
selectedCategoryIndex
,
selectedSubCategoryIndex
,
selectedSubSubCategoryIndex
);
local
categoryInfo
=
AuctionHouseCategory_FindDeepest
(
selectedCategoryIndex
,
selectedSubCategoryIndex
,
selectedSubSubCategoryIndex
);
local
displayMode
=
self
:
GetAuctionHouseFrame
():
GetDisplayMode
();
if
categoryInfo
and
categoryInfo
:
HasFlag
(
"WOW_TOKEN_FLAG"
)
and
displayMode
~=
AuctionHouseFrameDisplayMode
.
WoWTokenBuy
then
if
self
:
IsWoWTokenCategorySelected
(
)
and
displayMode
~=
AuctionHouseFrameDisplayMode
.
WoWTokenBuy
then
self
:
GetAuctionHouseFrame
():
SetDisplayMode
(
AuctionHouseFrameDisplayMode
.
WoWTokenBuy
);
elseif
displayMode
~=
AuctionHouseFrameDisplayMode
.
Buy
and
displayMode
~=
AuctionHouseFrameDisplayMode
.
ItemBuy
and
displayMode
~=
AuctionHouseFrameDisplayMode
.
CommoditiesBuy
then
self
:
GetAuctionHouseFrame
():
SetDisplayMode
(
AuctionHouseFrameDisplayMode
.
Buy
);
end
AuctionFrameFilters_Update
(
self
);
end
function
AuctionHouseCategoriesListMixin
:
GetSelectedCategory
()
...
...
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseCommoditiesBuyFrame.lua
View file @
d0a4cba6
...
...
@@ -49,6 +49,16 @@ function AuctionHouseCommoditiesBuyDisplayMixin:OnShow()
self
:
GetAuctionHouseFrame
():
RegisterCallback
(
AuctionHouseFrameMixin
.
Event
.
CommoditiesQuantitySelectionChanged
,
self
.
quantitySelectionChangedCallback
);
end
function
AuctionHouseCommoditiesBuyDisplayMixin
:
UpdateBuyButton
()
if
self
.
TotalPrice
:
GetAmount
()
>
GetMoney
()
then
self
.
BuyButton
:
SetDisableTooltip
(
AUCTION_HOUSE_TOOLTIP_TITLE_NOT_ENOUGH_MONEY
);
elseif
self
.
QuantityInput
:
GetQuantity
()
<=
0
then
self
.
BuyButton
:
SetDisableTooltip
(
AUCTION_HOUSE_TOOLTIP_TITLE_NONE_AVAILABLE
);
else
self
.
BuyButton
:
SetDisableTooltip
(
nil
);
end
end
function
AuctionHouseCommoditiesBuyDisplayMixin
:
SetItemIDAndPrice
(
itemID
,
minPrice
)
if
itemID
then
self
.
ItemDisplay
:
SetItem
(
itemID
);
...
...
@@ -65,11 +75,7 @@ function AuctionHouseCommoditiesBuyDisplayMixin:SetPrice(unitPrice, totalPrice)
self
.
UnitPrice
:
SetAmount
(
unitPrice
);
self
.
TotalPrice
:
SetAmount
(
totalPrice
);
if
totalPrice
>
GetMoney
()
then
self
.
BuyButton
:
SetDisableTooltip
(
AUCTION_HOUSE_TOOLTIP_TITLE_NOT_ENOUGH_MONEY
);
else
self
.
BuyButton
:
SetDisableTooltip
(
nil
);
end
self
:
UpdateBuyButton
();
end
function
AuctionHouseCommoditiesBuyDisplayMixin
:
GetItemID
()
...
...
@@ -138,10 +144,7 @@ function AuctionHouseCommoditiesBuyFrameMixin:OnLoad()
self
:
SetSearchContext
(
AuctionHouseSearchContext
.
BuyCommodities
);
self
.
ItemList
:
SetSelectionCallback
(
function
(
auctionData
)
self
:
OnAuctionSelected
(
auctionData
);
return
true
;
end
);
self
.
ItemList
:
SetSelectionCallback
(
AuctionHouseUtil
.
GenerateRowSelectedCallbackWithLink
(
self
,
self
.
OnAuctionSelected
));
end
function
AuctionHouseCommoditiesBuyFrameMixin
:
GetItemID
()
...
...
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseCommoditiesList.lua
View file @
d0a4cba6
...
...
@@ -105,11 +105,6 @@ AuctionHouseCommoditiesBuyListMixin = CreateFromMixins(AuctionHouseCommoditiesLi
function
AuctionHouseCommoditiesBuyListMixin
:
OnLoad
()
AuctionHouseCommoditiesListMixin
.
OnLoad
(
self
);
self
:
SetSelectionCallback
(
function
(
auctionData
)
self
:
OnAuctionSelected
(
auctionData
);
return
true
;
end
);
self
:
SetTableBuilderLayout
(
AuctionHouseTableBuilder
.
GetCommoditiesBuyListLayout
(
self
));
local
function
QuantitySelectionChangedCallback
(
event
,
quantity
)
...
...
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseCommoditiesSellFrame.lua
View file @
d0a4cba6
...
...
@@ -15,10 +15,7 @@ function AuctionHouseCommoditiesSellFrameMixin:Init()
self
:
SetSearchContext
(
AuctionHouseSearchContext
.
SellCommodities
);
local
commoditiesSellList
=
self
:
GetCommoditiesSellList
();
commoditiesSellList
:
SetSelectionCallback
(
function
(
commoditySearchResult
)
self
:
OnAuctionSelected
(
commoditySearchResult
);
return
true
;
end
);
commoditiesSellList
:
SetSelectionCallback
(
AuctionHouseUtil
.
GenerateRowSelectedCallbackWithLink
(
self
,
self
.
OnAuctionSelected
));
commoditiesSellList
:
RefreshScrollFrame
();
end
...
...
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseFrame.lua
View file @
d0a4cba6
...
...
@@ -60,6 +60,12 @@ StaticPopupDialogs["CANCEL_AUCTION"] = {
hideOnEscape
=
1
};
AUCTION_HOUSE_STATIC_POPUPS
=
{
"BUYOUT_AUCTION"
,
"BID_AUCTION"
,
"CANCEL_AUCTION"
,
};
local
AuctionHouseSortVersion
=
1
;
local
MaxNumAuctionHouseSortTypes
=
2
;
...
...
@@ -283,6 +289,8 @@ function AuctionHouseFrameMixin:OnLoad()
if
tab
==
self
.
SellTab
then
self
.
tabsForDisplayMode
[
AuctionHouseFrameDisplayMode
.
CommoditiesSell
]
=
i
;
self
.
tabsForDisplayMode
[
AuctionHouseFrameDisplayMode
.
WoWTokenSell
]
=
i
;
elseif
tab
==
self
.
BuyTab
then
self
.
tabsForDisplayMode
[
AuctionHouseFrameDisplayMode
.
WoWTokenBuy
]
=
i
;
end
end
end
...
...
@@ -339,16 +347,23 @@ function AuctionHouseFrameMixin:OnHide()
self
.
BrowseResultsFrame
:
Reset
();
self
.
WoWTokenSellFrame
:
SetItem
(
nil
);
self
.
CommoditiesSellFrame
:
SetItem
(
nil
);
self
.
CommoditiesSellList
:
SetItemID
(
nil
);
self
.
ItemSellFrame
:
SetItem
(
nil
);
self
:
ClearPostItem
();
C_AuctionHouse
.
CloseAuctionHouse
();
self
:
CloseStaticPopups
();
PlaySound
(
SOUNDKIT
.
AUCTION_WINDOW_CLOSE
);
end
function
AuctionHouseFrameMixin
:
CloseStaticPopups
()
for
i
,
popup
in
ipairs
(
AUCTION_HOUSE_STATIC_POPUPS
)
do
if
StaticPopup_Visible
(
popup
)
then
StaticPopup_Hide
(
popup
);
end
end
end
function
AuctionHouseFrameMixin
:
ClearMaxWidthCaches
()
self
.
maxBidPriceWidth
=
{};
self
.
maxBuyoutPriceWidth
=
{};
...
...
@@ -428,6 +443,10 @@ function AuctionHouseFrameMixin:SetDisplayMode(displayMode)
elseif
self
.
WoWTokenSellFrame
:
GetItem
()
then
displayMode
=
AuctionHouseFrameDisplayMode
.
WoWTokenSell
;
end
elseif
displayMode
==
AuctionHouseFrameDisplayMode
.
Buy
then
if
self
:
GetCategoriesList
():
IsWoWTokenCategorySelected
()
then
displayMode
=
AuctionHouseFrameDisplayMode
.
WoWTokenBuy
;
end
end
if
self
.
displayMode
==
displayMode
then
...
...
@@ -483,7 +502,6 @@ function AuctionHouseFrameMixin:SetPostItem(itemLocation)
return
;
end
local
displayMode
=
self
:
GetDisplayMode
();
local
itemCommodityStatus
=
C_AuctionHouse
.
GetItemCommodityStatus
(
itemLocation
);
if
itemCommodityStatus
==
Enum
.
ItemCommodityStatus
.
Unknown
then
return
;
-- No item data, bail out.
...
...
@@ -505,15 +523,10 @@ function AuctionHouseFrameMixin:SetPostItem(itemLocation)
end
function
AuctionHouseFrameMixin
:
ClearPostItem
()
local
displayMode
=
self
:
GetDisplayMode
();
if
displayMode
==
AuctionHouseFrameDisplayMode
.
WoWTokenSell
then
self
.
WoWTokenSellFrame
:
SetItem
(
nil
);
elseif
displayMode
==
AuctionHouseFrameDisplayMode
.
CommoditiesSell
then
self
.
CommoditiesSellFrame
:
SetItem
(
nil
);
self
.
CommoditiesSellList
:
SetItemID
(
nil
);
elseif
displayMode
==
AuctionHouseFrameDisplayMode
.
ItemSell
then
self
.
ItemSellFrame
:
SetItem
(
nil
);
end
self
.
WoWTokenSellFrame
:
SetItem
(
nil
);
self
.
CommoditiesSellFrame
:
SetItem
(
nil
);
self
.
CommoditiesSellList
:
SetItemID
(
nil
);
self
.
ItemSellFrame
:
SetItem
(
nil
);
end
function
AuctionHouseFrameMixin
:
UpdateTitle
()
...
...
@@ -550,9 +563,13 @@ function AuctionHouseFrameMixin:GetFavoriteDropDown()
end