Commit 7e8d90c4 authored by TOM_RUS's avatar TOM_RUS
Browse files

WOW-26367patch8.0.1_Beta

parent b5615b75
......@@ -6,6 +6,15 @@ local AchievementInfo =
Functions =
{
{
Name = "SetPortraitTexture",
Type = "Function",
Arguments =
{
{ Name = "textureObject", Type = "table", Nilable = false },
},
},
},
Events =
......
......@@ -42,6 +42,7 @@ ConfigurationWarningsDocumentation.lua
ConsoleDocumentation.lua
ContainerDocumentation.lua
ContributionCollectorDocumentation.lua
CreatureInfoDocumentation.lua
CurrencyInfoDocumentation.lua
CursorDocumentation.lua
DeathInfoDocumentation.lua
......@@ -50,6 +51,7 @@ EncounterInfoDocumentation.lua
EncounterJournalDocumentation.lua
EquipmentManagerDocumentation.lua
ExpansionDocumentation.lua
FogOfWarDocumentation.lua
GMTicketInfoDocumentation.lua
GarrisonInfoDocumentation.lua
GlyphInfoDocumentation.lua
......@@ -100,6 +102,7 @@ SocialInfoDocumentation.lua
SocialQueueDocumentation.lua
SoundDocumentation.lua
SpecializationInfoDocumentation.lua
SpellDocumentation.lua
SpellActivationOverlayDocumentation.lua
SpellBookDocumentation.lua
StableInfoDocumentation.lua
......
......@@ -88,8 +88,8 @@ local Club =
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "allowedRedeemCount", Type = "number", Nilable = false, Documentation = { "Number of uses. 0 means unlimited" } },
{ Name = "duration", Type = "number", Nilable = false, Documentation = { "Duration in seconds. 0 never expires" } },
{ Name = "allowedRedeemCount", Type = "number", Nilable = true, Documentation = { "Number of uses. nil means unlimited" } },
{ Name = "duration", Type = "number", Nilable = true, Documentation = { "Duration in seconds. nil never expires" } },
},
},
{
......@@ -496,7 +496,7 @@ local Club =
{
Name = "KickMember",
Type = "Function",
Documentation = { "Check canKickMember privilege." },
Documentation = { "Check kickableRoleIds privilege." },
Arguments =
{
......@@ -963,6 +963,7 @@ local Club =
{ Name = "classID", Type = "number", Nilable = true },
{ Name = "race", Type = "number", Nilable = true },
{ Name = "level", Type = "number", Nilable = true },
{ Name = "zone", Type = "string", Nilable = true },
},
},
{
......@@ -1037,7 +1038,6 @@ local Club =
{ Name = "canSetAvatar", Type = "bool", Nilable = false },
{ Name = "canSetBroadcast", Type = "bool", Nilable = false },
{ Name = "canSetPrivacyLevel", Type = "bool", Nilable = false },
{ Name = "canKickMember", Type = "bool", Nilable = false },
{ Name = "canSetOwnMemberAttribute", Type = "bool", Nilable = false },
{ Name = "canSetOtherMemberAttribute", Type = "bool", Nilable = false },
{ Name = "canSetOwnVoiceState", Type = "bool", Nilable = false },
......
local CreatureInfo =
{
Name = "CreatureInfo",
Type = "System",
Namespace = "C_CreatureInfo",
Functions =
{
{
Name = "GetClassInfo",
Type = "Function",
Arguments =
{
{ Name = "classID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "classInfo", Type = "ClassInfo", Nilable = true },
},
},
{
Name = "GetRaceInfo",
Type = "Function",
Arguments =
{
{ Name = "raceID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "raceInfo", Type = "RaceInfo", Nilable = true },
},
},
},
Events =
{
},
Tables =
{
{
Name = "ClassInfo",
Type = "Structure",
Fields =
{
{ Name = "className", Type = "string", Nilable = false },
{ Name = "classFile", Type = "string", Nilable = false },
{ Name = "classID", Type = "number", Nilable = false },
},
},
{
Name = "RaceInfo",
Type = "Structure",
Fields =
{
{ Name = "raceName", Type = "string", Nilable = false },
{ Name = "clientFileString", Type = "string", Nilable = false },
{ Name = "raceID", Type = "number", Nilable = false },
},
},
},
};
APIDocumentation:AddDocumentationTable(CreatureInfo);
\ No newline at end of file
......@@ -90,8 +90,9 @@ local EncounterJournal =
Type = "Structure",
Fields =
{
{ Name = "spellID", Type = "number", Nilable = false },
{ Name = "title", Type = "string", Nilable = false },
{ Name = "description", Type = "string", Nilable = false },
{ Name = "description", Type = "string", Nilable = true },
{ Name = "headerType", Type = "number", Nilable = false },
{ Name = "abilityIcon", Type = "number", Nilable = false },
{ Name = "creatureDisplayID", Type = "number", Nilable = false },
......
local FogOfWar =
{
Name = "FogOfWar",
Type = "System",
Namespace = "C_FogOfWar",
Functions =
{
{
Name = "GetFogOfWarForMap",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "fogOfWarID", Type = "number", Nilable = true },
},
},
{
Name = "GetFogOfWarInfo",
Type = "Function",
Arguments =
{
{ Name = "fogOfWarID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "fogOfWarInfo", Type = "FogOfWarInfo", Nilable = true },
},
},
},
Events =
{
{
Name = "FogOfWarUpdated",
Type = "Event",
LiteralName = "FOG_OF_WAR_UPDATED",
},
},
Tables =
{
{
Name = "FogOfWarInfo",
Type = "Structure",
Fields =
{
{ Name = "fogOfWarID", Type = "number", Nilable = false },
{ Name = "backgroundAtlas", Type = "string", Nilable = false },
{ Name = "maskAtlas", Type = "string", Nilable = false },
{ Name = "maskScalar", Type = "number", Nilable = false },
},
},
},
};
APIDocumentation:AddDocumentationTable(FogOfWar);
\ No newline at end of file
local Map =
{
Name = "MapUI",
Type = "System",
Namespace = "C_Map",
Functions =
{
{
Name = "GetCurrentMapID",
Type = "Function",
Returns =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
},
{
Name = "GetMapArtBackgroundTexture",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "texture", Type = "number", Nilable = false },
},
},
{
Name = "GetMapArtHelpTextPosition",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "position", Type = "MapCanvasPosition", Nilable = false },
},
},
{
Name = "GetMapArtLayerTextures",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
{ Name = "layerIndex", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "textures", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "GetMapArtLayers",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "layerInfo", Type = "table", InnerType = "UiMapLayerInfo", Nilable = false },
},
},
{
Name = "GetMapChildrenInfo",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
{ Name = "mapType", Type = "UIMapType", Nilable = true },
{ Name = "allDescendants", Type = "bool", Nilable = true },
},
Returns =
{
{ Name = "info", Type = "table", InnerType = "UiMapDetails", Nilable = false },
},
},
{
Name = "GetMapDisplayInfo",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "hideIcons", Type = "bool", Nilable = false },
},
},
{
Name = "GetMapGroupID",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "uiMapGroupID", Type = "number", Nilable = false },
},
},
{
Name = "GetMapGroupMembersInfo",
Type = "Function",
Arguments =
{
{ Name = "uiMapGroupID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "info", Type = "table", InnerType = "UiMapGroupMemberInfo", Nilable = false },
},
},
{
Name = "GetMapHighlightInfoAtPosition",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
{ Name = "x", Type = "number", Nilable = false },
{ Name = "y", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "fileDataID", Type = "number", Nilable = false },
{ Name = "texturePercentageX", Type = "number", Nilable = false },
{ Name = "texturePercentageY", Type = "number", Nilable = false },
{ Name = "textureX", Type = "number", Nilable = false },
{ Name = "textureY", Type = "number", Nilable = false },
{ Name = "scrollChildX", Type = "number", Nilable = false },
{ Name = "scrollChildY", Type = "number", Nilable = false },
},
},
{
Name = "GetMapInfo",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "info", Type = "UiMapDetails", Nilable = false },
},
},
{
Name = "GetMapInfoAtPosition",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
{ Name = "x", Type = "number", Nilable = false },
{ Name = "y", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "info", Type = "UiMapDetails", Nilable = false },
},
},
{
Name = "GetMapLevels",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "playerMinLevel", Type = "number", Nilable = false },
{ Name = "playerMaxLevel", Type = "number", Nilable = false },
{ Name = "petMinLevel", Type = "number", Nilable = false, Default = 0 },
{ Name = "petMaxLevel", Type = "number", Nilable = false, Default = 0 },
},
},
{
Name = "GetMapOverlayNameAtPosition",
Type = "Function",
Arguments =
{
{ Name = "x", Type = "number", Nilable = false },
{ Name = "y", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "name", Type = "string", Nilable = false },
},
},
{
Name = "GetMapRectOnMap",
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 },
},
},
{
Name = "SetMap",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
{
Name = "MapCanvasPosition",
Type = "Enumeration",
NumValues = 5,
MinValue = 0,
MaxValue = 4,
Fields =
{
{ Name = "None", Type = "MapCanvasPosition", EnumValue = 0 },
{ Name = "BottomLeft", Type = "MapCanvasPosition", EnumValue = 1 },
{ Name = "BottomRight", Type = "MapCanvasPosition", EnumValue = 2 },
{ Name = "TopLeft", Type = "MapCanvasPosition", EnumValue = 3 },
{ Name = "TopRight", Type = "MapCanvasPosition", EnumValue = 4 },
},
},
{
Name = "UIMapType",
Type = "Enumeration",
NumValues = 7,
MinValue = 0,
MaxValue = 6,
Fields =
{
{ Name = "Cosmic", Type = "UIMapType", EnumValue = 0 },
{ Name = "World", Type = "UIMapType", EnumValue = 1 },
{ Name = "Continent", Type = "UIMapType", EnumValue = 2 },
{ Name = "Zone", Type = "UIMapType", EnumValue = 3 },
{ Name = "Dungeon", Type = "UIMapType", EnumValue = 4 },
{ Name = "Micro", Type = "UIMapType", EnumValue = 5 },
{ Name = "Orphan", Type = "UIMapType", EnumValue = 6 },
},
},
{
Name = "UIMapSystem",
Type = "Enumeration",
NumValues = 3,
MinValue = 0,
MaxValue = 2,
Fields =
{
{ Name = "World", Type = "UIMapSystem", EnumValue = 0 },
{ Name = "Taxi", Type = "UIMapSystem", EnumValue = 1 },
{ Name = "Adventure", Type = "UIMapSystem", EnumValue = 2 },
},
},
{
Name = "UiMapLayerInfo",
Type = "Structure",
Fields =
{
{ Name = "layerWidth", Type = "number", Nilable = false },
{ Name = "layerHeight", Type = "number", Nilable = false },
{ Name = "tileWidth", Type = "number", Nilable = false },
{ Name = "tileHeight", Type = "number", Nilable = false },
{ Name = "minScale", Type = "number", Nilable = false },
{ Name = "maxScale", Type = "number", Nilable = false },
{ Name = "additionalZoomSteps", Type = "number", Nilable = false },
},
},
{
Name = "UiMapDetails",
Type = "Structure",
Fields =
{
{ Name = "mapID", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "mapType", Type = "UIMapType", Nilable = false },
{ Name = "parentMapID", Type = "number", Nilable = false },
},
},
{
Name = "UiMapGroupMemberInfo",
Type = "Structure",
Fields =
{
{ Name = "mapID", Type = "number", Nilable = false },
{ Name = "relativeHeightIndex", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
},
},
},
};
APIDocumentation:AddDocumentationTable(Map);
\ No newline at end of file
local PartyPoseUI =
{
Name = "PartyPose",
Type = "System",
Namespace = "C_PartyPose",
Functions =
{
{
Name = "GetPartyPoseInfoByMapID",
Type = "Function",
Arguments =
{
{ Name = "mapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "info", Type = "PartyPoseInfo", Nilable = false },
},
},
},