Commit d3254053 authored by TOM_RUS's avatar TOM_RUS

WOW-34365patch9.0.1_Beta

parent bfa1316f
......@@ -15,15 +15,6 @@ local AnimaDiversionUI =
{ Name = "animaNodes", Type = "table", InnerType = "AnimaDiversionNodeInfo", Nilable = false },
},
},
{
Name = "GetPlayerCovenantAnimaCurrencyID",
Type = "Function",
Returns =
{
{ Name = "currencyID", Type = "number", Nilable = false },
},
},
{
Name = "GetReinforceProgress",
Type = "Function",
......
......@@ -266,6 +266,20 @@ local AuctionHouse =
{ Name = "itemKeyInfo", Type = "ItemKeyInfo", Nilable = true },
},
},
{
Name = "GetItemKeyRequiredLevel",
Type = "Function",
Arguments =
{
{ Name = "itemKey", Type = "ItemKey", Nilable = false },
},
Returns =
{
{ Name = "requiredLevel", Type = "number", Nilable = false },
},
},
{
Name = "GetItemSearchResultInfo",
Type = "Function",
......@@ -829,6 +843,20 @@ local AuctionHouse =
{ Name = "hasFullResults", Type = "bool", Nilable = false },
},
},
{
Name = "RequestOwnedAuctionBidderInfo",
Type = "Function",
Arguments =
{
{ Name = "auctionID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "bidderName", Type = "string", Nilable = true },
},
},
{
Name = "SearchForFavorites",
Type = "Function",
......@@ -1160,6 +1188,16 @@ local AuctionHouse =
{ Name = "newAuctionID", Type = "number", Nilable = true },
},
},
{
Name = "OwnedAuctionBidderInfoReceived",
Type = "Event",
LiteralName = "OWNED_AUCTION_BIDDER_INFO_RECEIVED",
Payload =
{
{ Name = "auctionID", Type = "number", Nilable = false },
{ Name = "bidderName", Type = "string", Nilable = false },
},
},
{
Name = "OwnedAuctionsUpdated",
Type = "Event",
......
......@@ -160,6 +160,15 @@ local AzeriteEssence =
{ Name = "numUnlockedEssences", Type = "number", Nilable = false },
},
},
{
Name = "GetNumUsableEssences",
Type = "Function",
Returns =
{
{ Name = "numUsableEssences", Type = "number", Nilable = false },
},
},
{
Name = "GetPendingActivationEssence",
Type = "Function",
......
......@@ -28,6 +28,15 @@ local BarberShop =
{ Name = "categories", Type = "table", InnerType = "CharCustomizationCategory", Nilable = false },
},
},
{
Name = "GetCurrentCameraZoom",
Type = "Function",
Returns =
{
{ Name = "zoomLevel", Type = "number", Nilable = false },
},
},
{
Name = "GetCurrentCost",
Type = "Function",
......@@ -37,10 +46,37 @@ local BarberShop =
{ Name = "cost", Type = "number", Nilable = false },
},
},
{
Name = "OldBarberShopLoaded",
Type = "Function",
},
{
Name = "ResetCameraRotation",
Type = "Function",
},
{
Name = "ResetCustomizationChoices",
Type = "Function",
},
{
Name = "RotateCamera",
Type = "Function",
Arguments =
{
{ Name = "diffDegrees", Type = "number", Nilable = false },
},
},
{
Name = "SetCameraZoomLevel",
Type = "Function",
Arguments =
{
{ Name = "zoomLevel", Type = "number", Nilable = false },
{ Name = "keepCustomZoom", Type = "bool", Nilable = true },
},
},
{
Name = "SetCustomizationChoice",
Type = "Function",
......@@ -51,6 +87,15 @@ local BarberShop =
{ Name = "choiceID", Type = "number", Nilable = false },
},
},
{
Name = "ZoomCamera",
Type = "Function",
Arguments =
{
{ Name = "zoomAmount", Type = "number", Nilable = false },
},
},
},
Events =
......
......@@ -13,6 +13,8 @@ function APIDocumentationMixin:OnLoad()
CopyAPI = 2,
OpenDump = 3,
};
DEFAULT_CHAT_FRAME:SetMaxLines(2000);
end
function APIDocumentationMixin:HandleSlashCommand(command)
......
......@@ -134,7 +134,7 @@ local CalendarConstants =
{
{ Name = "Raid", Type = "CalendarEventType", EnumValue = 0 },
{ Name = "Dungeon", Type = "CalendarEventType", EnumValue = 1 },
{ Name = "Pvp", Type = "CalendarEventType", EnumValue = 2 },
{ Name = "PvP", Type = "CalendarEventType", EnumValue = 2 },
{ Name = "Meeting", Type = "CalendarEventType", EnumValue = 3 },
{ Name = "Other", Type = "CalendarEventType", EnumValue = 4 },
{ Name = "HeroicDeprecated", Type = "CalendarEventType", EnumValue = 5 },
......
......@@ -764,8 +764,8 @@ local ClubFinder =
{ Name = "None", Type = "ClubFinderSettingFlags", EnumValue = 0 },
{ Name = "Dungeons", Type = "ClubFinderSettingFlags", EnumValue = 1 },
{ Name = "Raids", Type = "ClubFinderSettingFlags", EnumValue = 2 },
{ Name = "Pvp", Type = "ClubFinderSettingFlags", EnumValue = 3 },
{ Name = "Rp", Type = "ClubFinderSettingFlags", EnumValue = 4 },
{ Name = "PvP", Type = "ClubFinderSettingFlags", EnumValue = 3 },
{ Name = "RP", Type = "ClubFinderSettingFlags", EnumValue = 4 },
{ Name = "Social", Type = "ClubFinderSettingFlags", EnumValue = 5 },
{ Name = "Small", Type = "ClubFinderSettingFlags", EnumValue = 6 },
{ Name = "Medium", Type = "ClubFinderSettingFlags", EnumValue = 7 },
......
......@@ -75,11 +75,11 @@ local ConfigurationWarnings =
{
{ Name = "ShaderModelWillBeOutdated", Type = "ConfigurationWarning", EnumValue = 0 },
{ Name = "ShaderModelIsOutdated", Type = "ConfigurationWarning", EnumValue = 1 },
{ Name = "ConsoleDeviceSseoUtdated", Type = "ConfigurationWarning", EnumValue = 2 },
{ Name = "ConsoleDeviceSseOutdated", Type = "ConfigurationWarning", EnumValue = 2 },
{ Name = "DriverBlacklisted", Type = "ConfigurationWarning", EnumValue = 3 },
{ Name = "DriverOutOfDate", Type = "ConfigurationWarning", EnumValue = 4 },
{ Name = "DeviceBlacklisted", Type = "ConfigurationWarning", EnumValue = 5 },
{ Name = "GraphicsApiwIllBeOutdated", Type = "ConfigurationWarning", EnumValue = 6 },
{ Name = "GraphicsApiWillBeOutdated", Type = "ConfigurationWarning", EnumValue = 6 },
{ Name = "OsBitsWillBeOutdated", Type = "ConfigurationWarning", EnumValue = 7 },
},
},
......
......@@ -146,9 +146,9 @@ local GarrisonConstants =
{
Name = "GarrTalentFeatureType",
Type = "Enumeration",
NumValues = 7,
NumValues = 8,
MinValue = 0,
MaxValue = 6,
MaxValue = 7,
Fields =
{
{ Name = "Generic", Type = "GarrTalentFeatureType", EnumValue = 0 },
......@@ -158,6 +158,7 @@ local GarrisonConstants =
{ Name = "ReservoirUpgrades", Type = "GarrTalentFeatureType", EnumValue = 4 },
{ Name = "SanctumUnique", Type = "GarrTalentFeatureType", EnumValue = 5 },
{ Name = "SoulBinds", Type = "GarrTalentFeatureType", EnumValue = 6 },
{ Name = "AnimaDiversionMap", Type = "GarrTalentFeatureType", EnumValue = 7 },
},
},
{
......@@ -209,7 +210,7 @@ local GarrisonConstants =
{ Name = "Generic", Type = "GarrTalentUI", EnumValue = 0 },
{ Name = "CovenantSanctum", Type = "GarrTalentUI", EnumValue = 1 },
{ Name = "SoulBinds", Type = "GarrTalentUI", EnumValue = 2 },
{ Name = "AnimaDiversion", Type = "GarrTalentUI", EnumValue = 3 },
{ Name = "AnimaDiversionMap", Type = "GarrTalentUI", EnumValue = 3 },
},
},
{
......
......@@ -64,6 +64,11 @@ local InGameNavigation =
{ Name = "region", Type = "table", Nilable = false },
},
},
{
Name = "NavigationFrameDestroyed",
Type = "Event",
LiteralName = "NAVIGATION_FRAME_DESTROYED",
},
},
Tables =
......
......@@ -99,7 +99,7 @@ local PvpInfo =
Returns =
{
{ Name = "state", Type = "PvpMatchState", Nilable = false },
{ Name = "state", Type = "PvPMatchState", Nilable = false },
},
},
{
......@@ -920,16 +920,16 @@ local PvpInfo =
},
},
{
Name = "PvpMatchState",
Name = "PvPMatchState",
Type = "Enumeration",
NumValues = 3,
MinValue = 0,
MaxValue = 2,
Fields =
{
{ Name = "Inactive", Type = "PvpMatchState", EnumValue = 0 },
{ Name = "Active", Type = "PvpMatchState", EnumValue = 1 },
{ Name = "Complete", Type = "PvpMatchState", EnumValue = 2 },
{ Name = "Inactive", Type = "PvPMatchState", EnumValue = 0 },
{ Name = "Active", Type = "PvPMatchState", EnumValue = 1 },
{ Name = "Complete", Type = "PvPMatchState", EnumValue = 2 },
},
},
{
......@@ -1031,31 +1031,6 @@ local PvpInfo =
{ Name = "mapNames", Type = "table", InnerType = "string", Nilable = false },
},
},
{
Name = "PvpScalingData",
Type = "Structure",
Fields =
{
{ Name = "scalingDataID", Type = "number", Nilable = false },
{ Name = "specializationID", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "value", Type = "number", Nilable = false },
},
},
{
Name = "PvpTierInfo",
Type = "Structure",
Fields =
{
{ Name = "name", Type = "string", Nilable = false },
{ Name = "descendRating", Type = "number", Nilable = false },
{ Name = "ascendRating", Type = "number", Nilable = false },
{ Name = "descendTier", Type = "number", Nilable = false },
{ Name = "ascendTier", Type = "number", Nilable = false },
{ Name = "pvpTierEnum", Type = "number", Nilable = false },
{ Name = "tierIconID", Type = "number", Nilable = false },
},
},
{
Name = "PVPPersonalRatedInfo",
Type = "Structure",
......@@ -1096,6 +1071,17 @@ local PvpInfo =
{ Name = "isUpgraded", Type = "bool", Nilable = false },
},
},
{
Name = "PvpScalingData",
Type = "Structure",
Fields =
{
{ Name = "scalingDataID", Type = "number", Nilable = false },
{ Name = "specializationID", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "value", Type = "number", Nilable = false },
},
},
{
Name = "PVPScoreInfo",
Type = "Structure",
......@@ -1147,6 +1133,20 @@ local PvpInfo =
{ Name = "ratingMMR", Type = "number", Nilable = false },
},
},
{
Name = "PvpTierInfo",
Type = "Structure",
Fields =
{
{ Name = "name", Type = "string", Nilable = false },
{ Name = "descendRating", Type = "number", Nilable = false },
{ Name = "ascendRating", Type = "number", Nilable = false },
{ Name = "descendTier", Type = "number", Nilable = false },
{ Name = "ascendTier", Type = "number", Nilable = false },
{ Name = "pvpTierEnum", Type = "number", Nilable = false },
{ Name = "tierIconID", Type = "number", Nilable = false },
},
},
{
Name = "RandomBGInfo",
Type = "Structure",
......
......@@ -13,7 +13,7 @@ local QuestConstants =
{ Name = "Tag", Type = "QuestTagType", EnumValue = 0 },
{ Name = "Profession", Type = "QuestTagType", EnumValue = 1 },
{ Name = "Normal", Type = "QuestTagType", EnumValue = 2 },
{ Name = "Pvp", Type = "QuestTagType", EnumValue = 3 },
{ Name = "PvP", Type = "QuestTagType", EnumValue = 3 },
{ Name = "PetBattle", Type = "QuestTagType", EnumValue = 4 },
{ Name = "Bounty", Type = "QuestTagType", EnumValue = 5 },
{ Name = "Dungeon", Type = "QuestTagType", EnumValue = 6 },
......
......@@ -1131,7 +1131,7 @@ local QuestLog =
Fields =
{
{ Name = "Group", Type = "QuestTag", EnumValue = 1 },
{ Name = "Pvp", Type = "QuestTag", EnumValue = 41 },
{ Name = "PvP", Type = "QuestTag", EnumValue = 41 },
{ Name = "Raid", Type = "QuestTag", EnumValue = 62 },
{ Name = "Dungeon", Type = "QuestTag", EnumValue = 81 },
{ Name = "Legendary", Type = "QuestTag", EnumValue = 83 },
......
......@@ -162,8 +162,8 @@ local UIModelInfo =
{ Name = "ArtifactTier2SlamEffect", Type = "ModelSceneType", EnumValue = 7 },
{ Name = "CommentatorVictoryFanfare", Type = "ModelSceneType", EnumValue = 8 },
{ Name = "ArtifactRelicTalentEffect", Type = "ModelSceneType", EnumValue = 9 },
{ Name = "PvpWarModeOrb", Type = "ModelSceneType", EnumValue = 10 },
{ Name = "PvpWarModeFire", Type = "ModelSceneType", EnumValue = 11 },
{ Name = "PvPWarModeOrb", Type = "ModelSceneType", EnumValue = 10 },
{ Name = "PvPWarModeFire", Type = "ModelSceneType", EnumValue = 11 },
{ Name = "PartyPose", Type = "ModelSceneType", EnumValue = 12 },
{ Name = "AzeriteItemLevelUpToast", Type = "ModelSceneType", EnumValue = 13 },
{ Name = "AzeritePowers", Type = "ModelSceneType", EnumValue = 14 },
......
......@@ -464,6 +464,17 @@ local UIWidgetManager =
{ Name = "ValueOverMaxNormalized", Type = "StatusBarValueTextType", EnumValue = 6 },
},
},
{
Name = "UIWidgetFlag",
Type = "Enumeration",
NumValues = 1,
MinValue = 1,
MaxValue = 1,
Fields =
{
{ Name = "UniversalWidget", Type = "UIWidgetFlag", EnumValue = 1 },
},
},
{
Name = "UIWidgetTextSizeType",
Type = "Enumeration",
......@@ -478,17 +489,6 @@ local UIWidgetManager =
{ Name = "Huge", Type = "UIWidgetTextSizeType", EnumValue = 3 },
},
},
{
Name = "UiwIdgetFlag",
Type = "Enumeration",
NumValues = 1,
MinValue = 1,
MaxValue = 1,
Fields =
{
{ Name = "UniversalWidget", Type = "UiwIdgetFlag", EnumValue = 1 },
},
},
{
Name = "WidgetAnimationType",
Type = "Enumeration",
......@@ -633,6 +633,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -657,6 +658,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -677,6 +679,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -698,6 +701,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -716,6 +720,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -742,6 +747,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -759,6 +765,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -778,6 +785,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -795,6 +803,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -817,6 +826,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -834,6 +844,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -852,6 +863,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -869,6 +881,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -893,6 +906,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -913,6 +927,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -940,6 +955,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -958,6 +974,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......@@ -1024,6 +1041,7 @@ local UIWidgetManager =
{ Name = "widgetTag", Type = "string", Nilable = false },
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
},
},
{
......
......@@ -2,6 +2,22 @@ local UIWidgetManagerShared =
{
Tables =
{
{
Name = "UIWidgetScale",
Type = "Enumeration",
NumValues = 6,
MinValue = 0,
MaxValue = 5,
Fields =
{
{ Name = "OneHundred", Type = "UIWidgetScale", EnumValue = 0 },
{ Name = "Ninty", Type = "UIWidgetScale", EnumValue = 1 },
{ Name = "Eighty", Type = "UIWidgetScale", EnumValue = 2 },
{ Name = "Seventy", Type = "UIWidgetScale", EnumValue = 3 },
{ Name = "Sixty", Type = "UIWidgetScale", EnumValue = 4 },
{ Name = "Fifty", Type = "UIWidgetScale", EnumValue = 5 },
},