Commit 2f8f4bee authored by Simpy's avatar Simpy 🐹

WOW-35938patch9.0.2_Beta

parent 48c46ad8
local ArdenwealdGardening =
{
Name = "ArdenwealdGardening",
Type = "System",
Namespace = "C_ArdenwealdGardening",
Functions =
{
{
Name = "GetGardenData",
Type = "Function",
Returns =
{
{ Name = "data", Type = "ArdenwealdGardenData", Nilable = false },
},
},
{
Name = "IsGardenAccessible",
Type = "Function",
Returns =
{
{ Name = "accessible", Type = "bool", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
{
Name = "ArdenwealdGardenData",
Type = "Structure",
Fields =
{
{ Name = "active", Type = "number", Nilable = false },
{ Name = "ready", Type = "number", Nilable = false },
{ Name = "remainingSeconds", Type = "number", Nilable = false },
},
},
},
};
APIDocumentation:AddDocumentationTable(ArdenwealdGardening);
\ No newline at end of file
......@@ -90,6 +90,7 @@ local AreaPoiInfo =
{ Name = "textureIndex", Type = "number", Nilable = true },
{ Name = "widgetSetID", Type = "number", Nilable = true },
{ Name = "atlasName", Type = "string", Nilable = true },
{ Name = "uiTextureKit", Type = "string", Nilable = true },
},
},
},
......
......@@ -59,6 +59,15 @@ local BarberShop =
{ Name = "cost", Type = "number", Nilable = false },
},
},
{
Name = "HasAnyChanges",
Type = "Function",
Returns =
{
{ Name = "hasChanges", Type = "bool", Nilable = false },
},
},
{
Name = "IsViewingAlteredForm",
Type = "Function",
......
......@@ -19,6 +19,7 @@ AdventureJournalDocumentation.lua
AdventureMapDocumentation.lua
AlliedRacesFrameDocumentation.lua
AnimaDiversionUIDocumentation.lua
ArdenwealdGardeningDocumentation.lua
AreaPoiInfoDocumentation.lua
ArtifactUIDocumentation.lua
AuctionHouseDocumentation.lua
......
......@@ -5,13 +5,14 @@ local ChatConstants =
{
Name = "ChatChannelRuleset",
Type = "Enumeration",
NumValues = 2,
NumValues = 3,
MinValue = 0,
MaxValue = 1,
MaxValue = 2,
Fields =
{
{ Name = "None", Type = "ChatChannelRuleset", EnumValue = 0 },
{ Name = "Mentor", Type = "ChatChannelRuleset", EnumValue = 1 },
{ Name = "Disabled", Type = "ChatChannelRuleset", EnumValue = 2 },
},
},
{
......
......@@ -52,6 +52,20 @@ local ChatInfo =
{ Name = "ruleset", Type = "ChatChannelRuleset", Nilable = false },
},
},
{
Name = "GetChannelShortcut",
Type = "Function",
Arguments =
{
{ Name = "channelIndex", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "shortcut", Type = "string", Nilable = false },
},
},
{
Name = "GetChannelShortcutForChannelID",
Type = "Function",
......@@ -80,6 +94,15 @@ local ChatInfo =
{ Name = "ids", Type = "table", InnerType = "string", Nilable = false },
},
},
{
Name = "GetMentorChannelID",
Type = "Function",
Returns =
{
{ Name = "channelID", Type = "number", Nilable = false },
},
},
{
Name = "GetNumActiveChannels",
Type = "Function",
......@@ -112,6 +135,34 @@ local ChatInfo =
{ Name = "isRegistered", Type = "bool", Nilable = false },
},
},
{
Name = "IsChannelRegional",
Type = "Function",
Arguments =
{
{ Name = "channelIndex", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isRegional", Type = "bool", Nilable = false },
},
},
{
Name = "IsChannelRegionalForChannelID",
Type = "Function",
Arguments =
{
{ Name = "channelID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isRegional", Type = "bool", Nilable = false },
},
},
{
Name = "IsPartyChannelType",
Type = "Function",
......
......@@ -6,6 +6,15 @@ local CovenantSanctum =
Functions =
{
{
Name = "CanDepositAnima",
Type = "Function",
Returns =
{
{ Name = "canDeposit", Type = "bool", Nilable = false },
},
},
{
Name = "DepositAnima",
Type = "Function",
......@@ -46,6 +55,12 @@ local CovenantSanctum =
Name = "GetRenownMilestones",
Type = "Function",
Arguments =
{
{ Name = "covenantID", Type = "number", Nilable = false },
{ Name = "renownLevel", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "milestones", Type = "table", InnerType = "CovenantSanctumRenownMilestoneInfo", Nilable = false },
......@@ -57,7 +72,8 @@ local CovenantSanctum =
Arguments =
{
{ Name = "level", Type = "number", Nilable = false },
{ Name = "covenantID", Type = "number", Nilable = false },
{ Name = "renownLevel", Type = "number", Nilable = false },
},
Returns =
......@@ -97,6 +113,16 @@ local CovenantSanctum =
Type = "Event",
LiteralName = "COVENANT_SANCTUM_INTERACTION_STARTED",
},
{
Name = "CovenantSanctumRenownLevelChanged",
Type = "Event",
LiteralName = "COVENANT_SANCTUM_RENOWN_LEVEL_CHANGED",
Payload =
{
{ Name = "newRenownLevel", Type = "number", Nilable = false },
{ Name = "oldRenownLevel", Type = "number", Nilable = false },
},
},
},
Tables =
......@@ -138,6 +164,7 @@ local CovenantSanctum =
{ Name = "icon", Type = "number", Nilable = true },
{ Name = "name", Type = "string", Nilable = true },
{ Name = "description", Type = "string", Nilable = true },
{ Name = "toastDescription", Type = "string", Nilable = true },
},
},
},
......
......@@ -62,6 +62,7 @@ local Covenants =
{
{ Name = "ID", Type = "number", Nilable = false },
{ Name = "textureKit", Type = "string", Nilable = false },
{ Name = "celebrationSoundKit", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "soulbindIDs", Type = "table", InnerType = "number", Nilable = false },
},
......
......@@ -804,6 +804,17 @@ local GarrisonInfo =
{ Name = "garrisonTalentTreeID", Type = "number", Nilable = false },
},
},
{
Name = "GarrisonTalentResearchStarted",
Type = "Event",
LiteralName = "GARRISON_TALENT_RESEARCH_STARTED",
Payload =
{
{ Name = "garrTypeID", Type = "number", Nilable = false },
{ Name = "garrisonTalentTreeID", Type = "number", Nilable = false },
{ Name = "garrTalentID", Type = "number", Nilable = false },
},
},
{
Name = "GarrisonTalentUpdate",
Type = "Event",
......
......@@ -194,6 +194,20 @@ local LegendaryCrafting =
{ Name = "isRuneforgeLegendary", Type = "bool", Nilable = false },
},
},
{
Name = "IsRuneforgeLegendaryMaxLevel",
Type = "Function",
Arguments =
{
{ Name = "runeforgeLegendary", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "isMaxLevel", Type = "bool", Nilable = false },
},
},
{
Name = "IsUpgradeItemValidForRuneforgeLegendary",
Type = "Function",
......
......@@ -6,6 +6,20 @@ local Map =
Functions =
{
{
Name = "CanSetUserWaypointOnMap",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "canSet", Type = "bool", Nilable = false },
},
},
{
Name = "ClearUserWaypoint",
Type = "Function",
......
......@@ -15,6 +15,15 @@ local PlayerMentorship =
{ Name = "level", Type = "number", Nilable = true },
},
},
{
Name = "GetMentorOptionalAchievementIDs",
Type = "Function",
Returns =
{
{ Name = "achievementIDs", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "GetMentorshipStatus",
Type = "Function",
......
......@@ -181,6 +181,20 @@ local PvpInfo =
{ Name = "info", Type = "BattlefieldVehicleInfo", Nilable = false },
},
},
{
Name = "GetBattlefieldVehicles",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "vehicles", Type = "table", InnerType = "BattlefieldVehicleInfo", Nilable = false },
},
},
{
Name = "GetBrawlRewards",
Type = "Function",
......
......@@ -281,6 +281,24 @@ local QuestLog =
{ Name = "numQuestWatches", Type = "number", Nilable = false },
},
},
{
Name = "GetQuestAdditionalHighlights",
Type = "Function",
Arguments =
{
{ Name = "questID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
{ Name = "worldQuests", Type = "bool", Nilable = false },
{ Name = "worldQuestsElite", Type = "bool", Nilable = false },
{ Name = "dungeons", Type = "bool", Nilable = false },
{ Name = "treasures", Type = "bool", Nilable = false },
},
},
{
Name = "GetQuestDetailsTheme",
Type = "Function",
......
......@@ -89,9 +89,9 @@ local ScenarioInfo =
{
Name = "JailersTowerType",
Type = "Enumeration",
NumValues = 7,
NumValues = 11,
MinValue = 0,
MaxValue = 6,
MaxValue = 10,
Fields =
{
{ Name = "TwistingCorridors", Type = "JailersTowerType", EnumValue = 0 },
......@@ -101,6 +101,10 @@ local ScenarioInfo =
{ Name = "Coldheart", Type = "JailersTowerType", EnumValue = 4 },
{ Name = "Mortregar", Type = "JailersTowerType", EnumValue = 5 },
{ Name = "UpperReaches", Type = "JailersTowerType", EnumValue = 6 },
{ Name = "ArkobanHall", Type = "JailersTowerType", EnumValue = 7 },
{ Name = "TormentChamberJaina", Type = "JailersTowerType", EnumValue = 8 },
{ Name = "TormentChamberThrall", Type = "JailersTowerType", EnumValue = 9 },
{ Name = "TormentChamberAnduin", Type = "JailersTowerType", EnumValue = 10 },
},
},
},
......
......@@ -368,6 +368,20 @@ local Soulbinds =
{ Name = "result", Type = "bool", Nilable = false },
},
},
{
Name = "MatchesCurrentSpecSet",
Type = "Function",
Arguments =
{
{ Name = "specSetID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "matches", Type = "bool", Nilable = false },
},
},
{
Name = "RemovePendingConduit",
Type = "Function",
......@@ -521,7 +535,7 @@ local Soulbinds =
{ Name = "conduitID", Type = "number", Nilable = false },
{ Name = "conduitRank", Type = "number", Nilable = false },
{ Name = "conduitType", Type = "SoulbindConduitType", Nilable = false },
{ Name = "conduitSpecID", Type = "number", Nilable = false },
{ Name = "conduitSpecSetID", Type = "number", Nilable = false },
{ Name = "conduitSpecName", Type = "string", Nilable = true },
{ Name = "covenantID", Type = "number", Nilable = true },
{ Name = "conduitItemID", Type = "number", Nilable = false },
......
......@@ -20,6 +20,20 @@ local Spell =
{ Name = "spellExists", Type = "bool", Nilable = false },
},
},
{
Name = "GetMawPowerBorderAtlasBySpellID",
Type = "Function",
Arguments =
{
{ Name = "spellID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "rarityBorderAtlas", Type = "string", Nilable = false },
},
},
{
Name = "IsSpellDataCached",
Type = "Function",
......
......@@ -22,6 +22,11 @@ local SplashScreen =
{
Name = "RequestLatestSplashScreen",
Type = "Function",
Arguments =
{
{ Name = "fromGameMenu", Type = "bool", Nilable = false },
},
},
},
......
......@@ -6,6 +6,24 @@ local StableInfo =
Functions =
{
{
Name = "GetNumActivePets",
Type = "Function",
Returns =
{
{ Name = "numActivePets", Type = "number", Nilable = false },
},
},
{
Name = "GetNumStablePets",
Type = "Function",
Returns =
{
{ Name = "numStablePets", Type = "number", Nilable = false },
},
},
},
Events =
......
......@@ -13,6 +13,7 @@ local TransmogItems =
Arguments =
{
{ Name = "appearanceID", Type = "number", Nilable = false },
{ Name = "categoryID", Type = "number", Nilable = true },
},
Returns =
......
......@@ -932,6 +932,15 @@ local Unit =
{ Name = "isConnected", Type = "bool", Nilable = false },
},
},
{
Name = "UnitCtrOptions",
Type = "Event",
LiteralName = "UNIT_CTR_OPTIONS",
Payload =
{
{ Name = "unitTarget", Type = "string", Nilable = false },
},
},
{
Name = "UnitDamage",
Type = "Event",
......
......@@ -84,14 +84,15 @@ local VignetteInfo =
{
Name = "VignetteType",
Type = "Enumeration",
NumValues = 3,
NumValues = 4,
MinValue