Commit a33e3bc9 authored by TOM_RUS's avatar TOM_RUS
Browse files

WOW-27826patch8.0.1_PTR

parent 806267ac
......@@ -69,7 +69,8 @@ local AlliedRacesFrame =
{ Name = "maleModelID", Type = "number", Nilable = false },
{ Name = "femaleModelID", Type = "number", Nilable = false },
{ Name = "achievementID", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "maleName", Type = "string", Nilable = false },
{ Name = "femaleName", Type = "string", Nilable = false },
{ Name = "description", Type = "string", Nilable = false },
{ Name = "crestAtlas", Type = "string", Nilable = false },
{ Name = "modelBackgroundAtlas", Type = "string", Nilable = false },
......
......@@ -219,6 +219,15 @@ local ArtifactUI =
{ Name = "tier", Type = "number", Nilable = false },
},
},
{
Name = "GetArtifactItemID",
Type = "Function",
Returns =
{
{ Name = "itemID", Type = "number", Nilable = false },
},
},
{
Name = "GetArtifactTier",
Type = "Function",
......@@ -288,6 +297,15 @@ local ArtifactUI =
{ Name = "tier", Type = "number", Nilable = false },
},
},
{
Name = "GetEquippedArtifactItemID",
Type = "Function",
Returns =
{
{ Name = "itemID", Type = "number", Nilable = false },
},
},
{
Name = "GetEquippedArtifactNumRelicSlots",
Type = "Function",
......
......@@ -100,6 +100,21 @@ local AzeriteEmpoweredItem =
{ Name = "specInfo", Type = "table", InnerType = "AzeriteSpecInfo", Nilable = false },
},
},
{
Name = "GetUpgradedAzeritePowerInfo",
Type = "Function",
Arguments =
{
{ Name = "azeriteEmpoweredItemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
{ Name = "powerID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "upgradePowerInfo", Type = "UpgradedAzeritePowerInfo", Nilable = false },
},
},
{
Name = "HasAnyUnselectedPowers",
Type = "Function",
......@@ -279,6 +294,15 @@ local AzeriteEmpoweredItem =
{ Name = "specID", Type = "number", Nilable = false },
},
},
{
Name = "UpgradedAzeritePowerInfo",
Type = "Structure",
Fields =
{
{ Name = "name", Type = "string", Nilable = false },
{ Name = "description", Type = "string", Nilable = false },
},
},
},
};
......
......@@ -116,6 +116,7 @@ SpellActivationOverlayDocumentation.lua
SpellBookDocumentation.lua
StableInfoDocumentation.lua
StorePublicUIDocumentation.lua
SummonInfoDocumentation.lua
SystemDocumentation.lua
TalkingHeadDocumentation.lua
TaxiMapDocumentation.lua
......
......@@ -202,6 +202,10 @@ local Calendar =
Name = "EventClearAutoApprove",
Type = "Function",
},
{
Name = "EventClearClubId",
Type = "Function",
},
{
Name = "EventClearLocked",
Type = "Function",
......@@ -229,7 +233,7 @@ local Calendar =
},
},
{
Name = "EventGetClubID",
Name = "EventGetClubId",
Type = "Function",
Returns =
......@@ -380,12 +384,12 @@ local Calendar =
Type = "Function",
},
{
Name = "EventSetClubID",
Name = "EventSetClubId",
Type = "Function",
Arguments =
{
{ Name = "clubID", Type = "string", Nilable = false },
{ Name = "clubId", Type = "string", Nilable = false },
},
},
{
......@@ -629,6 +633,15 @@ local Calendar =
{ Name = "monthInfo", Type = "CalendarMonthInfo", Nilable = false },
},
},
{
Name = "GetNextClubId",
Type = "Function",
Returns =
{
{ Name = "clubId", Type = "string", Nilable = true },
},
},
{
Name = "GetNumDayEvents",
Type = "Function",
......@@ -687,6 +700,21 @@ local Calendar =
{ Name = "info", Type = "CalendarRaidInfo", Nilable = false },
},
},
{
Name = "GetUpcomingClubEvents",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "offsetDays", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "events", Type = "table", InnerType = "CalendarDayEvent", Nilable = false },
},
},
{
Name = "IsActionPending",
Type = "Function",
......@@ -702,7 +730,7 @@ local Calendar =
Arguments =
{
{ Name = "clubID", Type = "string", Nilable = false },
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "minLevel", Type = "number", Nilable = false },
{ Name = "maxLevel", Type = "number", Nilable = false },
{ Name = "maxRankOrder", Type = "number", Nilable = true },
......@@ -757,6 +785,15 @@ local Calendar =
{ Name = "offsetMonths", Type = "number", Nilable = false },
},
},
{
Name = "SetNextClubId",
Type = "Function",
Arguments =
{
{ Name = "clubId", Type = "string", Nilable = true },
},
},
{
Name = "UpdateEvent",
Type = "Function",
......
......@@ -84,6 +84,20 @@ local ChatInfo =
{ Name = "isPartyChannelType", Type = "bool", Nilable = false },
},
},
{
Name = "IsValidChatLine",
Type = "Function",
Arguments =
{
{ Name = "chatLine", Type = "number", Nilable = true },
},
Returns =
{
{ Name = "isValid", Type = "bool", Nilable = false },
},
},
{
Name = "RegisterAddonMessagePrefix",
Type = "Function",
......@@ -110,6 +124,10 @@ local ChatInfo =
{ Name = "comment", Type = "string", Nilable = true },
},
},
{
Name = "ResetDefaultZoneChannels",
Type = "Function",
},
{
Name = "SendAddonMessage",
Type = "Function",
......@@ -146,6 +164,16 @@ local ChatInfo =
{ Name = "success", Type = "bool", Nilable = false },
},
},
{
Name = "SwapChatChannelsByChannelIndex",
Type = "Function",
Arguments =
{
{ Name = "firstChannelIndex", Type = "number", Nilable = false },
{ Name = "secondChannelIndex", Type = "number", Nilable = false },
},
},
},
Events =
......
......@@ -220,6 +220,10 @@ local Club =
{ Name = "leadersAndModeratorsOnly", Type = "bool", Nilable = true },
},
},
{
Name = "Flush",
Type = "Function",
},
{
Name = "FocusStream",
Type = "Function",
......@@ -279,6 +283,20 @@ local Club =
{ Name = "info", Type = "ClubInfo", Nilable = true },
},
},
{
Name = "GetClubLimits",
Type = "Function",
Arguments =
{
{ Name = "clubType", Type = "ClubType", Nilable = false },
},
Returns =
{
{ Name = "clubLimits", Type = "ClubLimits", Nilable = false },
},
},
{
Name = "GetClubMembers",
Type = "Function",
......@@ -368,6 +386,7 @@ local Club =
{ Name = "filter", Type = "string", Nilable = true },
{ Name = "maxResults", Type = "number", Nilable = true },
{ Name = "cursorPosition", Type = "number", Nilable = true },
{ Name = "allowFullMatch", Type = "bool", Nilable = true },
{ Name = "clubId", Type = "string", Nilable = false },
},
......@@ -1518,6 +1537,14 @@ local Club =
{ Name = "invitee", Type = "ClubMemberInfo", Nilable = false },
},
},
{
Name = "ClubLimits",
Type = "Structure",
Fields =
{
{ Name = "maximumNumberOfStreams", Type = "number", Nilable = false },
},
},
{
Name = "ClubMessageIdentifier",
Type = "Structure",
......
......@@ -52,6 +52,11 @@ local GuildInfo =
{ Name = "guid", Type = "string", Nilable = false },
{ Name = "rankOrder", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isGuildRankAssignmentAllowed", Type = "bool", Nilable = false },
},
},
{
Name = "QueryGuildMemberRecipes",
......
......@@ -45,6 +45,66 @@ local LFGListInfo =
Name = "CopyActiveEntryInfoToCreationFields",
Type = "Function",
},
{
Name = "GetActiveEntryInfo",
Type = "Function",
Returns =
{
{ Name = "entryData", Type = "LfgEntryData", Nilable = false },
},
},
{
Name = "GetApplicantInfo",
Type = "Function",
Arguments =
{
{ Name = "applicantID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "applicantData", Type = "LfgApplicantData", Nilable = false },
},
},
{
Name = "GetSearchResultInfo",
Type = "Function",
Arguments =
{
{ Name = "searchResultID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "searchResultData", Type = "LfgSearchResultData", Nilable = false },
},
},
{
Name = "HasActiveEntryInfo",
Type = "Function",
Returns =
{
{ Name = "hasActiveEntryInfo", Type = "bool", Nilable = false },
},
},
{
Name = "HasSearchResultInfo",
Type = "Function",
Arguments =
{
{ Name = "searchResultID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "hasSearchResultInfo", Type = "bool", Nilable = false },
},
},
{
Name = "Search",
Type = "Function",
......@@ -116,6 +176,7 @@ local LFGListInfo =
{ Name = "searchResultID", Type = "number", Nilable = false },
{ Name = "newStatus", Type = "string", Nilable = false },
{ Name = "oldStatus", Type = "string", Nilable = false },
{ Name = "groupName", Type = "string", Nilable = false },
},
},
{
......@@ -145,6 +206,7 @@ local LFGListInfo =
Payload =
{
{ Name = "searchResultID", Type = "number", Nilable = false },
{ Name = "groupName", Type = "string", Nilable = false },
},
},
{
......@@ -174,6 +236,60 @@ local LFGListInfo =
Tables =
{
{
Name = "LfgEntryData",
Type = "Structure",
Fields =
{
{ Name = "activityID", Type = "number", Nilable = false },
{ Name = "requiredItemLevel", Type = "number", Nilable = false },
{ Name = "requiredHonorLevel", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "comment", Type = "string", Nilable = false },
{ Name = "voiceChat", Type = "string", Nilable = false },
{ Name = "duration", Type = "number", Nilable = false },
{ Name = "autoAccept", Type = "bool", Nilable = false },
{ Name = "privateGroup", Type = "bool", Nilable = false },
{ Name = "questID", Type = "number", Nilable = true },
},
},
{
Name = "LfgApplicantData",
Type = "Structure",
Fields =
{
{ Name = "applicantID", Type = "number", Nilable = false },
{ Name = "applicationStatus", Type = "string", Nilable = false },
{ Name = "pendingApplicationStatus", Type = "string", Nilable = true },
{ Name = "numMembers", Type = "number", Nilable = false },
{ Name = "isNew", Type = "bool", Nilable = false },
{ Name = "comment", Type = "string", Nilable = false },
{ Name = "displayOrderID", Type = "number", Nilable = false },
},
},
{
Name = "LfgSearchResultData",
Type = "Structure",
Fields =
{
{ Name = "searchResultID", Type = "number", Nilable = false },
{ Name = "activityID", Type = "number", Nilable = false },
{ Name = "leaderName", Type = "string", Nilable = true },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "comment", Type = "string", Nilable = false },
{ Name = "voiceChat", Type = "string", Nilable = false },
{ Name = "requiredItemLevel", Type = "number", Nilable = false },
{ Name = "requiredHonorLevel", Type = "number", Nilable = false },
{ Name = "numMembers", Type = "number", Nilable = false },
{ Name = "numBNetFriends", Type = "number", Nilable = false },
{ Name = "numCharFriends", Type = "number", Nilable = false },
{ Name = "numGuildMates", Type = "number", Nilable = false },
{ Name = "isDelisted", Type = "bool", Nilable = false },
{ Name = "autoAccept", Type = "bool", Nilable = false },
{ Name = "age", Type = "number", Nilable = false },
{ Name = "questID", Type = "number", Nilable = true },
},
},
{
Name = "WowLocale",
Type = "Structure",
......
......@@ -117,6 +117,7 @@ local MythicPlusInfo =
{ Name = "currentWeekBestLevel", Type = "number", Nilable = false },
{ Name = "weeklyRewardLevel", Type = "number", Nilable = false },
{ Name = "nextDifficultyWeeklyRewardLevel", Type = "number", Nilable = false },
{ Name = "nextBestLevel", Type = "number", Nilable = false },
},
},
{
......
......@@ -6,6 +6,20 @@ local PlayerLocation =
Functions =
{
{
Name = "GUIDIsPlayer",
Type = "Function",
Arguments =
{
{ Name = "guid", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "isPlayer", Type = "bool", Nilable = false },
},
},
{
Name = "GetClass",
Type = "Function",
......
......@@ -15,6 +15,15 @@ local PvpInfo =
{ Name = "canTogglePvP", Type = "bool", Nilable = false },
},
},
{
Name = "CanToggleWarModeInArea",
Type = "Function",
Returns =
{
{ Name = "canTogglePvPInArea", Type = "bool", Nilable = false },
},
},
{
Name = "GetArenaCrowdControlInfo",
Type = "Function",
......
......@@ -164,6 +164,7 @@ local QuestTaskInfo =
{ Name = "inProgress", Type = "bool", Nilable = false },
{ Name = "numObjectives", Type = "number", Nilable = false },
{ Name = "mapID", Type = "number", Nilable = false },
{ Name = "childDepth", Type = "number", Nilable = true },
},
},
},
......
local SummonInfo =
{
Name = "SummonInfo",
Type = "System",
Namespace = "C_SummonInfo",
Functions =
{
{
Name = "CancelSummon",
Type = "Function",
},
{
Name = "ConfirmSummon",
Type = "Function",
},
{
Name = "GetSummonConfirmAreaName",
Type = "Function",
Returns =
{
{ Name = "areaName", Type = "string", Nilable = false },
},
},
{
Name = "GetSummonConfirmSummoner",
Type = "Function",
Returns =
{
{ Name = "summoner", Type = "string", Nilable = true },
},
},
{
Name = "GetSummonConfirmTimeLeft",
Type = "Function",
Returns =
{
{ Name = "timeLeft", Type = "number", Nilable = false },
},
},
{
Name = "GetSummonReason",
Type = "Function",
Returns =
{
{ Name = "summonReason", Type = "number", Nilable = false },
},
},
{
Name = "IsSummonSkippingStartExperience",
Type = "Function",
Returns =
{
{ Name = "isSummonSkippingStartExperience", Type = "bool", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
},
};
APIDocumentation:AddDocumentationTable(SummonInfo);
\ No newline at end of file
......@@ -9,7 +9,12 @@ local TaxiMap =
{
Name = "GetAllTaxiNodes",
Type = "Function",