Commit 345f0072 authored by TOM_RUS's avatar TOM_RUS
Browse files

WOW-26522patch8.0.1_Beta

parent 2ba74727
local ArtifactRelicForgeUI =
{
Name = "ArtifactUI",
Type = "System",
Namespace = "C_ArtifactRelicForgeUI",
Functions =
{
{
Name = "AddRelicTalent",
Type = "Function",
Arguments =
{
{ Name = "slotIndex", Type = "number", Nilable = false },
{ Name = "talentIndex", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "success", Type = "bool", Nilable = false },
},
},
{
Name = "AttunePreviewRelic",
Type = "Function",
},
{
Name = "AttuneSocketedRelic",
Type = "Function",
Arguments =
{
{ Name = "relicSlotIndex", Type = "number", Nilable = false },
},
},
{
Name = "CanSetPreviewRelicFromCursor",
Type = "Function",
Returns =
{
{ Name = "canSet", Type = "bool", Nilable = false, Default = false },
{ Name = "bindWarning", Type = "bool", Nilable = false, Default = false },
},
},
{
Name = "Clear",
Type = "Function",
},
{
Name = "ClearPreviewRelic",
Type = "Function",
},
{
Name = "GetPreviewRelicAttuneInfo",
Type = "Function",
Returns =
{
{ Name = "isAttuned", Type = "bool", Nilable = false },
{ Name = "canAttune", Type = "bool", Nilable = false },
},
},
{
Name = "GetPreviewRelicItemID",
Type = "Function",
Returns =
{
{ Name = "itemID", Type = "number", Nilable = true },
},
},
{
Name = "GetPreviewRelicItemLink",
Type = "Function",
Returns =
{
{ Name = "link", Type = "string", Nilable = false },
},
},
{
Name = "GetPreviewRelicTalents",
Type = "Function",
Returns =
{
{ Name = "talents", Type = "table", InnerType = "ArtifactRelicTalentInfo", Nilable = false },
},
},
{
Name = "GetSocketedRelicTalents",
Type = "Function",
Arguments =
{
{ Name = "relicSlotIndex", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "talents", Type = "table", InnerType = "ArtifactRelicTalentInfo", Nilable = false },
},
},
{
Name = "IsAtForge",
Type = "Function",
Returns =
{
{ Name = "isAtForge", Type = "bool", Nilable = false },
},
},
{
Name = "PickUpPreviewRelic",
Type = "Function",
},
{
Name = "SetPreviewRelicFromCursor",
Type = "Function",
Returns =
{
{ Name = "success", Type = "bool", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
{
Name = "ArtifactRelicTalentInfo",
Type = "Structure",
Fields =
{
{ Name = "powerID", Type = "number", Nilable = false, Default = 0 },
{ Name = "icon", Type = "number", Nilable = false, Default = 0 },
{ Name = "canChoose", Type = "bool", Nilable = false, Default = false },
{ Name = "isChosen", Type = "bool", Nilable = false, Default = false },
{ Name = "tier", Type = "number", Nilable = false, Default = 0 },
{ Name = "requiredArtifactLevel", Type = "number", Nilable = false, Default = 0 },
},
},
},
};
APIDocumentation:AddDocumentationTable(ArtifactRelicForgeUI);
\ No newline at end of file
......@@ -217,24 +217,6 @@ local ArtifactUI =
{ Name = "tier", Type = "number", Nilable = false },
},
},
{
Name = "GetArtifactKnowledgeLevel",
Type = "Function",
Returns =
{
{ Name = "knowledgeLevel", Type = "number", Nilable = false },
},
},
{
Name = "GetArtifactKnowledgeMultiplier",
Type = "Function",
Returns =
{
{ Name = "knowledgeMultiplier", Type = "number", Nilable = false },
},
},
{
Name = "GetArtifactTier",
Type = "Function",
......@@ -318,21 +300,6 @@ local ArtifactUI =
{ Name = "numRelicSlots", Type = "number", Nilable = false },
},
},
{
Name = "GetEquippedArtifactRelicAttuneInfo",
Type = "Function",
Arguments =
{
{ Name = "relicSlotIndex", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isAttuned", Type = "bool", Nilable = false },
{ Name = "canAttune", Type = "bool", Nilable = false },
},
},
{
Name = "GetEquippedArtifactRelicInfo",
Type = "Function",
......@@ -389,15 +356,6 @@ local ArtifactUI =
{ Name = "itemIevelIncrease", Type = "number", Nilable = false },
},
},
{
Name = "GetMaxArtifactKnowledgeLevel",
Type = "Function",
Returns =
{
{ Name = "maxArtifactKnowledge", Type = "number", Nilable = false },
},
},
{
Name = "GetMetaPowerInfo",
Type = "Function",
......@@ -538,21 +496,6 @@ local ArtifactUI =
{ Name = "artifactAppearanceID", Type = "number", Nilable = true },
},
},
{
Name = "GetRelicAttuneInfo",
Type = "Function",
Arguments =
{
{ Name = "relicSlotIndex", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isAttuned", Type = "bool", Nilable = false },
{ Name = "canAttune", Type = "bool", Nilable = false },
},
},
{
Name = "GetRelicInfo",
Type = "Function",
......@@ -601,22 +544,6 @@ local ArtifactUI =
{ Name = "lockedReason", Type = "string", Nilable = true },
},
},
{
Name = "GetRelicSlotRankInfo",
Type = "Function",
Arguments =
{
{ Name = "relicSlotIndex", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "currentRank", Type = "number", Nilable = false },
{ Name = "canAddTalent", Type = "bool", Nilable = false },
{ Name = "artifactLevelRequiredForNextRank", Type = "number", Nilable = true },
},
},
{
Name = "GetRelicSlotType",
Type = "Function",
......
......@@ -92,6 +92,21 @@ local AzeriteEmpoweredItem =
{ Name = "isAzeriteEmpoweredItem", Type = "bool", Nilable = false },
},
},
{
Name = "IsPowerAvailableForSpec",
Type = "Function",
Arguments =
{
{ Name = "powerID", Type = "number", Nilable = false },
{ Name = "specID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isPowerAvailableForSpec", Type = "bool", Nilable = false },
},
},
{
Name = "SelectPower",
Type = "Function",
......
......@@ -20,7 +20,6 @@ AdventureJournalDocumentation.lua
AdventureMapDocumentation.lua
AlliedRacesFrameDocumentation.lua
AreaPoiInfoDocumentation.lua
ArtifactRelicForgeUIDocumentation.lua
ArtifactUIDocumentation.lua
AuctionHouseDocumentation.lua
AzeriteEmpoweredItemDocumentation.lua
......@@ -62,6 +61,7 @@ GuildInfoDocumentation.lua
HeirloomInfoDocumentation.lua
InstanceEncounterDocumentation.lua
InvasionInfoDocumentation.lua
IslandsInfoDocumentation.lua
ItemDocumentation.lua
ItemSocketInfoDocumentation.lua
ItemTextDocumentation.lua
......
......@@ -271,6 +271,20 @@ local Club =
{ Name = "privilegeInfo", Type = "ClubPrivilegeInfo", Nilable = false },
},
},
{
Name = "GetClubStreamNotificationSettings",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "settings", Type = "table", InnerType = "ClubStreamNotificationSetting", Nilable = false },
},
},
{
Name = "GetInvitationCandidates",
Type = "Function",
......@@ -437,7 +451,7 @@ local Club =
Returns =
{
{ Name = "lastReadTime", Type = "number", Nilable = true, Documentation = { "nil is returned if stream view is at current" } },
{ Name = "lastReadTime", Type = "number", Nilable = true, Documentation = { "nil if stream view is at current" } },
},
},
{
......@@ -662,6 +676,16 @@ local Club =
{ Name = "clubId", Type = "string", Nilable = false },
},
},
{
Name = "SetClubStreamNotificationSettings",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "settings", Type = "table", InnerType = "ClubStreamNotificationSetting", Nilable = false },
},
},
{
Name = "SetCommunityID",
Type = "Function",
......@@ -924,6 +948,17 @@ local Club =
{ Name = "clubId", Type = "string", Nilable = false },
},
},
{
Name = "StreamViewMarkerUpdated",
Type = "Event",
LiteralName = "STREAM_VIEW_MARKER_UPDATED",
Payload =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "streamId", Type = "string", Nilable = false },
{ Name = "lastReadTime", Type = "number", Nilable = true, Documentation = { "nil if stream view is at current" } },
},
},
},
Tables =
......@@ -983,6 +1018,19 @@ local Club =
{ Name = "AlreadyMember", Type = "ClubInvitationCandidateStatus", EnumValue = 2 },
},
},
{
Name = "ClubStreamNotificationFilter",
Type = "Enumeration",
NumValues = 3,
MinValue = 0,
MaxValue = 2,
Fields =
{
{ Name = "None", Type = "ClubStreamNotificationFilter", EnumValue = 0 },
{ Name = "Mention", Type = "ClubStreamNotificationFilter", EnumValue = 1 },
{ Name = "All", Type = "ClubStreamNotificationFilter", EnumValue = 2 },
},
},
{
Name = "ClubInfo",
Type = "Structure",
......@@ -1005,7 +1053,7 @@ local Club =
{
{ 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 = "name", Type = "string", Nilable = true, Documentation = { "name may be encoded as a Kstring" } },
{ Name = "role", Type = "ClubRoleIdentifier", Nilable = true },
{ Name = "presence", Type = "ClubMemberPresence", Nilable = false },
{ Name = "memberNote", Type = "string", Nilable = true },
......@@ -1137,6 +1185,15 @@ local Club =
{ Name = "creationTime", Type = "number", Nilable = false },
},
},
{
Name = "ClubStreamNotificationSetting",
Type = "Structure",
Fields =
{
{ Name = "streamId", Type = "string", Nilable = false },
{ Name = "filter", Type = "ClubStreamNotificationFilter", Nilable = false },
},
},
{
Name = "ClubTicketInfo",
Type = "Structure",
......
......@@ -24,6 +24,20 @@ local GarrisonInfo =
{ Name = "currentGarrTalentTreeID", Type = "number", Nilable = true },
},
},
{
Name = "GetGarrisonPlotsInstancesForMap",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "garrisonPlotInstances", Type = "table", InnerType = "GarrisonPlotInstanceMapInfo", Nilable = false },
},
},
{
Name = "GetTalentTreeIDsByClassID",
Type = "Function",
......@@ -530,6 +544,17 @@ local GarrisonInfo =
{ Name = "state", Type = "number", Nilable = false },
},
},
{
Name = "GarrisonPlotInstanceMapInfo",
Type = "Structure",
Fields =
{
{ Name = "buildingPlotInstanceID", Type = "number", Nilable = false },
{ Name = "position", Type = "table", Mixin = "Vector2DMixin", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "atlasName", Type = "string", Nilable = false },
},
},
},
};
......
local IslandsInfo =
{
Name = "IslandsInfo",
Type = "System",
Functions =
{
},
Events =
{
{
Name = "IslandAzeriteGain",
Type = "Event",
LiteralName = "ISLAND_AZERITE_GAIN",
Payload =
{
{ Name = "amount", Type = "number", Nilable = false },
{ Name = "gainedByPlayer", Type = "bool", Nilable = false },
{ Name = "factionIndex", Type = "number", Nilable = false },
{ Name = "gainedBy", Type = "string", Nilable = false },
{ Name = "gainedFrom", Type = "string", Nilable = false },
},
},
},
Tables =
{
},
};
APIDocumentation:AddDocumentationTable(IslandsInfo);
\ No newline at end of file
......@@ -246,6 +246,22 @@ local Map =
{ Name = "maxY", Type = "number", Nilable = false },
},
},
{
Name = "GetPlayerMapPosition",
Type = "Function",
Documentation = { "Only works for the player and party members." },
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
{ Name = "unitToken", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "position", Type = "table", Mixin = "Vector2DMixin", Nilable = true },
},
},
{
Name = "RequestPreloadMap",
Type = "Function",
......
local MapExploration =
{
Name = "MapExplorationInfo",
Type = "System",
Namespace = "C_MapExplorationInfo",
Functions =
{
{
Name = "GetExploredAreaIDsAtPosition",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
{ Name = "normalizedPosition", Type = "table", Mixin = "Vector2DMixin", Nilable = false },
},
Returns =
{
{ Name = "areaID", Type = "table", InnerType = "number", Nilable = true },
},
},
{
Name = "GetExploredMapTextures",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "overlayInfo", Type = "table", InnerType = "UiMapExplorationInfo", Nilable = false },
},
},
},
Events =
{
{
Name = "MapExplorationUpdated",
Type = "Event",
LiteralName = "MAP_EXPLORATION_UPDATED",
},
},
Tables =
{
{
Name = "UiMapExplorationHitRect",
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 = "UiMapExplorationInfo",
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 = "UiMapExplorationHitRect", Nilable = false },
},
},
},
};