Commit 3612631a authored by TOM_RUS's avatar TOM_RUS
Browse files

WOW-26567patch8.0.1_Beta

parent 345f0072
......@@ -19,6 +19,10 @@ local AdventureMap =
Name = "AdventureMapOpen",
Type = "Event",
LiteralName = "ADVENTURE_MAP_OPEN",
Payload =
{
{ Name = "followerTypeID", Type = "number", Nilable = false },
},
},
{
Name = "AdventureMapQuestUpdate",
......
......@@ -68,6 +68,11 @@ local AreaPoiInfo =
Events =
{
{
Name = "AreaPoisUpdated",
Type = "Event",
LiteralName = "AREA_POIS_UPDATED",
},
},
Tables =
......@@ -77,20 +82,13 @@ local AreaPoiInfo =
Type = "Structure",
Fields =
{
{ Name = "areaPoiID", Type = "number", Nilable = false },
{ Name = "position", Type = "table", Mixin = "Vector2DMixin", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "description", Type = "string", Nilable = true },
{ Name = "textureIndex", Type = "number", Nilable = true },
{ Name = "x", Type = "number", Nilable = false },
{ Name = "y", Type = "number", Nilable = false },
{ Name = "mapLinkID", Type = "number", Nilable = true },
{ Name = "inBattleMap", Type = "bool", Nilable = true },
{ Name = "graveyardID", Type = "number", Nilable = true },
{ Name = "areaID", Type = "number", Nilable = true },
{ Name = "poiID", Type = "number", Nilable = true },
{ Name = "widgetSetID", Type = "number", Nilable = true },
{ Name = "atlasName", Type = "string", Nilable = true },
{ Name = "displayAsBanner", Type = "bool", Nilable = true },
{ Name = "textureKitPrefix", Type = "string", Nilable = true },
{ Name = "useMouseOverTooltip", Type = "bool", Nilable = true },
},
},
},
......
......@@ -62,6 +62,7 @@ HeirloomInfoDocumentation.lua
InstanceEncounterDocumentation.lua
InvasionInfoDocumentation.lua
IslandsInfoDocumentation.lua
IslandsQueueUIDocumentation.lua
ItemDocumentation.lua
ItemSocketInfoDocumentation.lua
ItemTextDocumentation.lua
......@@ -133,7 +134,6 @@ VoiceChatDocumentation.lua
VoidStorageInfoDocumentation.lua
WarCampaignDocumentation.lua
WarfrontDocumentation.lua
WorldMapDocumentation.lua
WorldStateInfoDocumentation.lua
WowTokenUIDocumentation.lua
ZoneAbilityDocumentation.lua
......
......@@ -155,6 +155,7 @@ local Club =
{ Name = "name", Type = "string", Nilable = true },
{ Name = "description", Type = "string", Nilable = true },
{ Name = "avatarId", Type = "number", Nilable = true },
{ Name = "broadcast", Type = "string", Nilable = true },
},
},
{
......
......@@ -56,6 +56,20 @@ local ContributionCollector =
{ Name = "spellID", Type = "number", Nilable = false, StrideIndex = 1 },
},
},
{
Name = "GetContributionCollectorsForMap",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "contributionCollectors", Type = "table", InnerType = "ContributionMapInfo", Nilable = false },
},
},
{
Name = "GetContributionResult",
Type = "Function",
......@@ -127,7 +141,7 @@ local ContributionCollector =
},
},
{
Name = "GetRequiredContributionAmount",
Name = "GetRequiredContributionCurrency",
Type = "Function",
Arguments =
......@@ -141,6 +155,21 @@ local ContributionCollector =
{ Name = "currencyAmount", Type = "number", Nilable = false, Default = 0 },
},
},
{
Name = "GetRequiredContributionItem",
Type = "Function",
Arguments =
{
{ Name = "contributionID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "itemID", Type = "number", Nilable = false, Default = 0 },
{ Name = "itemCount", Type = "number", Nilable = false, Default = 0 },
},
},
{
Name = "GetRewardQuestID",
Type = "Function",
......@@ -287,6 +316,18 @@ local ContributionCollector =
{ Name = "InternalError", Type = "ContributionResult", EnumValue = 7 },
},
},
{
Name = "ContributionMapInfo",
Type = "Structure",
Fields =
{
{ Name = "areaPoiID", Type = "number", Nilable = false },
{ Name = "position", Type = "table", Mixin = "Vector2DMixin", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "atlasName", Type = "string", Nilable = false },
{ Name = "collectorCreatureID", Type = "number", Nilable = false },
},
},
},
};
......
......@@ -34,6 +34,20 @@ local DeathInfo =
{ Name = "position", Type = "table", Mixin = "Vector2DMixin", Nilable = true },
},
},
{
Name = "GetGraveyardsForMap",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "graveyards", Type = "table", InnerType = "GraveyardMapInfo", Nilable = false },
},
},
{
Name = "GetSelfResurrectOptions",
Type = "Function",
......@@ -67,6 +81,11 @@ local DeathInfo =
Type = "Event",
LiteralName = "AREA_SPIRIT_HEALER_OUT_OF_RANGE",
},
{
Name = "CemeteryPreferenceUpdated",
Type = "Event",
LiteralName = "CEMETERY_PREFERENCE_UPDATED",
},
{
Name = "ConfirmXpLoss",
Type = "Event",
......@@ -150,6 +169,19 @@ local DeathInfo =
{ Name = "Item", Type = "SelfResurrectOptionType", EnumValue = 1 },
},
},
{
Name = "GraveyardMapInfo",
Type = "Structure",
Fields =
{
{ Name = "areaPoiID", Type = "number", Nilable = false },
{ Name = "position", Type = "table", Mixin = "Vector2DMixin", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "textureIndex", Type = "number", Nilable = false },
{ Name = "graveyardID", Type = "number", Nilable = false },
{ Name = "isGraveyardSelectable", Type = "bool", Nilable = false },
},
},
{
Name = "SelfResurrectOption",
Type = "Structure",
......
......@@ -6,6 +6,20 @@ local EncounterJournal =
Functions =
{
{
Name = "GetDungeonEntrancesForMap",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "dungeonEntrances", Type = "table", InnerType = "DungeonEntranceMapInfo", Nilable = false },
},
},
{
Name = "GetEncountersOnMap",
Type = "Function",
......@@ -75,6 +89,19 @@ local EncounterJournal =
Tables =
{
{
Name = "DungeonEntranceMapInfo",
Type = "Structure",
Fields =
{
{ Name = "areaPoiID", Type = "number", Nilable = false },
{ Name = "position", Type = "table", Mixin = "Vector2DMixin", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "description", Type = "string", Nilable = false },
{ Name = "atlasName", Type = "string", Nilable = false },
{ Name = "journalInstanceID", Type = "number", Nilable = false },
},
},
{
Name = "EncounterJournalMapEncounterInfo",
Type = "Structure",
......
local IslandsQueueUI =
{
Name = "IslandsQueue",
Type = "System",
Namespace = "C_IslandsQueue",
Functions =
{
{
Name = "GetIslandDifficultyIds",
Type = "Function",
Returns =
{
{ Name = "lfgIslandDifficultyIds", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "GetIslandInfoByDifficulty",
Type = "Function",
Arguments =
{
{ Name = "difficulty", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "info", Type = "table", InnerType = "IslandsQueueInfo", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
{
Name = "IslandsQueueInfo",
Type = "Structure",
Fields =
{
{ Name = "name", Type = "string", Nilable = false },
{ Name = "cardArtAtlas", Type = "string", Nilable = false },
},
},
},
};
APIDocumentation:AddDocumentationTable(IslandsQueueUI);
\ No newline at end of file
......@@ -6,6 +6,32 @@ local LFGListInfo =
Functions =
{
{
Name = "CanCreateQuestGroup",
Type = "Function",
Arguments =
{
{ Name = "questID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "canCreate", Type = "bool", Nilable = false },
},
},
{
Name = "ClearApplicationTextFields",
Type = "Function",
},
{
Name = "ClearCreationTextFields",
Type = "Function",
},
{
Name = "CopyActiveEntryInfoToCreationFields",
Type = "Function",
},
{
Name = "Search",
Type = "Function",
......
......@@ -35,15 +35,6 @@ local Map =
{ Name = "uiMapID", Type = "number", Nilable = true },
},
},
{
Name = "GetCurrentMapID",
Type = "Function",
Returns =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
},
{
Name = "GetMapArtBackgroundAtlas",
Type = "Function",
......@@ -101,6 +92,20 @@ local Map =
{ Name = "layerInfo", Type = "table", InnerType = "UiMapLayerInfo", Nilable = false },
},
},
{
Name = "GetMapBannersForMap",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "mapBanners", Type = "table", InnerType = "MapBannerInfo", Nilable = false },
},
},
{
Name = "GetMapChildrenInfo",
Type = "Function",
......@@ -228,6 +233,37 @@ local Map =
{ Name = "petMaxLevel", Type = "number", Nilable = false, Default = 0 },
},
},
{
Name = "GetMapLinksForMap",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "mapLinks", Type = "table", InnerType = "MapLinkInfo", Nilable = false },
},
},
{
Name = "GetMapPosFromWorldPos",
Type = "Function",
Arguments =
{
{ Name = "continentID", Type = "number", Nilable = false },
{ Name = "worldPosition", Type = "table", Mixin = "Vector2DMixin", Nilable = false },
{ Name = "overrideUiMapID", Type = "number", Nilable = true },
},
Returns =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
{ Name = "mapPosition", Type = "table", Mixin = "Vector2DMixin", Nilable = false },
},
},
{
Name = "GetMapRectOnMap",
Type = "Function",
......@@ -263,16 +299,23 @@ local Map =
},
},
{
Name = "RequestPreloadMap",
Name = "GetWorldPosFromMapPos",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
{ Name = "mapPosition", Type = "table", Mixin = "Vector2DMixin", Nilable = false },
},
Returns =
{
{ Name = "continentID", Type = "number", Nilable = false },
{ Name = "worldPosition", Type = "table", Mixin = "Vector2DMixin", Nilable = false },
},
},
{
Name = "SetMap",
Name = "RequestPreloadMap",
Type = "Function",
Arguments =
......@@ -284,6 +327,26 @@ local Map =
Events =
{
{
Name = "NewWmoChunk",
Type = "Event",
LiteralName = "NEW_WMO_CHUNK",
},
{
Name = "ZoneChanged",
Type = "Event",
LiteralName = "ZONE_CHANGED",
},
{
Name = "ZoneChangedIndoors",
Type = "Event",
LiteralName = "ZONE_CHANGED_INDOORS",
},
{
Name = "ZoneChangedNewArea",
Type = "Event",
LiteralName = "ZONE_CHANGED_NEW_AREA",
},
},
Tables =
......@@ -347,6 +410,16 @@ local Map =
{ Name = "additionalZoomSteps", Type = "number", Nilable = false },
},
},
{
Name = "MapBannerInfo",
Type = "Structure",
Fields =
{
{ Name = "areaPoiID", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "atlasName", Type = "string", Nilable = false },
},
},
{
Name = "UiMapDetails",
Type = "Structure",
......@@ -368,6 +441,18 @@ local Map =
{ Name = "name", Type = "string", Nilable = false },
},
},
{
Name = "MapLinkInfo",
Type = "Structure",
Fields =
{
{ Name = "areaPoiID", Type = "number", Nilable = false },
{ Name = "position", Type = "table", Mixin = "Vector2DMixin", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "atlasName", Type = "string", Nilable = false },
{ Name = "linkedUiMapID", Type = "number", Nilable = false },
},
},
},
};
......
......@@ -44,6 +44,21 @@ local PaperDollInfo =
{ Name = "minItemLevel", Type = "number", Nilable = true },
},
},
{
Name = "GetStaggerPercentage",
Type = "Function",
Arguments =
{
{ Name = "unit", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "stagger", Type = "number", Nilable = false },
{ Name = "staggerAgainstTarget", Type = "number", Nilable = true },
},
},
{
Name = "OffhandHasShield",
Type = "Function",
......
......@@ -99,6 +99,34 @@ local PvpInfo =
{ Name = "pvpScalingData", Type = "table", InnerType = "PvpScalingData", Nilable = false },
},
},
{
Name = "GetHonorRewardInfo",
Type = "Function",
Arguments =
{
{ Name = "honorLevel", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "info", Type = "HonorRewardInfo", Nilable = true },
},
},
{
Name = "GetNextHonorLevelForReward",
Type = "Function",
Arguments =
{
{ Name = "honorLevel", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "nextHonorLevelWithReward", Type = "number", Nilable = true },
},
},
{
Name = "GetOutdoorPvPWaitTime",
Type = "Function",
......@@ -113,6 +141,20 @@ local PvpInfo =
{ Name = "pvpWaitTime", Type = "number", Nilable = false },
},
},
{
Name = "GetPvpTierInfo",
Type = "Function",
Arguments =
{
{ Name = "tierID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "pvpTierInfo", Type = "PvpTierInfo", Nilable = true },
},
},
{
Name = "GetRandomBGInfo",
Type = "Function",
......@@ -205,7 +247,7 @@ local PvpInfo =
},
},
{
Name = "IsWarModeEnabled",
Name = "IsWarModeFeatureEnabled",
Type = "Function",
Returns =
......@@ -488,6 +530,30 @@ local PvpInfo =
{ Name = "value", Type = "number", Nilable = false },
},
},
{
Name = "HonorRewardInfo",
Type = "Structure",
Fields =
{
{ Name = "honorLevelName", Type = "string", Nilable = false },
{ Name = "badgeFileDataID", Type = "number", Nilable = false },
{ Name = "achievementRewardedID", Type = "number", Nilable = false },
},