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
c2f4a78f
Commit
c2f4a78f
authored
Oct 11, 2019
by
TOM_RUS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WOW-32151patch8.3.0_PTR
parent
31471cf3
Changes
44
Hide whitespace changes
Inline
Side-by-side
Showing
44 changed files
with
1086 additions
and
545 deletions
+1086
-545
Interface/AddOns/Blizzard_APIDocumentation/AuctionHouseDocumentation.lua
...s/Blizzard_APIDocumentation/AuctionHouseDocumentation.lua
+109
-23
Interface/AddOns/Blizzard_APIDocumentation/ClubFinderDocumentation.lua
...Ons/Blizzard_APIDocumentation/ClubFinderDocumentation.lua
+1
-13
Interface/AddOns/Blizzard_APIDocumentation/GuildInfoDocumentation.lua
...dOns/Blizzard_APIDocumentation/GuildInfoDocumentation.lua
+15
-11
Interface/AddOns/Blizzard_APIDocumentation/LFGuildInfoDocumentation.lua
...ns/Blizzard_APIDocumentation/LFGuildInfoDocumentation.lua
+14
-0
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseAuctionsFrame.lua
...ard_AuctionHouseUI/Blizzard_AuctionHouseAuctionsFrame.lua
+9
-19
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseBrowseResultsFrame.lua
...uctionHouseUI/Blizzard_AuctionHouseBrowseResultsFrame.lua
+6
-6
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseCommoditiesList.lua
...d_AuctionHouseUI/Blizzard_AuctionHouseCommoditiesList.lua
+3
-3
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseFrame.lua
...ns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseFrame.lua
+6
-1
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseItemBuyFrame.lua
...zard_AuctionHouseUI/Blizzard_AuctionHouseItemBuyFrame.lua
+23
-16
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseItemList.lua
...Blizzard_AuctionHouseUI/Blizzard_AuctionHouseItemList.lua
+36
-19
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseItemList.xml
...Blizzard_AuctionHouseUI/Blizzard_AuctionHouseItemList.xml
+1
-0
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseItemSellFrame.lua
...ard_AuctionHouseUI/Blizzard_AuctionHouseItemSellFrame.lua
+18
-16
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseSellFrame.lua
...lizzard_AuctionHouseUI/Blizzard_AuctionHouseSellFrame.lua
+8
-2
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseSharedTemplates.lua
...d_AuctionHouseUI/Blizzard_AuctionHouseSharedTemplates.lua
+60
-27
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseSharedTemplates.xml
...d_AuctionHouseUI/Blizzard_AuctionHouseSharedTemplates.xml
+5
-1
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseUtil.lua
...Ons/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseUtil.lua
+15
-1
Interface/AddOns/Blizzard_Collections/Blizzard_Wardrobe.lua
Interface/AddOns/Blizzard_Collections/Blizzard_Wardrobe.lua
+67
-56
Interface/AddOns/Blizzard_Collections/Blizzard_Wardrobe.xml
Interface/AddOns/Blizzard_Collections/Blizzard_Wardrobe.xml
+11
-12
Interface/AddOns/Blizzard_Communities/ClubFinder.lua
Interface/AddOns/Blizzard_Communities/ClubFinder.lua
+4
-4
Interface/AddOns/Blizzard_Deprecated/Blizzard_Deprecated.toc
Interface/AddOns/Blizzard_Deprecated/Blizzard_Deprecated.toc
+2
-1
Interface/AddOns/Blizzard_Deprecated/Deprecated_8_3_0.lua
Interface/AddOns/Blizzard_Deprecated/Deprecated_8_3_0.lua
+19
-0
Interface/AddOns/Blizzard_LookingForGuildUI/Blizzard_LookingForGuildUI.lua
...Blizzard_LookingForGuildUI/Blizzard_LookingForGuildUI.lua
+1
-1
Interface/AddOns/Blizzard_OrderHallUI/Blizzard_OrderHallTalents.lua
...AddOns/Blizzard_OrderHallUI/Blizzard_OrderHallTalents.lua
+202
-149
Interface/AddOns/Blizzard_OrderHallUI/Blizzard_OrderHallTalents.xml
...AddOns/Blizzard_OrderHallUI/Blizzard_OrderHallTalents.xml
+23
-9
Interface/AddOns/Blizzard_SharedMapDataProviders/AreaPOIDataProvider.lua
...s/Blizzard_SharedMapDataProviders/AreaPOIDataProvider.lua
+1
-1
Interface/FrameXML/ChatFrame.lua
Interface/FrameXML/ChatFrame.lua
+45
-45
Interface/FrameXML/ContainerFrame.lua
Interface/FrameXML/ContainerFrame.lua
+32
-32
Interface/FrameXML/DressUpFrames.xml
Interface/FrameXML/DressUpFrames.xml
+7
-0
Interface/FrameXML/MoneyInputFrame.lua
Interface/FrameXML/MoneyInputFrame.lua
+2
-2
Interface/FrameXML/RecruitAFriendFrame.lua
Interface/FrameXML/RecruitAFriendFrame.lua
+26
-2
Interface/FrameXML/RecruitAFriendFrame.xml
Interface/FrameXML/RecruitAFriendFrame.xml
+3
-1
Interface/FrameXML/SecureCapsule.lua
Interface/FrameXML/SecureCapsule.lua
+1
-1
Interface/FrameXML/StaticPopup.lua
Interface/FrameXML/StaticPopup.lua
+4
-4
Interface/FrameXML/TransmogUtil.lua
Interface/FrameXML/TransmogUtil.lua
+2
-2
Interface/FrameXML/UIParent.lua
Interface/FrameXML/UIParent.lua
+35
-54
Interface/FrameXML/WardrobeOutfits.lua
Interface/FrameXML/WardrobeOutfits.lua
+1
-1
Interface/GlueXML/GlueParent.lua
Interface/GlueXML/GlueParent.lua
+0
-5
Interface/SharedXML/DressUpModelFrameMixin.lua
Interface/SharedXML/DressUpModelFrameMixin.lua
+1
-2
Interface/SharedXML/ModelSceneCameras/OrbitCameraMixin.lua
Interface/SharedXML/ModelSceneCameras/OrbitCameraMixin.lua
+8
-1
Interface/SharedXML/ModelSceneControlFrameMixin.lua
Interface/SharedXML/ModelSceneControlFrameMixin.lua
+132
-0
Interface/SharedXML/ModelSceneMixin.lua
Interface/SharedXML/ModelSceneMixin.lua
+46
-0
Interface/SharedXML/ModelSceneMixin.xml
Interface/SharedXML/ModelSceneMixin.xml
+2
-1
Interface/SharedXML/ModelSceneTemplates.xml
Interface/SharedXML/ModelSceneTemplates.xml
+79
-1
Interface/SharedXML/ModelSceneTemplatesScripts.xml
Interface/SharedXML/ModelSceneTemplatesScripts.xml
+1
-0
No files found.
Interface/AddOns/Blizzard_APIDocumentation/AuctionHouseDocumentation.lua
View file @
c2f4a78f
...
...
@@ -405,6 +405,15 @@ local AuctionHouse =
{
Name
=
"numOwnedAuctions"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"GetNumReplicateItems"
,
Type
=
"Function"
,
Returns
=
{
{
Name
=
"numReplicateItems"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"GetOwnedAuctionInfo"
,
Type
=
"Function"
,
...
...
@@ -442,6 +451,80 @@ local AuctionHouse =
{
Name
=
"quoteDurationSeconds"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"GetReplicateItemBattlePetInfo"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"index"
,
Type
=
"number"
,
Nilable
=
false
},
},
Returns
=
{
{
Name
=
"creatureID"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"displayID"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"GetReplicateItemInfo"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"index"
,
Type
=
"number"
,
Nilable
=
false
},
},
Returns
=
{
{
Name
=
"name"
,
Type
=
"string"
,
Nilable
=
true
},
{
Name
=
"texture"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"count"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"qualityID"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"usable"
,
Type
=
"bool"
,
Nilable
=
true
},
{
Name
=
"level"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"levelType"
,
Type
=
"string"
,
Nilable
=
true
},
{
Name
=
"minBid"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"minIncrement"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"buyoutPrice"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"bidAmount"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"highBidder"
,
Type
=
"string"
,
Nilable
=
true
},
{
Name
=
"bidderFullName"
,
Type
=
"string"
,
Nilable
=
true
},
{
Name
=
"owner"
,
Type
=
"string"
,
Nilable
=
true
},
{
Name
=
"ownerFullName"
,
Type
=
"string"
,
Nilable
=
true
},
{
Name
=
"saleStatus"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"itemID"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"hasAllInfo"
,
Type
=
"bool"
,
Nilable
=
true
},
},
},
{
Name
=
"GetReplicateItemLink"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"index"
,
Type
=
"number"
,
Nilable
=
false
},
},
Returns
=
{
{
Name
=
"itemLink"
,
Type
=
"string"
,
Nilable
=
true
},
},
},
{
Name
=
"GetReplicateItemTimeLeft"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"index"
,
Type
=
"number"
,
Nilable
=
false
},
},
Returns
=
{
{
Name
=
"timeLeft"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"HasFavorites"
,
Type
=
"Function"
,
...
...
@@ -638,6 +721,10 @@ local AuctionHouse =
{
Name
=
"itemKey"
,
Type
=
"ItemKey"
,
Nilable
=
false
},
},
},
{
Name
=
"ReplicateItems"
,
Type
=
"Function"
,
},
{
Name
=
"RequestMoreBrowseResults"
,
Type
=
"Function"
,
...
...
@@ -679,6 +766,16 @@ local AuctionHouse =
{
Name
=
"sorts"
,
Type
=
"table"
,
InnerType
=
"AuctionHouseSortType"
,
Nilable
=
false
},
},
},
{
Name
=
"SearchForItemKeys"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"itemKeys"
,
Type
=
"table"
,
InnerType
=
"ItemKey"
,
Nilable
=
false
},
{
Name
=
"sorts"
,
Type
=
"table"
,
InnerType
=
"AuctionHouseSortType"
,
Nilable
=
false
},
},
},
{
Name
=
"SendBrowseQuery"
,
Type
=
"Function"
,
...
...
@@ -734,15 +831,14 @@ local AuctionHouse =
Events
=
{
{
Name
=
"AuctionBidderListUpdate"
,
Type
=
"Event"
,
LiteralName
=
"AUCTION_BIDDER_LIST_UPDATE"
,
},
{
Name
=
"AuctionCanceled"
,
Type
=
"Event"
,
LiteralName
=
"AUCTION_CANCELED"
,
Payload
=
{
{
Name
=
"auctionID"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"AuctionHouseBrowseResultsAdded"
,
...
...
@@ -783,11 +879,6 @@ local AuctionHouse =
Type
=
"Event"
,
LiteralName
=
"AUCTION_HOUSE_SHOW"
,
},
{
Name
=
"AuctionItemListUpdate"
,
Type
=
"Event"
,
LiteralName
=
"AUCTION_ITEM_LIST_UPDATE"
,
},
{
Name
=
"AuctionMultisellFailure"
,
Type
=
"Event"
,
...
...
@@ -812,11 +903,6 @@ local AuctionHouse =
{
Name
=
"totalToCreate"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"AuctionOwnedListUpdate"
,
Type
=
"Event"
,
LiteralName
=
"AUCTION_OWNED_LIST_UPDATE"
,
},
{
Name
=
"BidAdded"
,
Type
=
"Event"
,
...
...
@@ -929,11 +1015,6 @@ local AuctionHouse =
{
Name
=
"itemKey"
,
Type
=
"ItemKey"
,
Nilable
=
false
},
},
},
{
Name
=
"NewAuctionUpdate"
,
Type
=
"Event"
,
LiteralName
=
"NEW_AUCTION_UPDATE"
,
},
{
Name
=
"OwnedAuctionAdded"
,
Type
=
"Event"
,
...
...
@@ -957,6 +1038,11 @@ local AuctionHouse =
Type
=
"Event"
,
LiteralName
=
"OWNED_AUCTIONS_UPDATED"
,
},
{
Name
=
"ReplicateItemListUpdate"
,
Type
=
"Event"
,
LiteralName
=
"REPLICATE_ITEM_LIST_UPDATE"
,
},
},
Tables
=
...
...
@@ -1047,7 +1133,7 @@ local AuctionHouse =
{
{
Name
=
"auctionID"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"itemKey"
,
Type
=
"ItemKey"
,
Nilable
=
false
},
{
Name
=
"itemLink"
,
Type
=
"string"
,
Nilable
=
fals
e
},
{
Name
=
"itemLink"
,
Type
=
"string"
,
Nilable
=
tru
e
},
{
Name
=
"timeLeft"
,
Type
=
"AuctionHouseTimeLeftBand"
,
Nilable
=
false
},
{
Name
=
"bidAmount"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"buyoutAmount"
,
Type
=
"number"
,
Nilable
=
true
},
...
...
@@ -1114,7 +1200,7 @@ local AuctionHouse =
{
Name
=
"timeLeft"
,
Type
=
"AuctionHouseTimeLeftBand"
,
Nilable
=
false
},
{
Name
=
"auctionID"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"quantity"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"itemLink"
,
Type
=
"string"
,
Nilable
=
fals
e
},
{
Name
=
"itemLink"
,
Type
=
"string"
,
Nilable
=
tru
e
},
{
Name
=
"containsOwnerItem"
,
Type
=
"bool"
,
Nilable
=
false
},
{
Name
=
"containsSocketedItem"
,
Type
=
"bool"
,
Nilable
=
false
},
{
Name
=
"bidder"
,
Type
=
"string"
,
Nilable
=
true
},
...
...
@@ -1131,7 +1217,7 @@ local AuctionHouse =
{
{
Name
=
"auctionID"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"itemKey"
,
Type
=
"ItemKey"
,
Nilable
=
false
},
{
Name
=
"itemLink"
,
Type
=
"string"
,
Nilable
=
fals
e
},
{
Name
=
"itemLink"
,
Type
=
"string"
,
Nilable
=
tru
e
},
{
Name
=
"status"
,
Type
=
"AuctionStatus"
,
Nilable
=
false
},
{
Name
=
"quantity"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"timeLeftSeconds"
,
Type
=
"number"
,
Nilable
=
false
},
...
...
Interface/AddOns/Blizzard_APIDocumentation/ClubFinderDocumentation.lua
View file @
c2f4a78f
...
...
@@ -717,18 +717,6 @@ local ClubFinder =
{
Name
=
"lastUpdatedTime"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"ClubFinderGuildTabardInfo"
,
Type
=
"Structure"
,
Fields
=
{
{
Name
=
"backgroundColor"
,
Type
=
"table"
,
Mixin
=
"ColorMixin"
,
Nilable
=
false
},
{
Name
=
"borderColor"
,
Type
=
"table"
,
Mixin
=
"ColorMixin"
,
Nilable
=
false
},
{
Name
=
"emblemColor"
,
Type
=
"table"
,
Mixin
=
"ColorMixin"
,
Nilable
=
false
},
{
Name
=
"emblemFileID"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"emblemStyle"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"ClubSettingsInfo"
,
Type
=
"Structure"
,
...
...
@@ -765,7 +753,7 @@ local ClubFinder =
{
Name
=
"guildLeader"
,
Type
=
"string"
,
Nilable
=
false
},
{
Name
=
"isGuild"
,
Type
=
"bool"
,
Nilable
=
false
},
{
Name
=
"emblemInfo"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"tabardInfo"
,
Type
=
"
ClubFinder
GuildTabardInfo"
,
Nilable
=
true
},
{
Name
=
"tabardInfo"
,
Type
=
"GuildTabardInfo"
,
Nilable
=
true
},
{
Name
=
"recruitingSpecIds"
,
Type
=
"table"
,
InnerType
=
"number"
,
Nilable
=
false
},
{
Name
=
"recruitmentFlags"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"minILvl"
,
Type
=
"number"
,
Nilable
=
false
},
...
...
Interface/AddOns/Blizzard_APIDocumentation/GuildInfoDocumentation.lua
View file @
c2f4a78f
...
...
@@ -61,6 +61,20 @@ local GuildInfo =
{
Name
=
"rankOrder"
,
Type
=
"number"
,
Nilable
=
false
},
},
},
{
Name
=
"GetGuildTabardInfo"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"unit"
,
Type
=
"string"
,
Nilable
=
false
},
},
Returns
=
{
{
Name
=
"tabardInfo"
,
Type
=
"GuildTabardInfo"
,
Nilable
=
true
},
},
},
{
Name
=
"GuildControlGetRankFlags"
,
Type
=
"Function"
,
...
...
@@ -200,17 +214,7 @@ local GuildInfo =
{
Name
=
"guildAchievementPoints"
,
Type
=
"number"
,
Nilable
=
false
},
{
Name
=
"oldGuildName"
,
Type
=
"string"
,
Nilable
=
false
},
{
Name
=
"isNewGuild"
,
Type
=
"bool"
,
Nilable
=
true
},
{
Name
=
"bkgColorR"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"bkgColorG"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"bkgColorB"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"borderColorR"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"borderColorG"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"borderColorB"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"emblemColorR"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"emblemColorG"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"emblemColorB"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"emblemFileID"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"emblemIndex"
,
Type
=
"number"
,
Nilable
=
true
},
{
Name
=
"tabardInfo"
,
Type
=
"GuildTabardInfo"
,
Nilable
=
true
},
},
},
{
...
...
Interface/AddOns/Blizzard_APIDocumentation/LFGuildInfoDocumentation.lua
View file @
c2f4a78f
...
...
@@ -6,6 +6,20 @@ local LFGuildInfo =
Functions
=
{
{
Name
=
"GetRecruitingGuildTabardInfo"
,
Type
=
"Function"
,
Arguments
=
{
{
Name
=
"index"
,
Type
=
"number"
,
Nilable
=
false
},
},
Returns
=
{
{
Name
=
"tabardInfo"
,
Type
=
"GuildTabardInfo"
,
Nilable
=
true
},
},
},
},
Events
=
...
...
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseAuctionsFrame.lua
View file @
c2f4a78f
...
...
@@ -187,9 +187,9 @@ function AuctionHouseAuctionsFrameMixin:RefreshSeachResults()
if
itemKey
then
self
:
GetAuctionHouseFrame
():
QueryItem
(
self
:
GetSearchContext
(),
itemKey
);
if
displayMode
==
AuctionsFrameDisplayMode
.
Item
then
self
.
ItemList
:
Refresh
ScrollFrame
();
self
.
ItemList
:
Dirty
ScrollFrame
();
elseif
displayMode
==
AuctionsFrameDisplayMode
.
Commodity
then
self
.
CommoditiesList
:
Refresh
ScrollFrame
();
self
.
CommoditiesList
:
Dirty
ScrollFrame
();
end
end
end
...
...
@@ -215,18 +215,18 @@ function AuctionHouseAuctionsFrameMixin:OnEvent(event, ...)
self
.
SummaryList
:
RefreshScrollFrame
();
elseif
event
==
"ITEM_SEARCH_RESULTS_UPDATED"
then
self
.
ItemList
:
Refresh
ScrollFrame
();
self
.
ItemList
:
Dirty
ScrollFrame
();
elseif
event
==
"ITEM_SEARCH_RESULTS_ADDED"
then
self
.
ItemList
:
Refresh
ScrollFrame
();
self
.
ItemList
:
Dirty
ScrollFrame
();
elseif
event
==
"BIDS_UPDATED"
then
self
.
BidsList
:
Refresh
ScrollFrame
();
self
.
BidsList
:
Dirty
ScrollFrame
();
if
self
:
IsDisplayingBids
()
then
self
.
SummaryList
:
RefreshScrollFrame
();
end
elseif
event
==
"BID_ADDED"
then
self
.
BidsList
:
Refresh
ScrollFrame
();
self
.
BidsList
:
Dirty
ScrollFrame
();
if
self
:
IsDisplayingBids
()
then
self
.
SummaryList
:
RefreshScrollFrame
();
...
...
@@ -267,7 +267,7 @@ function AuctionHouseAuctionsFrameMixin:InitializeAllAuctionsList()
local
function
AllAuctionsRefreshResults
()
self
:
GetAuctionHouseFrame
():
QueryAll
(
AuctionHouseSearchContext
.
AllAuctions
);
self
.
AllAuctionsList
:
Refresh
ScrollFrame
();
self
.
AllAuctionsList
:
Dirty
ScrollFrame
();
end
local
AllAuctionsGetTotalQuantity
=
nil
;
...
...
@@ -295,7 +295,7 @@ function AuctionHouseAuctionsFrameMixin:InitializeBidsList()
local
function
BidsListRefreshResults
()
self
:
GetAuctionHouseFrame
():
QueryAll
(
AuctionHouseSearchContext
.
AllBids
);
self
.
BidsList
:
Refresh
ScrollFrame
();
self
.
BidsList
:
Dirty
ScrollFrame
();
end
local
BidsListGetTotalQuantity
=
nil
;
...
...
@@ -314,17 +314,7 @@ function AuctionHouseAuctionsFrameMixin:InitializeItemList()
return
selectedRowData
and
currentRowData
.
auctionID
==
selectedRowData
.
auctionID
;
end
);
local
function
ItemSellFrameListLineOnEnterCallback
(
line
,
rowData
)
GameTooltip
:
SetOwner
(
line
,
"ANCHOR_RIGHT"
);
local
hideVendorPrice
=
true
;
GameTooltip
:
SetHyperlink
(
rowData
.
itemLink
,
nil
,
nil
,
nil
,
hideVendorPrice
);
AuctionHouseUtil
.
AddAuctionHouseTooltipInfo
(
GameTooltip
,
rowData
.
owners
,
rowData
.
timeLeft
);
GameTooltip
:
Show
();
end
self
.
ItemList
:
SetLineOnEnterCallback
(
ItemSellFrameListLineOnEnterCallback
);
self
.
ItemList
:
SetLineOnEnterCallback
(
AuctionHouseUtil
.
SetAuctionHouseTooltip
);
self
.
ItemList
:
SetLineOnLeaveCallback
(
GameTooltip_Hide
);
local
function
AuctionsItemListSearchStarted
()
...
...
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseBrowseResultsFrame.lua
View file @
c2f4a78f
...
...
@@ -4,6 +4,8 @@ local BROWSE_SCROLL_OFFSET_REFRESH_THRESHOLD = 30;
AuctionHouseBrowseResultsFrameMixin
=
CreateFromMixins
(
AuctionHouseSortOrderSystemMixin
);
-- These events are registered in OnLoad, as the browse results can be updated
-- when the player retrieves specific item and commodity results.
local
AUCTION_HOUSE_BROWSE_RESULTS_FRAME_EVENTS
=
{
"AUCTION_HOUSE_BROWSE_RESULTS_UPDATED"
,
"AUCTION_HOUSE_BROWSE_RESULTS_ADDED"
,
...
...
@@ -16,6 +18,8 @@ function AuctionHouseBrowseResultsFrameMixin:SetupTableBuilder(extraInfoColumn)
end
function
AuctionHouseBrowseResultsFrameMixin
:
OnLoad
()
FrameUtil
.
RegisterFrameForEvents
(
self
,
AUCTION_HOUSE_BROWSE_RESULTS_FRAME_EVENTS
);
AuctionHouseSortOrderSystemMixin
.
OnLoad
(
self
);
local
scrollFrame
=
self
.
ItemList
.
ScrollFrame
;
...
...
@@ -62,7 +66,7 @@ function AuctionHouseBrowseResultsFrameMixin:OnLoad()
self
.
browseSearchStartedCallback
=
function
()
self
.
searchStarted
=
true
;
self
.
browseResults
=
{};
self
.
ItemList
:
Refresh
ScrollFrame
();
self
.
ItemList
:
Dirty
ScrollFrame
();
end
;
-- If the player has favorites, an automatic search will be started immediately. This is required because
...
...
@@ -72,8 +76,6 @@ function AuctionHouseBrowseResultsFrameMixin:OnLoad()
end
function
AuctionHouseBrowseResultsFrameMixin
:
OnShow
()
FrameUtil
.
RegisterFrameForEvents
(
self
,
AUCTION_HOUSE_BROWSE_RESULTS_FRAME_EVENTS
);
self
.
ItemList
:
RefreshScrollFrame
();
self
:
GetAuctionHouseFrame
():
RegisterCallback
(
AuctionHouseFrameMixin
.
Event
.
CategorySelected
,
self
.
categorySelectedCallback
);
...
...
@@ -81,8 +83,6 @@ function AuctionHouseBrowseResultsFrameMixin:OnShow()
end
function
AuctionHouseBrowseResultsFrameMixin
:
OnHide
()
FrameUtil
.
UnregisterFrameForEvents
(
self
,
AUCTION_HOUSE_BROWSE_RESULTS_FRAME_EVENTS
);
self
:
GetAuctionHouseFrame
():
UnregisterCallback
(
AuctionHouseFrameMixin
.
Event
.
CategorySelected
,
self
.
categorySelectedCallback
);
self
:
GetAuctionHouseFrame
():
UnregisterCallback
(
AuctionHouseFrameMixin
.
Event
.
BrowseSearchStarted
,
self
.
browseSearchStartedCallback
);
end
...
...
@@ -138,7 +138,7 @@ function AuctionHouseBrowseResultsFrameMixin:UpdateBrowseResults(addedBrowseResu
end
if
addedBrowseResults
then
self
.
ItemList
:
Refresh
ScrollFrame
();
self
.
ItemList
:
Dirty
ScrollFrame
();
else
self
.
ItemList
:
Reset
();
end
...
...
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseCommoditiesList.lua
View file @
c2f4a78f
...
...
@@ -41,14 +41,14 @@ function AuctionHouseCommoditiesListMixin:OnEvent(event, ...)
if
event
==
"COMMODITY_SEARCH_RESULTS_UPDATED"
then
self
:
Reset
();
elseif
event
==
"COMMODITY_SEARCH_RESULTS_ADDED"
then
self
:
Refresh
ScrollFrame
();
self
:
Dirty
ScrollFrame
();
end
end
function
AuctionHouseCommoditiesListMixin
:
SetItemID
(
itemID
)
self
.
itemID
=
itemID
;
self
:
UpdateDataProvider
();
self
:
Refresh
ScrollFrame
();
self
:
Dirty
ScrollFrame
();
end
function
AuctionHouseCommoditiesListMixin
:
UpdateDataProvider
()
...
...
@@ -178,7 +178,7 @@ end
function
AuctionHouseCommoditiesBuyListMixin
:
SetQuantitySelected
(
quantity
)
self
.
quantitySelected
=
quantity
;
self
:
UpdateDynamicCallbacks
();
self
:
Refresh
ScrollFrame
();
self
:
Dirty
ScrollFrame
();
end
function
AuctionHouseCommoditiesBuyListMixin
:
OnShow
()
...
...
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseFrame.lua
View file @
c2f4a78f
...
...
@@ -283,6 +283,11 @@ function AuctionHouseFrameMixin:OnLoad()
self
.
tabsForDisplayMode
=
{};
for
i
,
tab
in
ipairs
(
self
.
Tabs
)
do
self
.
tabsForDisplayMode
[
tab
.
displayMode
]
=
i
;
if
tab
==
self
.
SellTab
then
self
.
tabsForDisplayMode
[
AuctionHouseFrameDisplayMode
.
CommoditiesSell
]
=
i
;
self
.
tabsForDisplayMode
[
AuctionHouseFrameDisplayMode
.
WoWTokenSell
]
=
i
;
end
end
end
...
...
@@ -462,7 +467,7 @@ function AuctionHouseFrameMixin:IsListingAuctions()
end
function
AuctionHouseFrameMixin
:
SetPostItem
(
itemLocation
)
if
not
itemLocation
:
IsValid
()
then
if
not
itemLocation
:
IsValid
()
or
not
C_AuctionHouse
.
IsSellItemValid
(
itemLocation
)
then
return
;
end
...
...
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseItemBuyFrame.lua
View file @
c2f4a78f
...
...
@@ -8,6 +8,8 @@ local AUCTION_HOUSE_ITEM_BUY_FRAME_EVENTS = {
"ITEM_SEARCH_RESULTS_UPDATED"
,
"ITEM_SEARCH_RESULTS_ADDED"
,
"BIDS_UPDATED"
,
"AUCTION_CANCELED"
,
"AUCTION_HOUSE_BROWSE_RESULTS_UPDATED"
,
};
function
AuctionHouseItemBuyFrameMixin
:
OnLoad
()
...
...
@@ -25,20 +27,17 @@ function AuctionHouseItemBuyFrameMixin:OnLoad()
end
);
self
.
ItemList
:
SetHighlightCallback
(
function
(
currentRowData
,
selectedRowData
)
return
selectedRowData
and
currentRowData
.
auctionID
==
selectedRowData
.
auctionID
;
if
self
.
selectedAuctionCanceled
then
if
selectedRowData
.
buyoutAmount
==
currentRowData
.
buyoutAmount
then
self
.
ItemList
:
SetSelectedEntry
(
currentRowData
);
return
true
;
end
else
return
selectedRowData
and
(
currentRowData
.
auctionID
==
selectedRowData
.
auctionID
);
end
end
);
local
function
ItemBuyFrameListLineOnEnterCallback
(
line
,
rowData
)
GameTooltip
:
SetOwner
(
line
,
"ANCHOR_RIGHT"
);
local
hideVendorPrice
=
true
;
GameTooltip
:
SetHyperlink
(
rowData
.
itemLink
,
nil
,
nil
,
nil
,
hideVendorPrice
);
AuctionHouseUtil
.
AddAuctionHouseTooltipInfo
(
GameTooltip
,
rowData
.
owners
,
rowData
.
timeLeft
);
GameTooltip
:
Show
();
end
self
.
ItemList
:
SetLineOnEnterCallback
(
ItemBuyFrameListLineOnEnterCallback
);
self
.
ItemList
:
SetLineOnEnterCallback
(
AuctionHouseUtil
.
SetAuctionHouseTooltip
);
self
.
ItemList
:
SetLineOnLeaveCallback
(
GameTooltip_Hide
);
self
.
ItemList
:
SetTableBuilderLayout
(
AuctionHouseTableBuilder
.
GetItemBuyListLayout
(
self
,
self
.
ItemList
));
...
...
@@ -67,11 +66,19 @@ end
function
AuctionHouseItemBuyFrameMixin
:
OnEvent
(
event
,
...
)
if
event
==
"ITEM_SEARCH_RESULTS_UPDATED"
then
self
.
ItemList
:
Reset
();
self
.
ItemList
:
DirtyScrollFrame
();
elseif
event
==
"ITEM_SEARCH_RESULTS_ADDED"
then
self
.
ItemList
:
Refresh
ScrollFrame
();
self
.
ItemList
:
Dirty
ScrollFrame
();
elseif
event
==
"BIDS_UPDATED"
then
self
.
ItemList
:
RefreshScrollFrame
();
self
.
ItemList
:
DirtyScrollFrame
();
elseif
event
==
"AUCTION_CANCELED"
then
local
auctionID
=
...
;
local
selectedRowData
=
self
.
ItemList
:
GetSelectedEntry
();
if
selectedRowData
and
selectedRowData
.
auctionID
==
auctionID
then
self
.
selectedAuctionCanceled
=
true
;
end
elseif
event
==
"AUCTION_HOUSE_BROWSE_RESULTS_UPDATED"
then
self
.
ItemList
:
UpdateRefreshFrame
();
end
end
...
...
@@ -110,7 +117,7 @@ function AuctionHouseItemBuyFrameMixin:SetItemKey(itemKey)
end
function
AuctionHouseItemBuyFrameMixin
:
OnAuctionSelected
(
auctionData
)
self
.
selectedAuction
Data
=
auctionData
;
self
.
selectedAuction
Canceled
=
false
;
if
auctionData
==
nil
then
self
:
ResetPrice
();
...
...
Interface/AddOns/Blizzard_AuctionHouseUI/Blizzard_AuctionHouseItemList.lua
View file @
c2f4a78f
...
...
@@ -182,7 +182,7 @@ end
function
AuctionHouseItemListMixin
:
SetSelectedEntry
(
rowData
)
self
.
selectedRowData
=
rowData
;
self
:
Refresh
ScrollFrame
();
self
:
Dirty
ScrollFrame
();
if
self
.
selectionCallback
then
self
.
selectionCallback
(
rowData
);
...
...
@@ -202,9 +202,18 @@ function AuctionHouseItemListMixin:OnShow()
self
.
dotCount
=
0
;
end
function
AuctionHouseItemListMixin
:
OnUpdate
()
if
self
.
scrollFrameDirty
then
self
:
RefreshScrollFrame
();
end
end
function
AuctionHouseItemListMixin
:
Reset
()
HybridScrollFrame_SetOffset
(
self
.
ScrollFrame
,
0
);