Commit c7aa2f4f authored by TOM_RUS's avatar TOM_RUS

WOW-34199patch9.0.1_Beta

parent 4f1ee239
......@@ -15,6 +15,33 @@ 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",
Returns =
{
{ Name = "progress", Type = "number", Nilable = false },
},
},
{
Name = "GetTextureKit",
Type = "Function",
Returns =
{
{ Name = "textureKit", Type = "string", Nilable = false },
},
},
{
Name = "OpenAnimaDiversionUI",
Type = "Function",
......@@ -26,6 +53,7 @@ local AnimaDiversionUI =
Arguments =
{
{ Name = "talentID", Type = "number", Nilable = false },
{ Name = "temporary", Type = "bool", Nilable = false },
},
},
},
......@@ -46,6 +74,11 @@ local AnimaDiversionUI =
{ Name = "info", Type = "AnimaDiversionFrameInfo", Nilable = false },
},
},
{
Name = "AnimaDiversionTalentUpdated",
Type = "Event",
LiteralName = "ANIMA_DIVERSION_TALENT_UPDATED",
},
},
Tables =
......@@ -53,14 +86,24 @@ local AnimaDiversionUI =
{
Name = "AnimaDiversionNodeState",
Type = "Enumeration",
NumValues = 3,
NumValues = 4,
MinValue = 0,
MaxValue = 2,
MaxValue = 3,
Fields =
{
{ Name = "Unavailable", Type = "AnimaDiversionNodeState", EnumValue = 0 },
{ Name = "Available", Type = "AnimaDiversionNodeState", EnumValue = 1 },
{ Name = "SelectedTemporary", Type = "AnimaDiversionNodeState", EnumValue = 2 },
{ Name = "SelectedPermanent", Type = "AnimaDiversionNodeState", EnumValue = 3 },
},
},
{
Name = "AnimaDiversionCostInfo",
Type = "Structure",
Fields =
{
{ Name = "Available", Type = "AnimaDiversionNodeState", EnumValue = 0 },
{ Name = "SelectedTemporary", Type = "AnimaDiversionNodeState", EnumValue = 1 },
{ Name = "SelectedPermanent", Type = "AnimaDiversionNodeState", EnumValue = 2 },
{ Name = "currencyID", Type = "number", Nilable = false },
{ Name = "quantity", Type = "number", Nilable = false },
},
},
{
......@@ -81,7 +124,7 @@ local AnimaDiversionUI =
{ Name = "talentID", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "description", Type = "string", Nilable = false },
{ Name = "cost", Type = "number", Nilable = false },
{ Name = "costs", Type = "table", InnerType = "AnimaDiversionCostInfo", Nilable = false },
{ Name = "currencyID", Type = "number", Nilable = false },
{ Name = "icon", Type = "number", Nilable = false },
{ Name = "normalizedPosition", Type = "table", Mixin = "Vector2DMixin", Nilable = false },
......
......@@ -52,6 +52,7 @@ ContributionCollectorDocumentation.lua
CovenantCallingsDocumentation.lua
CovenantPreviewDocumentation.lua
CovenantSanctumDocumentation.lua
CovenantsDocumentation.lua
CreatureInfoDocumentation.lua
CurrencyInfoDocumentation.lua
CursorDocumentation.lua
......@@ -130,6 +131,7 @@ SkillInfoDocumentation.lua
SocialInfoDocumentation.lua
SocialQueueDocumentation.lua
SocialRestrictionsDocumentation.lua
SoulbindsDocumentation.lua
SoundDocumentation.lua
SpecializationInfoDocumentation.lua
SpellDocumentation.lua
......@@ -179,6 +181,7 @@ CharacterCustomizationSharedDocumentation.lua
ChatDocumentation.lua
ClubSharedDocumentation.lua
ColorDocumentation.lua
CovenantsConstantsDocumentation.lua
GarrisonConstantsDocumentation.lua
GarrisonSharedDocumentation.lua
GuildInfoSharedDocumentation.lua
......
......@@ -16,13 +16,14 @@ local CharacterCustomizationShared =
{
Name = "ChrCustomizationOptionType",
Type = "Enumeration",
NumValues = 2,
NumValues = 3,
MinValue = 0,
MaxValue = 1,
MaxValue = 2,
Fields =
{
{ Name = "Slider", Type = "ChrCustomizationOptionType", EnumValue = 0 },
{ Name = "SelectionPopout", Type = "ChrCustomizationOptionType", EnumValue = 0 },
{ Name = "Checkbox", Type = "ChrCustomizationOptionType", EnumValue = 1 },
{ Name = "Slider", Type = "ChrCustomizationOptionType", EnumValue = 2 },
},
},
{
......@@ -32,6 +33,7 @@ local CharacterCustomizationShared =
{
{ Name = "id", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "swatchColor", Type = "table", Mixin = "ColorMixin", Nilable = true },
},
},
{
......
local Covenants =
{
Name = "Covenant",
Type = "System",
Namespace = "C_Covenants",
Functions =
{
{
Name = "GetActiveCovenantID",
Type = "Function",
Returns =
{
{ Name = "covenantID", Type = "number", Nilable = false },
},
},
{
Name = "GetCovenantData",
Type = "Function",
Arguments =
{
{ Name = "covenantID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "data", Type = "CovenantData", Nilable = false },
},
},
{
Name = "GetCovenantIDs",
Type = "Function",
Returns =
{
{ Name = "covenantID", Type = "table", InnerType = "number", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
{
Name = "CovenantData",
Type = "Structure",
Fields =
{
{ Name = "ID", Type = "number", Nilable = false },
{ Name = "textureKit", Type = "string", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "soulbindIDs", Type = "table", InnerType = "number", Nilable = false },
},
},
},
};
APIDocumentation:AddDocumentationTable(Covenants);
\ No newline at end of file
......@@ -200,14 +200,15 @@ local GarrisonConstants =
{
Name = "GarrTalentUI",
Type = "Enumeration",
NumValues = 3,
NumValues = 4,
MinValue = 0,
MaxValue = 2,
MaxValue = 3,
Fields =
{
{ Name = "Generic", Type = "GarrTalentUI", EnumValue = 0 },
{ Name = "CovenantSanctum", Type = "GarrTalentUI", EnumValue = 1 },
{ Name = "SoulBinds", Type = "GarrTalentUI", EnumValue = 2 },
{ Name = "AnimaDiversion", Type = "GarrTalentUI", EnumValue = 3 },
},
},
{
......
......@@ -21,6 +21,10 @@ local LegendaryCrafting =
{ Name = "error", Type = "RuneforgeLegendaryError", Nilable = true },
},
},
{
Name = "CloseRuneforgeInteraction",
Type = "Function",
},
{
Name = "CraftRuneforgeLegendary",
Type = "Function",
......@@ -149,6 +153,16 @@ local LegendaryCrafting =
Events =
{
{
Name = "RuneforgeLegendaryCraftingClosed",
Type = "Event",
LiteralName = "RUNEFORGE_LEGENDARY_CRAFTING_CLOSED",
},
{
Name = "RuneforgeLegendaryCraftingOpened",
Type = "Event",
LiteralName = "RUNEFORGE_LEGENDARY_CRAFTING_OPENED",
},
{
Name = "RuneforgePowerInfoUpdated",
Type = "Event",
......
......@@ -6,6 +6,26 @@ local PlayerInfo =
Functions =
{
{
Name = "IsPlayerEligibleForNPE",
Type = "Function",
Returns =
{
{ Name = "isEligible", Type = "bool", Nilable = false },
{ Name = "failureReason", Type = "string", Nilable = false },
},
},
{
Name = "IsPlayerEligibleForNPEv2",
Type = "Function",
Returns =
{
{ Name = "isEligible", Type = "bool", Nilable = false },
{ Name = "failureReason", Type = "string", Nilable = false },
},
},
{
Name = "IsPlayerNPERestricted",
Type = "Function",
......
......@@ -628,6 +628,20 @@ local QuestLog =
{ Name = "isBounty", Type = "bool", Nilable = false },
},
},
{
Name = "IsQuestCalling",
Type = "Function",
Arguments =
{
{ Name = "questID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isCalling", Type = "bool", Nilable = false },
},
},
{
Name = "IsQuestCriteriaForBounty",
Type = "Function",
......
......@@ -6,6 +6,74 @@ local Soulbinds =
Functions =
{
{
Name = "ActivateSoulbind",
Type = "Function",
Arguments =
{
{ Name = "soulbindID", Type = "number", Nilable = false },
},
},
{
Name = "CloseSoulbindForge",
Type = "Function",
},
{
Name = "EndInteraction",
Type = "Function",
},
{
Name = "GetActiveSoulbindID",
Type = "Function",
Returns =
{
{ Name = "soulbindID", Type = "number", Nilable = false },
},
},
{
Name = "GetItemConduitType",
Type = "Function",
Arguments =
{
{ Name = "itemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "type", Type = "SoulbindConduitType", Nilable = true },
},
},
{
Name = "GetSoulbindData",
Type = "Function",
Arguments =
{
{ Name = "soulbindID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "data", Type = "SoulbindData", Nilable = false },
},
},
{
Name = "GetSoulbindIDs",
Type = "Function",
Arguments =
{
{ Name = "covenantID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "soulbindID", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "GetTree",
Type = "Function",
......@@ -21,28 +89,191 @@ local Soulbinds =
},
},
{
Name = "GetTrees",
Name = "HasInstalledConduit",
Type = "Function",
Arguments =
{
{ Name = "nodeID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "result", Type = "bool", Nilable = false },
},
},
{
Name = "InstallConduitInSlot",
Type = "Function",
Arguments =
{
{ Name = "nodeID", Type = "number", Nilable = false },
{ Name = "itemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "result", Type = "bool", Nilable = false },
},
},
{
Name = "IsAtSoulbindForge",
Type = "Function",
Returns =
{
{ Name = "result", Type = "bool", Nilable = false },
},
},
{
Name = "IsItemConduit",
Type = "Function",
Arguments =
{
{ Name = "itemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "isConduit", Type = "bool", Nilable = false },
},
},
{
Name = "LearnNode",
Type = "Function",
Arguments =
{
{ Name = "nodeID", Type = "number", Nilable = false },
},
},
{
Name = "ResetSoulbind",
Type = "Function",
Arguments =
{
{ Name = "soulbindID", Type = "number", Nilable = false },
},
},
{
Name = "UninstallConduitInSlot",
Type = "Function",
Arguments =
{
{ Name = "nodeID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "trees", Type = "table", InnerType = "SoulbindTree", Nilable = false },
{ Name = "result", Type = "bool", Nilable = false },
},
},
{
Name = "UninstallConduits",
Type = "Function",
},
},
Events =
{
{
Name = "SoulbindActivated",
Type = "Event",
LiteralName = "SOULBIND_ACTIVATED",
Payload =
{
{ Name = "soulbindID", Type = "number", Nilable = false },
},
},
{
Name = "SoulbindConduitInstalled",
Type = "Event",
LiteralName = "SOULBIND_CONDUIT_INSTALLED",
Payload =
{
{ Name = "nodeID", Type = "number", Nilable = false },
{ Name = "itemID", Type = "number", Nilable = false },
},
},
{
Name = "SoulbindConduitUninstalled",
Type = "Event",
LiteralName = "SOULBIND_CONDUIT_UNINSTALLED",
Payload =
{
{ Name = "nodeID", Type = "number", Nilable = false },
},
},
{
Name = "SoulbindForgeInteractionEnded",
Type = "Event",
LiteralName = "SOULBIND_FORGE_INTERACTION_ENDED",
},
{
Name = "SoulbindForgeInteractionStarted",
Type = "Event",
LiteralName = "SOULBIND_FORGE_INTERACTION_STARTED",
},
{
Name = "SoulbindNodeLearned",
Type = "Event",
LiteralName = "SOULBIND_NODE_LEARNED",
Payload =
{
{ Name = "nodeID", Type = "number", Nilable = false },
},
},
{
Name = "SoulbindNodeUnlearned",
Type = "Event",
LiteralName = "SOULBIND_NODE_UNLEARNED",
Payload =
{
{ Name = "nodeID", Type = "number", Nilable = false },
},
},
},
Tables =
{
{
Name = "SoulbindData",
Type = "Structure",
Fields =
{
{ Name = "ID", Type = "number", Nilable = false },
{ Name = "covenantID", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "description", Type = "string", Nilable = false },
{ Name = "portrait", Type = "string", Nilable = false },
{ Name = "tree", Type = "SoulbindTree", Nilable = false },
{ Name = "modelSceneData", Type = "SoulbindModelSceneData", Nilable = false },
},
},
{
Name = "SoulbindModelSceneData",
Type = "Structure",
Fields =
{
{ Name = "creatureDisplayInfoID", Type = "number", Nilable = false },
{ Name = "modelSceneActorID", Type = "number", Nilable = false },
},
},
{
Name = "SoulbindNode",
Type = "Structure",
Fields =
{
{ Name = "talent", Type = "GarrisonTalentInfo", Nilable = false },
{ Name = "ID", Type = "number", Nilable = false },
{ Name = "row", Type = "number", Nilable = false },
{ Name = "column", Type = "number", Nilable = false },
{ Name = "icon", Type = "number", Nilable = false },
{ Name = "spellID", Type = "number", Nilable = false },
{ Name = "conduitID", Type = "number", Nilable = false },
{ Name = "state", Type = "SoulbindNodeState", Nilable = false },
{ Name = "conduitType", Type = "SoulbindConduitType", Nilable = true },
{ Name = "parentNodeIDs", Type = "table", InnerType = "number", Nilable = false },
......@@ -53,8 +284,7 @@ local Soulbinds =
Type = "Structure",
Fields =
{
{ Name = "treeID", Type = "number", Nilable = false },
{ Name = "title", Type = "string", Nilable = false },
{ Name = "editable", Type = "bool", Nilable = false },
{ Name = "nodes", Type = "table", InnerType = "SoulbindNode", Nilable = false },
},
},
......
......@@ -6,6 +6,15 @@ local System =
Functions =
{
{
Name = "GetFrameStack",
Type = "Function",
Returns =
{
{ Name = "objects", Type = "table", InnerType = "table", Nilable = false },
},