Commit b1939861 authored by TOM_RUS's avatar TOM_RUS

WOW-34490patch9.0.1_Beta

parent d3254053
......@@ -50,9 +50,9 @@ local AuctionHouseEnums =
{
Name = "AuctionHouseSortOrder",
Type = "Enumeration",
NumValues = 5,
NumValues = 6,
MinValue = 0,
MaxValue = 4,
MaxValue = 5,
Fields =
{
{ Name = "Price", Type = "AuctionHouseSortOrder", EnumValue = 0 },
......@@ -60,6 +60,7 @@ local AuctionHouseEnums =
{ Name = "Level", Type = "AuctionHouseSortOrder", EnumValue = 2 },
{ Name = "Bid", Type = "AuctionHouseSortOrder", EnumValue = 3 },
{ Name = "Buyout", Type = "AuctionHouseSortOrder", EnumValue = 4 },
{ Name = "TimeRemaining", Type = "AuctionHouseSortOrder", EnumValue = 5 },
},
},
{
......
......@@ -181,6 +181,7 @@ CharacterCustomizationSharedDocumentation.lua
ChatDocumentation.lua
ClubSharedDocumentation.lua
ColorDocumentation.lua
CovenantCallingsConstantsDocumentation.lua
CovenantsConstantsDocumentation.lua
DamageConstantsDocumentation.lua
GarrisonConstantsDocumentation.lua
......@@ -198,6 +199,7 @@ QuestSessionConstantsDocumentation.lua
QueueSpecificDocumentation.lua
RecruitAFriendSharedDocumentation.lua
ScriptRegionSharedDocumentation.lua
SuperTrackManagerSharedDocumentation.lua
TextureSharedDocumentation.lua
TimeDocumentation.lua
TradeSkillUITypesDocumentation.lua
......
local Bounties =
{
Name = "Bounties",
Type = "System",
Namespace = "C_Bounties",
Functions =
{
{
Name = "GetBountiesForMapID",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "bounties", Type = "table", InnerType = "BountyInfo", Nilable = true },
},
},
{
Name = "GetBountyInfo",
Type = "Function",
Arguments =
{
{ Name = "bountyID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "bounty", Type = "BountyInfo", Nilable = true },
},
},
{
Name = "GetBountySetInfoForMapID",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "displayLocation", Type = "MapOverlayDisplayLocation", Nilable = false },
{ Name = "lockQuestID", Type = "number", Nilable = false },
{ Name = "bountySetID", Type = "number", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
{
Name = "MapOverlayDisplayLocation",
Type = "Enumeration",
NumValues = 6,
MinValue = 0,
MaxValue = 5,
Fields =
{
{ Name = "Default", Type = "MapOverlayDisplayLocation", EnumValue = 0 },
{ Name = "BottomLeft", Type = "MapOverlayDisplayLocation", EnumValue = 1 },
{ Name = "TopLeft", Type = "MapOverlayDisplayLocation", EnumValue = 2 },
{ Name = "BottomRight", Type = "MapOverlayDisplayLocation", EnumValue = 3 },
{ Name = "TopRight", Type = "MapOverlayDisplayLocation", EnumValue = 4 },
{ Name = "Hidden", Type = "MapOverlayDisplayLocation", EnumValue = 5 },
},
},
{
Name = "BountyInfo",
Type = "Structure",
Fields =
{
{ Name = "questID", Type = "number", Nilable = false },
{ Name = "factionID", Type = "number", Nilable = false },
{ Name = "icon", Type = "number", Nilable = false },
{ Name = "numObjectives", Type = "number", Nilable = false },
{ Name = "turninRequirementText", Type = "string", Nilable = true },
},
},
},
};
APIDocumentation:AddDocumentationTable(Bounties);
\ No newline at end of file
local BountyShared =
{
Tables =
{
},
};
APIDocumentation:AddDocumentationTable(BountyShared);
\ No newline at end of file
local CovenantCallingsConstants =
{
Tables =
{
{
Name = "CallingStates",
Type = "Enumeration",
NumValues = 3,
MinValue = 0,
MaxValue = 2,
Fields =
{
{ Name = "QuestOffer", Type = "CallingStates", EnumValue = 0 },
{ Name = "QuestActive", Type = "CallingStates", EnumValue = 1 },
{ Name = "QuestCompleted", Type = "CallingStates", EnumValue = 2 },
},
},
{
Name = "Callings",
Type = "Constants",
Values =
{
{ Name = "MaxCallings", Type = "number", Value = 3 },
},
},
},
};
APIDocumentation:AddDocumentationTable(CovenantCallingsConstants);
\ No newline at end of file
......@@ -258,6 +258,20 @@ local Item =
{ Name = "isBound", Type = "bool", Nilable = false },
},
},
{
Name = "IsItemCorruptable",
Type = "Function",
Arguments =
{
{ Name = "itemLoc", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "isCorruptable", Type = "bool", Nilable = false },
},
},
{
Name = "IsItemCorrupted",
Type = "Function",
......
......@@ -28,6 +28,21 @@ local QuestConstants =
{ Name = "CovenantCalling", Type = "QuestTagType", EnumValue = 15 },
},
},
{
Name = "RelativeContentDifficulty",
Type = "Enumeration",
NumValues = 5,
MinValue = 0,
MaxValue = 4,
Fields =
{
{ Name = "Trivial", Type = "RelativeContentDifficulty", EnumValue = 0 },
{ Name = "Easy", Type = "RelativeContentDifficulty", EnumValue = 1 },
{ Name = "Fair", Type = "RelativeContentDifficulty", EnumValue = 2 },
{ Name = "Difficult", Type = "RelativeContentDifficulty", EnumValue = 3 },
{ Name = "Impossible", Type = "RelativeContentDifficulty", EnumValue = 4 },
},
},
{
Name = "QuestWatchConsts",
Type = "Constants",
......
......@@ -6,6 +6,15 @@ local SuperTrackManager =
Functions =
{
{
Name = "GetHighestPrioritySuperTrackingType",
Type = "Function",
Returns =
{
{ Name = "type", Type = "SuperTrackingType", Nilable = true },
},
},
{
Name = "GetSuperTrackedQuestID",
Type = "Function",
......@@ -82,19 +91,6 @@ local SuperTrackManager =
Tables =
{
{
Name = "SuperTrackingType",
Type = "Enumeration",
NumValues = 3,
MinValue = 1,
MaxValue = 4,
Fields =
{
{ Name = "Quest", Type = "SuperTrackingType", EnumValue = 1 },
{ Name = "UserWaypoint", Type = "SuperTrackingType", EnumValue = 2 },
{ Name = "Corpse", Type = "SuperTrackingType", EnumValue = 4 },
},
},
},
};
......
local SuperTrackManagerShared =
{
Tables =
{
{
Name = "SuperTrackingType",
Type = "Enumeration",
NumValues = 3,
MinValue = 0,
MaxValue = 2,
Fields =
{
{ Name = "Quest", Type = "SuperTrackingType", EnumValue = 0 },
{ Name = "UserWaypoint", Type = "SuperTrackingType", EnumValue = 1 },
{ Name = "Corpse", Type = "SuperTrackingType", EnumValue = 2 },
},
},
},
};
APIDocumentation:AddDocumentationTable(SuperTrackManagerShared);
\ No newline at end of file
......@@ -6,6 +6,34 @@ local Transmog =
Functions =
{
{
Name = "ClearAllPending",
Type = "Function",
},
{
Name = "ClearPending",
Type = "Function",
Arguments =
{
{ Name = "transmogLocation", Type = "table", Mixin = "TransmogLocationMixin", Nilable = false },
},
},
{
Name = "GetBaseCategory",
Type = "Function",
Arguments =
{
{ Name = "slotID", Type = "number", Nilable = false },
{ Name = "transmogID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "categoryID", Type = "number", Nilable = false },
},
},
{
Name = "GetCreatureDisplayIDForSource",
Type = "Function",
......@@ -34,6 +62,74 @@ local Transmog =
{ Name = "slot", Type = "number", Nilable = false },
},
},
{
Name = "GetSlotInfo",
Type = "Function",
Arguments =
{
{ Name = "transmogLocation", Type = "table", Mixin = "TransmogLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "isTransmogrified", Type = "bool", Nilable = false },
{ Name = "hasPending", Type = "bool", Nilable = false },
{ Name = "isPendingCollected", Type = "bool", Nilable = false },
{ Name = "canTransmogrify", Type = "bool", Nilable = false },
{ Name = "cannotTransmogrifyReason", Type = "number", Nilable = false },
{ Name = "hasUndo", Type = "bool", Nilable = false },
{ Name = "isHideVisual", Type = "bool", Nilable = false },
{ Name = "texture", Type = "number", Nilable = true },
},
},
{
Name = "GetSlotUseError",
Type = "Function",
Arguments =
{
{ Name = "transmogLocation", Type = "table", Mixin = "TransmogLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "errorCode", Type = "number", Nilable = false },
{ Name = "errorString", Type = "string", Nilable = false },
},
},
{
Name = "GetSlotVisualInfo",
Type = "Function",
Arguments =
{
{ Name = "transmogLocation", Type = "table", Mixin = "TransmogLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "baseSourceID", Type = "number", Nilable = false },
{ Name = "baseVisualID", Type = "number", Nilable = false },
{ Name = "appliedSourceID", Type = "number", Nilable = false },
{ Name = "appliedVisualID", Type = "number", Nilable = false },
{ Name = "pendingSourceID", Type = "number", Nilable = false },
{ Name = "pendingVisualID", Type = "number", Nilable = false },
{ Name = "hasUndo", Type = "bool", Nilable = false },
{ Name = "isHideVisual", Type = "bool", Nilable = false },
{ Name = "itemSubclass", Type = "number", Nilable = false },
},
},
{
Name = "SetPending",
Type = "Function",
Arguments =
{
{ Name = "transmogLocation", Type = "table", Mixin = "TransmogLocationMixin", Nilable = false },
{ Name = "transmogID", Type = "number", Nilable = false },
},
},
},
Events =
......@@ -124,8 +220,7 @@ local Transmog =
LiteralName = "TRANSMOGRIFY_SUCCESS",
Payload =
{
{ Name = "invSlot", Type = "number", Nilable = false },
{ Name = "transmogType", Type = "number", Nilable = false },
{ Name = "transmogLocation", Type = "table", Mixin = "TransmogLocationMixin", Nilable = false },
},
},
{
......@@ -134,8 +229,7 @@ local Transmog =
LiteralName = "TRANSMOGRIFY_UPDATE",
Payload =
{
{ Name = "slotID", Type = "number", Nilable = true },
{ Name = "transmogType", Type = "number", Nilable = true },
{ Name = "transmogLocation", Type = "table", Mixin = "TransmogLocationMixin", Nilable = true },
{ Name = "action", Type = "string", Nilable = true },
},
},
......@@ -143,6 +237,18 @@ local Transmog =
Tables =
{
{
Name = "TransmogModification",
Type = "Enumeration",
NumValues = 2,
MinValue = 0,
MaxValue = 1,
Fields =
{
{ Name = "None", Type = "TransmogModification", EnumValue = 0 },
{ Name = "RightShoulder", Type = "TransmogModification", EnumValue = 1 },
},
},
{
Name = "TransmogSource",
Type = "Enumeration",
......@@ -163,6 +269,18 @@ local Transmog =
{ Name = "NotValidForTransmog", Type = "TransmogSource", EnumValue = 9 },
},
},
{
Name = "TransmogType",
Type = "Enumeration",
NumValues = 2,
MinValue = 0,
MaxValue = 1,
Fields =
{
{ Name = "Appearance", Type = "TransmogType", EnumValue = 0 },
{ Name = "Illusion", Type = "TransmogType", EnumValue = 1 },
},
},
},
};
......
......@@ -294,6 +294,20 @@ local UIWidgetManager =
{ Name = "setID", Type = "number", Nilable = false },
},
},
{
Name = "GetWidgetLayoutDirectionFromWidgetSetID",
Type = "Function",
Arguments =
{
{ Name = "widgetSetID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "layoutDirection", Type = "UIWidgetLayoutDirection", Nilable = false },
},
},
{
Name = "GetZoneControlVisualizationInfo",
Type = "Function",
......@@ -411,13 +425,14 @@ local UIWidgetManager =
{
Name = "SpellDisplayIconDisplayType",
Type = "Enumeration",
NumValues = 2,
NumValues = 3,
MinValue = 0,
MaxValue = 1,
MaxValue = 2,
Fields =
{
{ Name = "Buff", Type = "SpellDisplayIconDisplayType", EnumValue = 0 },
{ Name = "Debuff", Type = "SpellDisplayIconDisplayType", EnumValue = 1 },
{ Name = "Circular", Type = "SpellDisplayIconDisplayType", EnumValue = 2 },
},
},
{
......@@ -433,6 +448,25 @@ local UIWidgetManager =
{ Name = "Large", Type = "SpellDisplayIconSizeType", EnumValue = 2 },
},
},
{
Name = "StatusBarColorTintValue",
Type = "Enumeration",
NumValues = 9,
MinValue = 0,
MaxValue = 8,
Fields =
{
{ Name = "None", Type = "StatusBarColorTintValue", EnumValue = 0 },
{ Name = "Black", Type = "StatusBarColorTintValue", EnumValue = 1 },
{ Name = "White", Type = "StatusBarColorTintValue", EnumValue = 2 },
{ Name = "Red", Type = "StatusBarColorTintValue", EnumValue = 3 },
{ Name = "Yellow", Type = "StatusBarColorTintValue", EnumValue = 4 },
{ Name = "Orange", Type = "StatusBarColorTintValue", EnumValue = 5 },
{ Name = "Purple", Type = "StatusBarColorTintValue", EnumValue = 6 },
{ Name = "Green", Type = "StatusBarColorTintValue", EnumValue = 7 },
{ Name = "Blue", Type = "StatusBarColorTintValue", EnumValue = 8 },
},
},
{
Name = "StatusBarOverrideBarTextShownType",
Type = "Enumeration",
......@@ -634,6 +668,7 @@ local UIWidgetManager =
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
{ Name = "layoutDirection", Type = "UIWidgetLayoutDirection", Nilable = false },
},
},
{
......@@ -659,6 +694,7 @@ local UIWidgetManager =
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
{ Name = "layoutDirection", Type = "UIWidgetLayoutDirection", Nilable = false },
},
},
{
......@@ -680,6 +716,7 @@ local UIWidgetManager =
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
{ Name = "layoutDirection", Type = "UIWidgetLayoutDirection", Nilable = false },
},
},
{
......@@ -702,6 +739,7 @@ local UIWidgetManager =
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
{ Name = "layoutDirection", Type = "UIWidgetLayoutDirection", Nilable = false },
},
},
{
......@@ -721,6 +759,7 @@ local UIWidgetManager =
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
{ Name = "layoutDirection", Type = "UIWidgetLayoutDirection", Nilable = false },
},
},
{
......@@ -748,6 +787,7 @@ local UIWidgetManager =
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
{ Name = "layoutDirection", Type = "UIWidgetLayoutDirection", Nilable = false },
},
},
{
......@@ -766,6 +806,7 @@ local UIWidgetManager =
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
{ Name = "layoutDirection", Type = "UIWidgetLayoutDirection", Nilable = false },
},
},
{
......@@ -786,6 +827,7 @@ local UIWidgetManager =
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
{ Name = "layoutDirection", Type = "UIWidgetLayoutDirection", Nilable = false },
},
},
{
......@@ -804,6 +846,7 @@ local UIWidgetManager =
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
{ Name = "layoutDirection", Type = "UIWidgetLayoutDirection", Nilable = false },
},
},
{
......@@ -827,6 +870,7 @@ local UIWidgetManager =
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },
{ Name = "layoutDirection", Type = "UIWidgetLayoutDirection", Nilable = false },
},
},
{
......@@ -845,6 +889,7 @@ local UIWidgetManager =
{ Name = "inAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "outAnimType", Type = "WidgetAnimationType", Nilable = false },
{ Name = "widgetScale", Type = "UIWidgetScale", Nilable = false },