Commit 353fb937 authored by TOM_RUS's avatar TOM_RUS
Browse files

WOW-26812patch8.0.1_Beta

parent cfecc7ad
......@@ -624,6 +624,15 @@ local ArtifactUI =
{ Name = "totalPurchasedRanks", Type = "number", Nilable = false },
},
},
{
Name = "IsArtifactDisabled",
Type = "Function",
Returns =
{
{ Name = "artifactDisabled", Type = "bool", Nilable = false },
},
},
{
Name = "IsAtForge",
Type = "Function",
......
......@@ -115,7 +115,7 @@ local AzeriteEmpoweredItem =
},
},
{
Name = "HasBeenOpened",
Name = "HasBeenViewed",
Type = "Function",
Arguments =
......@@ -125,7 +125,7 @@ local AzeriteEmpoweredItem =
Returns =
{
{ Name = "hasBeenOpened", Type = "bool", Nilable = false },
{ Name = "hasBeenViewed", Type = "bool", Nilable = false },
},
},
{
......@@ -163,6 +163,7 @@ local AzeriteEmpoweredItem =
Arguments =
{
{ Name = "itemInfo", Type = "string", Nilable = false },
{ Name = "classID", Type = "number", Nilable = true, Documentation = { "Specify a class ID to determine if its displayable for that class, otherwise uses the player's class if left nil" } },
},
Returns =
......@@ -170,15 +171,6 @@ local AzeriteEmpoweredItem =
{ Name = "isAzeritePreviewSourceDisplayable", Type = "bool", Nilable = false },
},
},
{
Name = "IsOpenedForFirstTime",
Type = "Function",
Arguments =
{
{ Name = "azeriteEmpoweredItemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
},
},
{
Name = "IsPowerAvailableForSpec",
Type = "Function",
......@@ -224,6 +216,15 @@ local AzeriteEmpoweredItem =
{ Name = "success", Type = "bool", Nilable = false },
},
},
{
Name = "SetHasBeenViewed",
Type = "Function",
Arguments =
{
{ Name = "azeriteEmpoweredItemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
},
},
},
Events =
......
......@@ -46,6 +46,7 @@ ContributionCollectorDocumentation.lua
CreatureInfoDocumentation.lua
CurrencyInfoDocumentation.lua
CursorDocumentation.lua
DateAndTimeDocumentation.lua
DeathInfoDocumentation.lua
DuelInfoDocumentation.lua
EncounterInfoDocumentation.lua
......
......@@ -169,6 +169,10 @@ local Calendar =
{ Name = "eventIndex", Type = "number", Nilable = false },
},
},
{
Name = "CreateCommunitySignUpEvent",
Type = "Function",
},
{
Name = "CreateGuildAnnouncementEvent",
Type = "Function",
......@@ -224,6 +228,15 @@ local Calendar =
{ Name = "calendarType", Type = "string", Nilable = true },
},
},
{
Name = "EventGetClubID",
Type = "Function",
Returns =
{
{ Name = "info", Type = "string", Nilable = true },
},
},
{
Name = "EventGetInvite",
Type = "Function",
......@@ -366,6 +379,15 @@ local Calendar =
Name = "EventSetAutoApprove",
Type = "Function",
},
{
Name = "EventSetClubID",
Type = "Function",
Arguments =
{
{ Name = "clubID", Type = "string", Nilable = false },
},
},
{
Name = "EventSetDate",
Type = "Function",
......@@ -674,6 +696,18 @@ local Calendar =
{ Name = "actionPending", Type = "bool", Nilable = false },
},
},
{
Name = "MassInviteCommunity",
Type = "Function",
Arguments =
{
{ Name = "clubID", Type = "string", Nilable = false },
{ Name = "minLevel", Type = "number", Nilable = false },
{ Name = "maxLevel", Type = "number", Nilable = false },
{ Name = "maxRankOrder", Type = "number", Nilable = true },
},
},
{
Name = "MassInviteGuild",
Type = "Function",
......@@ -920,6 +954,7 @@ local Calendar =
{ Name = "inviteStatus", Type = "number", Nilable = true },
{ Name = "inviteType", Type = "number", Nilable = true },
{ Name = "calendarType", Type = "string", Nilable = false },
{ Name = "communityName", Type = "string", Nilable = true },
},
},
{
......
......@@ -230,6 +230,11 @@ local ChallengeModeInfo =
Type = "Event",
LiteralName = "CHALLENGE_MODE_MAPS_UPDATE",
},
{
Name = "ChallengeModeMemberInfoUpdated",
Type = "Event",
LiteralName = "CHALLENGE_MODE_MEMBER_INFO_UPDATED",
},
{
Name = "ChallengeModeReset",
Type = "Event",
......
......@@ -38,6 +38,15 @@ local ChatInfo =
{ Name = "guid", Type = "string", Nilable = false },
},
},
{
Name = "GetNumActiveChannels",
Type = "Function",
Returns =
{
{ Name = "numChannels", Type = "number", Nilable = false },
},
},
{
Name = "GetRegisteredAddonMessagePrefixes",
Type = "Function",
......
......@@ -149,9 +149,9 @@ local Console =
{
Name = "ConsoleColorType",
Type = "Enumeration",
NumValues = 11,
NumValues = 12,
MinValue = 0,
MaxValue = 10,
MaxValue = 11,
Fields =
{
{ Name = "DefaultColor", Type = "ConsoleColorType", EnumValue = 0 },
......@@ -165,6 +165,7 @@ local Console =
{ Name = "BackgroundColor", Type = "ConsoleColorType", EnumValue = 8 },
{ Name = "ClickbufferColor", Type = "ConsoleColorType", EnumValue = 9 },
{ Name = "PrivateColor", Type = "ConsoleColorType", EnumValue = 10 },
{ Name = "DefaultGreen", Type = "ConsoleColorType", EnumValue = 11 },
},
},
{
......
local DateAndTime =
{
Name = "DateAndTime",
Type = "System",
Namespace = "C_DateAndTime",
Functions =
{
{
Name = "GetDateFromEpoch",
Type = "Function",
Arguments =
{
{ Name = "epoch", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "date", Type = "CalendarDate", Nilable = false },
},
},
{
Name = "GetTodaysDate",
Type = "Function",
Returns =
{
{ Name = "date", Type = "CalendarDate", Nilable = false },
},
},
{
Name = "GetYesterdaysDate",
Type = "Function",
Returns =
{
{ Name = "date", Type = "CalendarDate", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
{
Name = "CalendarDate",
Type = "Structure",
Fields =
{
{ Name = "day", Type = "number", Nilable = false },
{ Name = "weekDay", Type = "number", Nilable = false },
{ Name = "month", Type = "number", Nilable = false },
{ Name = "year", Type = "number", Nilable = false },
},
},
},
};
APIDocumentation:AddDocumentationTable(DateAndTime);
\ No newline at end of file
......@@ -6,6 +6,10 @@ local IslandsQueueUI =
Functions =
{
{
Name = "CloseIslandsQueueScreen",
Type = "Function",
},
{
Name = "GetIslandDifficultyIds",
Type = "Function",
......@@ -24,10 +28,29 @@ local IslandsQueueUI =
{ Name = "questID", Type = "number", Nilable = true },
},
},
{
Name = "QueueForIsland",
Type = "Function",
Arguments =
{
{ Name = "difficultyID", Type = "number", Nilable = false },
},
},
},
Events =
{
{
Name = "IslandsQueueClose",
Type = "Event",
LiteralName = "ISLANDS_QUEUE_CLOSE",
},
{
Name = "IslandsQueueOpen",
Type = "Event",
LiteralName = "ISLANDS_QUEUE_OPEN",
},
},
Tables =
......
......@@ -6,15 +6,6 @@ local LootJournal =
Functions =
{
{
Name = "GetFilteredLegendaries",
Type = "Function",
Returns =
{
{ Name = "journalItems", Type = "table", InnerType = "LegendaryJournalItem", Nilable = false },
},
},
},
Events =
......@@ -43,20 +34,6 @@ local LootJournal =
{ Name = "NotValidForTransmog", Type = "TransmogSource", EnumValue = 9 },
},
},
{
Name = "LegendaryJournalItem",
Type = "Structure",
Fields =
{
{ Name = "itemID", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "link", Type = "string", Nilable = false },
{ Name = "quality", Type = "number", Nilable = false },
{ Name = "inventoryTypeName", Type = "string", Nilable = false },
{ Name = "icon", Type = "number", Nilable = false },
{ Name = "transmogSource", Type = "TransmogSource", Nilable = false },
},
},
},
};
......
......@@ -35,6 +35,20 @@ local Map =
{ Name = "uiMapID", Type = "number", Nilable = true },
},
},
{
Name = "GetBountySetIDForMap",
Type = "Function",
Arguments =
{
{ Name = "uiMapID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "bountySetID", Type = "number", Nilable = false },
},
},
{
Name = "GetFallbackWorldMapID",
Type = "Function",
......
......@@ -15,6 +15,15 @@ local MythicPlusInfo =
{ Name = "affixIDs", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "GetOwnedKeystoneLevel",
Type = "Function",
Returns =
{
{ Name = "keyStoneLevel", Type = "number", Nilable = false },
},
},
{
Name = "GetRewardLevelForDifficultyLevel",
Type = "Function",
......@@ -77,6 +86,15 @@ local MythicPlusInfo =
{ Name = "nextDifficultyWeeklyRewardLevel", Type = "number", Nilable = false },
},
},
{
Name = "IsMythicPlusActive",
Type = "Function",
Returns =
{
{ Name = "isMythicPlusActive", Type = "bool", Nilable = false },
},
},
{
Name = "IsWeeklyRewardAvailable",
Type = "Function",
......@@ -150,8 +168,9 @@ local MythicPlusInfo =
Type = "Structure",
Fields =
{
{ Name = "name", Type = "string", Nilable = false },
{ Name = "name", Type = "string", Nilable = true },
{ Name = "specID", Type = "number", Nilable = false },
{ Name = "classID", Type = "number", Nilable = false },
},
},
},
......
......@@ -35,6 +35,21 @@ local PaperDollInfo =
{ Name = "effectiveness", Type = "number", Nilable = true },
},
},
{
Name = "GetInspectAzeriteItemEmpoweredChoices",
Type = "Function",
Arguments =
{
{ Name = "unit", Type = "string", Nilable = false },
{ Name = "equipmentSlotIndex", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "azeritePowerIDs", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "GetMinItemLevel",
Type = "Function",
......
......@@ -213,7 +213,6 @@ local PvpInfo =
Returns =
{
{ Name = "tierID", Type = "number", Nilable = false },
{ Name = "ranking", Type = "number", Nilable = true },
{ Name = "nextTierID", Type = "number", Nilable = true },
},
},
......
......@@ -104,6 +104,20 @@ local QuestLog =
{ Name = "uiMapID", Type = "number", Nilable = false },
},
},
{
Name = "ShouldShowQuestRewards",
Type = "Function",
Arguments =
{
{ Name = "questID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "shouldShow", Type = "bool", Nilable = false },
},
},
},
Events =
......
......@@ -81,6 +81,10 @@ local ScrappingMachineUI =
{ Name = "gameObject", Type = "string", Nilable = false },
},
},
{
Name = "ValidateScrappingList",
Type = "Function",
},
},
Events =
......
......@@ -76,7 +76,7 @@ local SocialQueue =
Returns =
{
{ Name = "groupMembers", Type = "table", InnerType = "string", Nilable = false },
{ Name = "groupMembers", Type = "table", InnerType = "SocialQueuePlayerInfo", Nilable = false },
},
},
{
......@@ -173,6 +173,15 @@ local SocialQueue =
{ Name = "THROTTLE_DF_BEST_PRIORITY", Type = "number", Nilable = false },
},
},
{
Name = "SocialQueuePlayerInfo",
Type = "Structure",
Fields =
{
{ Name = "guid", Type = "string", Nilable = false },
{ Name = "clubId", Type = "string", Nilable = true },
},
},
{
Name = "SocialQueueGroupQueueInfo",
Type = "Structure",
......
......@@ -385,6 +385,21 @@ local VoiceChat =
{ Name = "mutedForAll", Type = "bool", Nilable = true },
},
},
{
Name = "IsMemberSilenced",
Type = "Function",
Arguments =
{
{ Name = "memberID", Type = "number", Nilable = false },
{ Name = "channelID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "silenced", Type = "bool", Nilable = true },
},
},
{
Name = "IsMuted",
Type = "Function",
......@@ -408,6 +423,15 @@ local VoiceChat =
{ Name = "isUsingVoice", Type = "bool", Nilable = false },
},
},
{
Name = "IsSilenced",
Type = "Function",
Returns =
{
{ Name = "isSilenced", Type = "bool", Nilable = true },
},
},
{
Name = "LeaveChannel",
Type = "Function",
......@@ -586,6 +610,15 @@ local VoiceChat =
Name = "ToggleDeafened",
Type = "Function",
},
{
Name = "ToggleMemberMuted",
Type = "Function",
Arguments =
{
{ Name = "playerLocation", Type = "table", Mixin = "PlayerLocationMixin", Nilable = false },
},
},
{
Name = "ToggleMuted",
Type = "Function",
......@@ -729,6 +762,17 @@ local VoiceChat =
{ Name = "channelID", Type = "number", Nilable = false },
},
},
{
Name = "VoiceChatChannelMemberSilencedChanged",
Type = "Event",
LiteralName = "VOICE_CHAT_CHANNEL_MEMBER_SILENCED_CHANGED",
Payload =
{
{ Name = "memberID", Type = "number", Nilable = false },
{ Name = "channelID", Type = "number", Nilable = false },
{ Name = "isSilenced", Type = "bool", Nilable = false },
},
},
{
Name = "VoiceChatChannelMemberSpeakingStateChanged",
Type = "Event",
......@@ -892,6 +936,15 @@ local VoiceChat =
{ Name = "isPressed", Type = "bool", Nilable = false },
},
},
{
Name = "VoiceChatSilencedChanged",
Type = "Event",
LiteralName = "VOICE_CHAT_SILENCED_CHANGED",
Payload =
{
{ Name = "isSilenced", Type = "bool", Nilable = false },
},
},
},
Tables =
......@@ -911,9 +964,9 @@ local VoiceChat =
{