Commit c7aa2f4f authored by TOM_RUS's avatar TOM_RUS

WOW-34199patch9.0.1_Beta

parent 4f1ee239
...@@ -15,6 +15,33 @@ local AnimaDiversionUI = ...@@ -15,6 +15,33 @@ local AnimaDiversionUI =
{ Name = "animaNodes", Type = "table", InnerType = "AnimaDiversionNodeInfo", Nilable = false }, { 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", Name = "OpenAnimaDiversionUI",
Type = "Function", Type = "Function",
...@@ -26,6 +53,7 @@ local AnimaDiversionUI = ...@@ -26,6 +53,7 @@ local AnimaDiversionUI =
Arguments = Arguments =
{ {
{ Name = "talentID", Type = "number", Nilable = false }, { Name = "talentID", Type = "number", Nilable = false },
{ Name = "temporary", Type = "bool", Nilable = false },
}, },
}, },
}, },
...@@ -46,6 +74,11 @@ local AnimaDiversionUI = ...@@ -46,6 +74,11 @@ local AnimaDiversionUI =
{ Name = "info", Type = "AnimaDiversionFrameInfo", Nilable = false }, { Name = "info", Type = "AnimaDiversionFrameInfo", Nilable = false },
}, },
}, },
{
Name = "AnimaDiversionTalentUpdated",
Type = "Event",
LiteralName = "ANIMA_DIVERSION_TALENT_UPDATED",
},
}, },
Tables = Tables =
...@@ -53,14 +86,24 @@ local AnimaDiversionUI = ...@@ -53,14 +86,24 @@ local AnimaDiversionUI =
{ {
Name = "AnimaDiversionNodeState", Name = "AnimaDiversionNodeState",
Type = "Enumeration", Type = "Enumeration",
NumValues = 3, NumValues = 4,
MinValue = 0, 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 = Fields =
{ {
{ Name = "Available", Type = "AnimaDiversionNodeState", EnumValue = 0 }, { Name = "currencyID", Type = "number", Nilable = false },
{ Name = "SelectedTemporary", Type = "AnimaDiversionNodeState", EnumValue = 1 }, { Name = "quantity", Type = "number", Nilable = false },
{ Name = "SelectedPermanent", Type = "AnimaDiversionNodeState", EnumValue = 2 },
}, },
}, },
{ {
...@@ -81,7 +124,7 @@ local AnimaDiversionUI = ...@@ -81,7 +124,7 @@ local AnimaDiversionUI =
{ Name = "talentID", Type = "number", Nilable = false }, { Name = "talentID", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false }, { Name = "name", Type = "string", Nilable = false },
{ Name = "description", 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 = "currencyID", Type = "number", Nilable = false },
{ Name = "icon", Type = "number", Nilable = false }, { Name = "icon", Type = "number", Nilable = false },
{ Name = "normalizedPosition", Type = "table", Mixin = "Vector2DMixin", Nilable = false }, { Name = "normalizedPosition", Type = "table", Mixin = "Vector2DMixin", Nilable = false },
......
...@@ -52,6 +52,7 @@ ContributionCollectorDocumentation.lua ...@@ -52,6 +52,7 @@ ContributionCollectorDocumentation.lua
CovenantCallingsDocumentation.lua CovenantCallingsDocumentation.lua
CovenantPreviewDocumentation.lua CovenantPreviewDocumentation.lua
CovenantSanctumDocumentation.lua CovenantSanctumDocumentation.lua
CovenantsDocumentation.lua
CreatureInfoDocumentation.lua CreatureInfoDocumentation.lua
CurrencyInfoDocumentation.lua CurrencyInfoDocumentation.lua
CursorDocumentation.lua CursorDocumentation.lua
...@@ -130,6 +131,7 @@ SkillInfoDocumentation.lua ...@@ -130,6 +131,7 @@ SkillInfoDocumentation.lua
SocialInfoDocumentation.lua SocialInfoDocumentation.lua
SocialQueueDocumentation.lua SocialQueueDocumentation.lua
SocialRestrictionsDocumentation.lua SocialRestrictionsDocumentation.lua
SoulbindsDocumentation.lua
SoundDocumentation.lua SoundDocumentation.lua
SpecializationInfoDocumentation.lua SpecializationInfoDocumentation.lua
SpellDocumentation.lua SpellDocumentation.lua
...@@ -179,6 +181,7 @@ CharacterCustomizationSharedDocumentation.lua ...@@ -179,6 +181,7 @@ CharacterCustomizationSharedDocumentation.lua
ChatDocumentation.lua ChatDocumentation.lua
ClubSharedDocumentation.lua ClubSharedDocumentation.lua
ColorDocumentation.lua ColorDocumentation.lua
CovenantsConstantsDocumentation.lua
GarrisonConstantsDocumentation.lua GarrisonConstantsDocumentation.lua
GarrisonSharedDocumentation.lua GarrisonSharedDocumentation.lua
GuildInfoSharedDocumentation.lua GuildInfoSharedDocumentation.lua
......
...@@ -16,13 +16,14 @@ local CharacterCustomizationShared = ...@@ -16,13 +16,14 @@ local CharacterCustomizationShared =
{ {
Name = "ChrCustomizationOptionType", Name = "ChrCustomizationOptionType",
Type = "Enumeration", Type = "Enumeration",
NumValues = 2, NumValues = 3,
MinValue = 0, MinValue = 0,
MaxValue = 1, MaxValue = 2,
Fields = Fields =
{ {
{ Name = "Slider", Type = "ChrCustomizationOptionType", EnumValue = 0 }, { Name = "SelectionPopout", Type = "ChrCustomizationOptionType", EnumValue = 0 },
{ Name = "Checkbox", Type = "ChrCustomizationOptionType", EnumValue = 1 }, { Name = "Checkbox", Type = "ChrCustomizationOptionType", EnumValue = 1 },
{ Name = "Slider", Type = "ChrCustomizationOptionType", EnumValue = 2 },
}, },
}, },
{ {
...@@ -32,6 +33,7 @@ local CharacterCustomizationShared = ...@@ -32,6 +33,7 @@ local CharacterCustomizationShared =
{ {
{ Name = "id", Type = "number", Nilable = false }, { Name = "id", Type = "number", Nilable = false },
{ Name = "name", Type = "string", 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 = ...@@ -200,14 +200,15 @@ local GarrisonConstants =
{ {
Name = "GarrTalentUI", Name = "GarrTalentUI",
Type = "Enumeration", Type = "Enumeration",
NumValues = 3, NumValues = 4,
MinValue = 0, MinValue = 0,
MaxValue = 2, MaxValue = 3,
Fields = Fields =
{ {
{ Name = "Generic", Type = "GarrTalentUI", EnumValue = 0 }, { Name = "Generic", Type = "GarrTalentUI", EnumValue = 0 },
{ Name = "CovenantSanctum", Type = "GarrTalentUI", EnumValue = 1 }, { Name = "CovenantSanctum", Type = "GarrTalentUI", EnumValue = 1 },
{ Name = "SoulBinds", Type = "GarrTalentUI", EnumValue = 2 }, { Name = "SoulBinds", Type = "GarrTalentUI", EnumValue = 2 },
{ Name = "AnimaDiversion", Type = "GarrTalentUI", EnumValue = 3 },
}, },
}, },
{ {
......
...@@ -21,6 +21,10 @@ local LegendaryCrafting = ...@@ -21,6 +21,10 @@ local LegendaryCrafting =
{ Name = "error", Type = "RuneforgeLegendaryError", Nilable = true }, { Name = "error", Type = "RuneforgeLegendaryError", Nilable = true },
}, },
}, },
{
Name = "CloseRuneforgeInteraction",
Type = "Function",
},
{ {
Name = "CraftRuneforgeLegendary", Name = "CraftRuneforgeLegendary",
Type = "Function", Type = "Function",
...@@ -149,6 +153,16 @@ local LegendaryCrafting = ...@@ -149,6 +153,16 @@ local LegendaryCrafting =
Events = Events =
{ {
{
Name = "RuneforgeLegendaryCraftingClosed",
Type = "Event",
LiteralName = "RUNEFORGE_LEGENDARY_CRAFTING_CLOSED",
},
{
Name = "RuneforgeLegendaryCraftingOpened",
Type = "Event",
LiteralName = "RUNEFORGE_LEGENDARY_CRAFTING_OPENED",
},
{ {
Name = "RuneforgePowerInfoUpdated", Name = "RuneforgePowerInfoUpdated",
Type = "Event", Type = "Event",
......
...@@ -6,6 +6,26 @@ local PlayerInfo = ...@@ -6,6 +6,26 @@ local PlayerInfo =
Functions = 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", Name = "IsPlayerNPERestricted",
Type = "Function", Type = "Function",
......
...@@ -628,6 +628,20 @@ local QuestLog = ...@@ -628,6 +628,20 @@ local QuestLog =
{ Name = "isBounty", Type = "bool", Nilable = false }, { 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", Name = "IsQuestCriteriaForBounty",
Type = "Function", Type = "Function",
......
...@@ -6,6 +6,74 @@ local Soulbinds = ...@@ -6,6 +6,74 @@ local Soulbinds =
Functions = 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", Name = "GetTree",
Type = "Function", Type = "Function",
...@@ -21,28 +89,191 @@ local Soulbinds = ...@@ -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", Type = "Function",
Arguments =
{
{ Name = "soulbindID", Type = "number", Nilable = false },
},
},
{
Name = "UninstallConduitInSlot",
Type = "Function",
Arguments =
{
{ Name = "nodeID", Type = "number", Nilable = false },
},
Returns = Returns =
{ {
{ Name = "trees", Type = "table", InnerType = "SoulbindTree", Nilable = false }, { Name = "result", Type = "bool", Nilable = false },
}, },
}, },
{
Name = "UninstallConduits",
Type = "Function",
},
}, },
Events = 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 =