Commit 2ba74727 authored by TOM_RUS's avatar TOM_RUS
Browse files

WOW-26476patch8.0.1_Beta

parent a8e4fa31
......@@ -6,6 +6,64 @@ local AreaPoiInfo =
Functions =
{
{
Name = "GetAreaPOIForMap",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "areaPoiIDs", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "GetAreaPOIInfo",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
{ Name = "areaPoiID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "poiInfo", Type = "AreaPOIInfo", Nilable = false },
},
},
{
Name = "GetAreaPOITimeLeft",
Type = "Function",
Arguments =
{
{ Name = "areaPoiID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "minutesLeft", Type = "number", Nilable = false },
},
},
{
Name = "IsAreaPOITimed",
Type = "Function",
Documentation = { "This statically determines if the POI is timed, GetAreaPOITimeLeft retrieves the value from the server and may return nothing for long intervals" },
Arguments =
{
{ Name = "areaPoiID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isTimed", Type = "bool", Nilable = false },
},
},
},
Events =
......@@ -14,6 +72,27 @@ local AreaPoiInfo =
Tables =
{
{
Name = "AreaPOIInfo",
Type = "Structure",
Fields =
{
{ 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 = "atlasName", Type = "string", Nilable = true },
{ Name = "displayAsBanner", Type = "bool", Nilable = true },
{ Name = "textureKitPrefix", Type = "string", Nilable = true },
{ Name = "useMouseOverTooltip", Type = "bool", Nilable = true },
},
},
},
};
......
## Interface: 70300
## Interface: 80000
## Title: Blizzard API Documentation
## Secure: 1
## Author: Blizzard Entertainment
......@@ -77,6 +77,7 @@ LootJournalDocumentation.lua
LossOfControlDocumentation.lua
MailInfoDocumentation.lua
MapDocumentation.lua
MapExplorationDocumentation.lua
MerchantFrameDocumentation.lua
MinimapDocumentation.lua
MountJournalDocumentation.lua
......@@ -130,6 +131,7 @@ VideoDocumentation.lua
VignetteInfoDocumentation.lua
VoiceChatDocumentation.lua
VoidStorageInfoDocumentation.lua
WarCampaignDocumentation.lua
WarfrontDocumentation.lua
WorldMapDocumentation.lua
WorldStateInfoDocumentation.lua
......
......@@ -556,6 +556,15 @@ local Club =
{ Name = "messageId", Type = "ClubMessageIdentifier", Nilable = true },
},
},
{
Name = "RequestTicket",
Type = "Function",
Arguments =
{
{ Name = "ticketId", Type = "string", Nilable = false },
},
},
{
Name = "RequestTickets",
Type = "Function",
......@@ -634,7 +643,7 @@ local Club =
{
Name = "SetClubMemberNote",
Type = "Function",
Documentation = { "Check the canSetOtherMemberAttribute privilege." },
Documentation = { "Check the canSetOwnMemberNote and canSetOtherMemberNote privileges." },
Arguments =
{
......@@ -826,6 +835,16 @@ local Club =
{ Name = "clubId", Type = "string", Nilable = false },
},
},
{
Name = "ClubSelfMemberRoleUpdated",
Type = "Event",
LiteralName = "CLUB_SELF_MEMBER_ROLE_UPDATED",
Payload =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "roleId", Type = "number", Nilable = false },
},
},
{
Name = "ClubStreamAdded",
Type = "Event",
......@@ -984,6 +1003,7 @@ local Club =
Type = "Structure",
Fields =
{
{ Name = "isSelf", Type = "bool", Nilable = false },
{ Name = "memberId", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false, Documentation = { "name may be encoded as a Kstring" } },
{ Name = "role", Type = "ClubRoleIdentifier", Nilable = true },
......@@ -1003,6 +1023,7 @@ local Club =
{ Name = "invitationId", Type = "string", Nilable = false },
{ Name = "club", Type = "ClubInfo", Nilable = false },
{ Name = "inviter", Type = "ClubMemberInfo", Nilable = false },
{ Name = "leaders", Type = "table", InnerType = "ClubMemberInfo", Nilable = false },
},
},
{
......@@ -1069,6 +1090,8 @@ local Club =
{ Name = "canSetPrivacyLevel", Type = "bool", Nilable = false },
{ Name = "canSetOwnMemberAttribute", Type = "bool", Nilable = false },
{ Name = "canSetOtherMemberAttribute", Type = "bool", Nilable = false },
{ Name = "canSetOwnMemberNote", Type = "bool", Nilable = false },
{ Name = "canSetOtherMemberNote", Type = "bool", Nilable = false },
{ Name = "canSetOwnVoiceState", Type = "bool", Nilable = false },
{ Name = "canSetOwnPresenceLevel", Type = "bool", Nilable = false },
{ Name = "canUseVoice", Type = "bool", Nilable = false },
......@@ -1078,6 +1101,7 @@ local Club =
{ Name = "canSendGuestInvitation", Type = "bool", Nilable = false },
{ Name = "canRevokeOwnInvitation", Type = "bool", Nilable = false },
{ Name = "canRevokeOtherInvitation", Type = "bool", Nilable = false },
{ Name = "canGetBan", Type = "bool", Nilable = false },
{ Name = "canGetSuggestion", Type = "bool", Nilable = false },
{ Name = "canSuggestMember", Type = "bool", Nilable = false },
{ Name = "canGetTicket", Type = "bool", Nilable = false },
......
......@@ -59,6 +59,21 @@ local CurrencyInfo =
{ Name = "currencyID", Type = "number", Nilable = false },
},
},
{
Name = "IsCurrencyContainer",
Type = "Function",
Arguments =
{
{ Name = "currencyID", Type = "number", Nilable = false },
{ Name = "quantity", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isCurrencyContainer", Type = "bool", Nilable = false },
},
},
},
Events =
......
......@@ -6,10 +6,44 @@ local GossipInfo =
Functions =
{
{
Name = "GetGossipPoiForUiMapID",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "gossipPoiID", Type = "number", Nilable = true },
},
},
{
Name = "GetGossipPoiInfo",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
{ Name = "gossipPoiID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "gossipPoiInfo", Type = "GossipPoiInfo", Nilable = true },
},
},
},
Events =
{
{
Name = "DynamicGossipPoiUpdated",
Type = "Event",
LiteralName = "DYNAMIC_GOSSIP_POI_UPDATED",
},
{
Name = "GossipClosed",
Type = "Event",
......@@ -49,6 +83,17 @@ local GossipInfo =
Tables =
{
{
Name = "GossipPoiInfo",
Type = "Structure",
Fields =
{
{ Name = "name", Type = "string", Nilable = false },
{ Name = "textureIndex", Type = "number", Nilable = false },
{ Name = "position", Type = "table", Mixin = "Vector2DMixin", Nilable = false },
{ Name = "inBattleMap", Type = "bool", Nilable = false },
},
},
},
};
......
......@@ -6,6 +6,20 @@ local KeyBindings =
Functions =
{
{
Name = "GetCustomBindingType",
Type = "Function",
Arguments =
{
{ Name = "bindingIndex", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "customBindingType", Type = "CustomBindingType", Nilable = true },
},
},
},
Events =
......@@ -29,6 +43,17 @@ local KeyBindings =
Tables =
{
{
Name = "CustomBindingType",
Type = "Enumeration",
NumValues = 1,
MinValue = 0,
MaxValue = 0,
Fields =
{
{ Name = "VoicePushToTalk", Type = "CustomBindingType", EnumValue = 0 },
},
},
},
};
......
......@@ -6,6 +6,20 @@ local Map =
Functions =
{
{
Name = "GetAreaInfo",
Type = "Function",
Arguments =
{
{ Name = "areaID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "name", Type = "string", Nilable = false },
},
},
{
Name = "GetBestMapForUnit",
Type = "Function",
......@@ -215,36 +229,30 @@ local Map =
},
},
{
Name = "GetMapOverlayNameAtPosition",
Name = "GetMapRectOnMap",
Type = "Function",
Arguments =
{
{ Name = "x", Type = "number", Nilable = false },
{ Name = "y", Type = "number", Nilable = false },
{ Name = "uiMapID", Type = "number", Nilable = false },
{ Name = "topUiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "name", Type = "string", Nilable = false },
{ Name = "minX", Type = "number", Nilable = false },
{ Name = "maxX", Type = "number", Nilable = false },
{ Name = "minY", Type = "number", Nilable = false },
{ Name = "maxY", Type = "number", Nilable = false },
},
},
{
Name = "GetMapRectOnMap",
Name = "RequestPreloadMap",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
{ Name = "topUiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "minX", Type = "number", Nilable = false },
{ Name = "maxX", Type = "number", Nilable = false },
{ Name = "minY", Type = "number", Nilable = false },
{ Name = "maxY", Type = "number", Nilable = false },
},
},
{
......@@ -260,11 +268,6 @@ local Map =
Events =
{
{
Name = "MapOverlaysUpdated",
Type = "Event",
LiteralName = "MAP_OVERLAYS_UPDATED",
},
},
Tables =
......
local MapOverlay =
{
Name = "MapOverlayInfo",
Type = "System",
Namespace = "C_MapOverlayInfo",
Functions =
{
{
Name = "GetMapOverlays",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "overlayInfo", Type = "table", InnerType = "UiMapOverlayInfo", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
{
Name = "UiMapOverlayHitRect",
Type = "Structure",
Fields =
{
{ Name = "top", Type = "number", Nilable = false },
{ Name = "bottom", Type = "number", Nilable = false },
{ Name = "left", Type = "number", Nilable = false },
{ Name = "right", Type = "number", Nilable = false },
},
},
{
Name = "UiMapOverlayInfo",
Type = "Structure",
Fields =
{
{ Name = "textureWidth", Type = "number", Nilable = false },
{ Name = "textureHeight", Type = "number", Nilable = false },
{ Name = "offsetX", Type = "number", Nilable = false },
{ Name = "offsetY", Type = "number", Nilable = false },
{ Name = "isShownByMouseOver", Type = "bool", Nilable = false },
{ Name = "fileDataIDs", Type = "table", InnerType = "number", Nilable = false },
{ Name = "hitRect", Type = "UiMapOverlayHitRect", Nilable = false },
},
},
},
};
APIDocumentation:AddDocumentationTable(MapOverlay);
\ No newline at end of file
......@@ -6,6 +6,15 @@ local QuestLog =
Functions =
{
{
Name = "GetMapForQuestPOIs",
Type = "Function",
Returns =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
},
{
Name = "GetMaxNumQuests",
Type = "Function",
......@@ -29,6 +38,30 @@ local QuestLog =
{ Name = "quests", Type = "table", InnerType = "QuestOnMapInfo", Nilable = false },
},
},
{
Name = "GetZoneStoryInfo",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "achievementID", Type = "number", Nilable = false },
{ Name = "storyMapID", Type = "number", Nilable = false },
},
},
{
Name = "SetMapForQuestPOIs",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
},
},
Events =
......
......@@ -42,8 +42,8 @@ local QuestTaskInfo =
Arguments =
{
{ Name = "mapID", Type = "number", Nilable = false },
{ Name = "parentUiMapID", Type = "number", Nilable = true },
{ Name = "questID", Type = "number", Nilable = false },
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
......@@ -101,7 +101,6 @@ local QuestTaskInfo =
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
{ Name = "parentUiMapID", Type = "number", Nilable = true },
},
Returns =
......
......@@ -71,6 +71,22 @@ local Unit =
{ Name = "classID", Type = "number", Nilable = false },
},
},
{
Name = "UnitClassByPlayerLocation",
Type = "Function",
Arguments =
{
{ Name = "playerLocation", Type = "table", Mixin = "PlayerLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "className", Type = "string", Nilable = false },
{ Name = "classFilename", Type = "string", Nilable = false },
{ Name = "classID", Type = "number", Nilable = false },
},
},
{
Name = "UnitIsConnected",
Type = "Function",
......
......@@ -116,45 +116,59 @@ local VoiceChat =
},
},
{
Name = "GetCharacterInfo",
Name = "GetCommunicationMode",
Type = "Function",
Arguments =
Returns =
{
{ Name = "memberID", Type = "number", Nilable = false },
{ Name = "channelID", Type = "number", Nilable = false },
{ Name = "communicationMode", Type = "CommunicationMode", Nilable = true },
},
},
{
Name = "GetCurrentVoiceChatConnectionStatusCode",
Type = "Function",
Returns =
{
{ Name = "characterInfo", Type = "VoiceChatCharacterInfo", Nilable = true },
{ Name = "statusCode", Type = "VoiceChatStatusCode", Nilable = false },
},
},
{
Name = "GetCommunicationMode",
Name = "GetInputVolume",
Type = "Function",
Returns =
{
{ Name = "communicationMode", Type = "CommunicationMode", Nilable = true },
{ Name = "volume", Type = "number", Nilable = true },
},
},
{
Name = "GetCurrentVoiceChatConnectionStatusCode",
Name = "GetLocalPlayerMemberID",
Type = "Function",
Arguments =
{