Commit 5865f89f authored by TOM_RUS's avatar TOM_RUS
Browse files

WOW-26707patch8.0.1_Beta

parent 6922484b
......@@ -60,7 +60,7 @@ local AdventureJournal =
Payload =
{
{ Name = "questID", Type = "number", Nilable = false },
{ Name = "worldMapAreaID", Type = "number", Nilable = false },
{ Name = "uiMapID", Type = "number", Nilable = false },
},
},
{
......
......@@ -142,6 +142,7 @@ local ArtifactUI =
{ Name = "swatchColorB", Type = "number", Nilable = false },
{ Name = "modelOpacity", Type = "number", Nilable = false },
{ Name = "modelSaturation", Type = "number", Nilable = false },
{ Name = "obtainable", Type = "bool", Nilable = false },
},
},
{
......@@ -168,6 +169,7 @@ local ArtifactUI =
{ Name = "swatchColorB", Type = "number", Nilable = false },
{ Name = "modelOpacity", Type = "number", Nilable = false },
{ Name = "modelSaturation", Type = "number", Nilable = false },
{ Name = "obtainable", Type = "bool", Nilable = false },
},
},
{
......@@ -622,15 +624,6 @@ local ArtifactUI =
{ Name = "totalPurchasedRanks", Type = "number", Nilable = false },
},
},
{
Name = "IsArtifactInstabilityInEffect",
Type = "Function",
Returns =
{
{ Name = "inEffect", Type = "bool", Nilable = false },
},
},
{
Name = "IsAtForge",
Type = "Function",
......
......@@ -35,13 +35,27 @@ local AzeriteEmpoweredItem =
{ Name = "tierInfo", Type = "table", InnerType = "AzeriteEmpoweredItemTierInfo", Nilable = false },
},
},
{
Name = "GetAllTierInfoByItemID",
Type = "Function",
Arguments =
{
{ Name = "itemInfo", Type = "string", Nilable = false },
{ Name = "classID", Type = "number", Nilable = true, Documentation = { "Specify a class ID to get tier information about that class, otherwise uses the player's class if left nil" } },
},
Returns =
{
{ Name = "tierInfo", Type = "table", InnerType = "AzeriteEmpoweredItemTierInfo", Nilable = false },
},
},
{
Name = "GetPowerInfo",
Type = "Function",
Arguments =
{
{ Name = "azeriteEmpoweredItemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
{ Name = "powerID", Type = "number", Nilable = false },
},
......@@ -50,6 +64,20 @@ local AzeriteEmpoweredItem =
{ Name = "powerInfo", Type = "AzeriteEmpoweredItemPowerInfo", Nilable = false },
},
},
{
Name = "GetSpecsForPower",
Type = "Function",
Arguments =
{
{ Name = "powerID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "specInfo", Type = "table", InnerType = "AzeriteSpecInfo", Nilable = false },
},
},
{
Name = "HasAnyUnselectedPowers",
Type = "Function",
......@@ -64,6 +92,20 @@ local AzeriteEmpoweredItem =
{ Name = "hasAnyUnselectedPowers", Type = "bool", Nilable = false },
},
},
{
Name = "HasBeenOpened",
Type = "Function",
Arguments =
{
{ Name = "azeriteEmpoweredItemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "hasBeenOpened", Type = "bool", Nilable = false },
},
},
{
Name = "IsAzeriteEmpoweredItem",
Type = "Function",
......@@ -92,6 +134,29 @@ local AzeriteEmpoweredItem =
{ Name = "isAzeriteEmpoweredItem", Type = "bool", Nilable = false },
},
},
{
Name = "IsAzeritePreviewSourceDisplayable",
Type = "Function",
Arguments =
{
{ Name = "itemInfo", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "isAzeritePreviewSourceDisplayable", Type = "bool", Nilable = false },
},
},
{
Name = "IsOpenedForFirstTime",
Type = "Function",
Arguments =
{
{ Name = "azeriteEmpoweredItemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
},
},
{
Name = "IsPowerAvailableForSpec",
Type = "Function",
......@@ -107,6 +172,21 @@ local AzeriteEmpoweredItem =
{ Name = "isPowerAvailableForSpec", Type = "bool", Nilable = false },
},
},
{
Name = "IsPowerSelected",
Type = "Function",
Arguments =
{
{ Name = "azeriteEmpoweredItemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
{ Name = "powerID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isSelected", Type = "bool", Nilable = false },
},
},
{
Name = "SelectPower",
Type = "Function",
......@@ -146,8 +226,6 @@ local AzeriteEmpoweredItem =
{
{ Name = "azeritePowerID", Type = "number", Nilable = false },
{ Name = "spellID", Type = "number", Nilable = false },
{ Name = "tierIndex", Type = "number", Nilable = false },
{ Name = "selected", Type = "bool", Nilable = false },
},
},
{
......@@ -155,11 +233,19 @@ local AzeriteEmpoweredItem =
Type = "Structure",
Fields =
{
{ Name = "tierIndex", Type = "number", Nilable = false },
{ Name = "azeritePowerIDs", Type = "table", InnerType = "number", Nilable = false },
{ Name = "unlockLevel", Type = "number", Nilable = false },
},
},
{
Name = "AzeriteSpecInfo",
Type = "Structure",
Fields =
{
{ Name = "classID", Type = "number", Nilable = false },
{ Name = "specID", Type = "number", Nilable = false },
},
},
},
};
......
......@@ -44,6 +44,15 @@ local AzeriteItem =
{ Name = "powerLevel", Type = "number", Nilable = false },
},
},
{
Name = "HasActiveAzeriteItem",
Type = "Function",
Returns =
{
{ Name = "hasActiveAzeriteItem", Type = "bool", Nilable = false },
},
},
{
Name = "IsAzeriteItem",
Type = "Function",
......
......@@ -81,6 +81,7 @@ MapExplorationDocumentation.lua
MerchantFrameDocumentation.lua
MinimapDocumentation.lua
MountJournalDocumentation.lua
MythicPlusInfoDocumentation.lua
NamePlateManagerDocumentation.lua
PaperDollInfoDocumentation.lua
PartyInfoDocumentation.lua
......
......@@ -844,12 +844,12 @@ local Calendar =
MaxValue = 5,
Fields =
{
{ Name = "CalendarEventTypeRaid", Type = "CalendarEventType", EnumValue = 0 },
{ Name = "CalendarEventTypeDungeon", Type = "CalendarEventType", EnumValue = 1 },
{ Name = "CalendarEventTypePvp", Type = "CalendarEventType", EnumValue = 2 },
{ Name = "CalendarEventTypeMeeting", Type = "CalendarEventType", EnumValue = 3 },
{ Name = "CalendarEventTypeOther", Type = "CalendarEventType", EnumValue = 4 },
{ Name = "CalendarEventTypeHeroicDungeonDeprecated", Type = "CalendarEventType", EnumValue = 5 },
{ Name = "Raid", Type = "CalendarEventType", EnumValue = 0 },
{ Name = "Dungeon", Type = "CalendarEventType", EnumValue = 1 },
{ Name = "Pvp", Type = "CalendarEventType", EnumValue = 2 },
{ Name = "Meeting", Type = "CalendarEventType", EnumValue = 3 },
{ Name = "Other", Type = "CalendarEventType", EnumValue = 4 },
{ Name = "HeroicDeprecated", Type = "CalendarEventType", EnumValue = 5 },
},
},
{
......@@ -966,7 +966,7 @@ local Calendar =
Fields =
{
{ Name = "displayString", Type = "string", Nilable = false },
{ Name = "displayIndex", Type = "number", Nilable = false },
{ Name = "eventType", Type = "CalendarEventType", Nilable = false },
},
},
{
......
......@@ -83,25 +83,16 @@ local ChallengeModeInfo =
},
},
{
Name = "GetMapInfo",
Name = "GetMapTable",
Type = "Function",
Arguments =
{
{ Name = "mapChallengeModeID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "name", Type = "string", Nilable = false },
{ Name = "id", Type = "number", Nilable = false },
{ Name = "timeLimit", Type = "number", Nilable = false },
{ Name = "texture", Type = "number", Nilable = true },
{ Name = "backgroundTexture", Type = "number", Nilable = false },
{ Name = "mapChallengeModeIDs", Type = "table", InnerType = "number", Nilable = false },
},
},
{
Name = "GetMapPlayerStats",
Name = "GetMapUIInfo",
Type = "Function",
Arguments =
......@@ -111,25 +102,11 @@ local ChallengeModeInfo =
Returns =
{
{ Name = "lastCompletionMilliseconds", Type = "number", Nilable = false },
{ Name = "bestCompletionMilliseconds", Type = "number", Nilable = false },
{ Name = "bestLevel", Type = "number", Nilable = false },
{ Name = "affixIDs", Type = "table", InnerType = "number", Nilable = false },
{ Name = "bestLevelYear", Type = "number", Nilable = false },
{ Name = "bestLevelMonth", Type = "number", Nilable = false },
{ Name = "bestLevelDay", Type = "number", Nilable = false },
{ Name = "bestLevelHour", Type = "number", Nilable = false },
{ Name = "bestLevelMinute", Type = "number", Nilable = false },
{ Name = "bestSpecIDs", Type = "number", Nilable = false, StrideIndex = 1 },
},
},
{
Name = "GetMapTable",
Type = "Function",
Returns =
{
{ Name = "mapChallengeModeIDs", Type = "table", InnerType = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "id", Type = "number", Nilable = false },
{ Name = "timeLimit", Type = "number", Nilable = false },
{ Name = "texture", Type = "number", Nilable = true },
{ Name = "backgroundTexture", Type = "number", Nilable = false },
},
},
{
......@@ -147,21 +124,6 @@ local ChallengeModeInfo =
{ Name = "healthMod", Type = "number", Nilable = false },
},
},
{
Name = "GetRecentBestForMap",
Type = "Function",
Arguments =
{
{ Name = "mapChallengeModeID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "bestCompletionTime", Type = "number", Nilable = false },
{ Name = "bestLevel", Type = "number", Nilable = false },
},
},
{
Name = "GetSlottedKeystoneInfo",
Type = "Function",
......@@ -191,15 +153,6 @@ local ChallengeModeInfo =
{ Name = "challengeModeActive", Type = "bool", Nilable = false },
},
},
{
Name = "IsWeeklyRewardAvailable",
Type = "Function",
Returns =
{
{ Name = "weeklyRewardAvailable", Type = "bool", Nilable = false },
},
},
{
Name = "RemoveKeystone",
Type = "Function",
......@@ -218,14 +171,6 @@ local ChallengeModeInfo =
{ Name = "mapChallengeModeID", Type = "number", Nilable = false },
},
},
{
Name = "RequestMapInfo",
Type = "Function",
},
{
Name = "RequestRewards",
Type = "Function",
},
{
Name = "Reset",
Type = "Function",
......@@ -285,17 +230,6 @@ local ChallengeModeInfo =
Type = "Event",
LiteralName = "CHALLENGE_MODE_MAPS_UPDATE",
},
{
Name = "ChallengeModeNewRecord",
Type = "Event",
LiteralName = "CHALLENGE_MODE_NEW_RECORD",
Payload =
{
{ Name = "mapID", Type = "number", Nilable = false },
{ Name = "completionMilliseconds", Type = "number", Nilable = false },
{ Name = "level", Type = "number", Nilable = false },
},
},
{
Name = "ChallengeModeReset",
Type = "Event",
......
......@@ -290,6 +290,18 @@ local Club =
{ Name = "settings", Type = "table", InnerType = "ClubStreamNotificationSetting", Nilable = false },
},
},
{
Name = "GetInfoFromLastCommunityChatLine",
Type = "Function",
Returns =
{
{ Name = "messageInfo", Type = "ClubMessageInfo", Nilable = false },
{ Name = "clubId", Type = "string", Nilable = false },
{ Name = "streamId", Type = "string", Nilable = false },
{ Name = "clubType", Type = "ClubType", Nilable = false },
},
},
{
Name = "GetInvitationCandidates",
Type = "Function",
......@@ -767,6 +779,17 @@ local Club =
{ Name = "clubId", Type = "string", Nilable = false },
},
},
{
Name = "ClubError",
Type = "Event",
LiteralName = "CLUB_ERROR",
Payload =
{
{ Name = "action", Type = "ClubActionType", Nilable = false },
{ Name = "error", Type = "ClubErrorType", Nilable = false },
{ Name = "clubType", Type = "ClubType", Nilable = false },
},
},
{
Name = "ClubInvitationAddedForSelf",
Type = "Event",
......@@ -1039,6 +1062,88 @@ local Club =
{ Name = "Guild", Type = "ClubType", EnumValue = 2 },
},
},
{
Name = "ClubActionType",
Type = "Enumeration",
NumValues = 27,
MinValue = 0,
MaxValue = 26,
Fields =
{
{ Name = "ErrorClubActionSubscribe", Type = "ClubActionType", EnumValue = 0 },
{ Name = "ErrorClubActionCreate", Type = "ClubActionType", EnumValue = 1 },
{ Name = "ErrorClubActionEdit", Type = "ClubActionType", EnumValue = 2 },
{ Name = "ErrorClubActionDestroy", Type = "ClubActionType", EnumValue = 3 },
{ Name = "ErrorClubActionLeave", Type = "ClubActionType", EnumValue = 4 },
{ Name = "ErrorClubActionCreateTicket", Type = "ClubActionType", EnumValue = 5 },
{ Name = "ErrorClubActionDestroyTicket", Type = "ClubActionType", EnumValue = 6 },
{ Name = "ErrorClubActionRedeemTicket", Type = "ClubActionType", EnumValue = 7 },
{ Name = "ErrorClubActionGetTicket", Type = "ClubActionType", EnumValue = 8 },
{ Name = "ErrorClubActionGetTickets", Type = "ClubActionType", EnumValue = 9 },
{ Name = "ErrorClubActionGetBans", Type = "ClubActionType", EnumValue = 10 },
{ Name = "ErrorClubActionGetInvitations", Type = "ClubActionType", EnumValue = 11 },
{ Name = "ErrorClubActionRevokeInvitation", Type = "ClubActionType", EnumValue = 12 },
{ Name = "ErrorClubActionAcceptInvitation", Type = "ClubActionType", EnumValue = 13 },
{ Name = "ErrorClubActionDeclineInvitation", Type = "ClubActionType", EnumValue = 14 },
{ Name = "ErrorClubActionCreateStream", Type = "ClubActionType", EnumValue = 15 },
{ Name = "ErrorClubActionEditStream", Type = "ClubActionType", EnumValue = 16 },
{ Name = "ErrorClubActionDestroyStream", Type = "ClubActionType", EnumValue = 17 },
{ Name = "ErrorClubActionInviteMember", Type = "ClubActionType", EnumValue = 18 },
{ Name = "ErrorClubActionEditMember", Type = "ClubActionType", EnumValue = 19 },
{ Name = "ErrorClubActionEditMemberNote", Type = "ClubActionType", EnumValue = 20 },
{ Name = "ErrorClubActionKickMember", Type = "ClubActionType", EnumValue = 21 },
{ Name = "ErrorClubActionAddBan", Type = "ClubActionType", EnumValue = 22 },
{ Name = "ErrorClubActionRemoveBan", Type = "ClubActionType", EnumValue = 23 },
{ Name = "ErrorClubActionCreateMessage", Type = "ClubActionType", EnumValue = 24 },
{ Name = "ErrorClubActionEditMessage", Type = "ClubActionType", EnumValue = 25 },
{ Name = "ErrorClubActionDestroyMessage", Type = "ClubActionType", EnumValue = 26 },
},
},
{
Name = "ClubErrorType",
Type = "Enumeration",
NumValues = 35,
MinValue = 0,
MaxValue = 34,
Fields =
{
{ Name = "ErrorCommunitiesUnknown", Type = "ClubErrorType", EnumValue = 0 },
{ Name = "ErrorCommunitiesNeutralFaction", Type = "ClubErrorType", EnumValue = 1 },
{ Name = "ErrorCommunitiesUnknownRealm", Type = "ClubErrorType", EnumValue = 2 },
{ Name = "ErrorCommunitiesBadTarget", Type = "ClubErrorType", EnumValue = 3 },
{ Name = "ErrorCommunitiesWrongFaction", Type = "ClubErrorType", EnumValue = 4 },
{ Name = "ErrorCommunitiesRestricted", Type = "ClubErrorType", EnumValue = 5 },
{ Name = "ErrorCommunitiesIgnored", Type = "ClubErrorType", EnumValue = 6 },
{ Name = "ErrorCommunitiesGuild", Type = "ClubErrorType", EnumValue = 7 },
{ Name = "ErrorCommunitiesWrongRegion", Type = "ClubErrorType", EnumValue = 8 },
{ Name = "ErrorCommunitiesUnknownTicket", Type = "ClubErrorType", EnumValue = 9 },
{ Name = "ErrorCommunitiesMissingShortName", Type = "ClubErrorType", EnumValue = 10 },
{ Name = "ErrorClubFull", Type = "ClubErrorType", EnumValue = 11 },
{ Name = "ErrorClubNoClub", Type = "ClubErrorType", EnumValue = 12 },
{ Name = "ErrorClubNotMember", Type = "ClubErrorType", EnumValue = 13 },
{ Name = "ErrorClubAlreadyMember", Type = "ClubErrorType", EnumValue = 14 },
{ Name = "ErrorClubNoSuchMember", Type = "ClubErrorType", EnumValue = 15 },
{ Name = "ErrorClubNoSuchInvitation", Type = "ClubErrorType", EnumValue = 16 },
{ Name = "ErrorClubInvitationAlreadyExists", Type = "ClubErrorType", EnumValue = 17 },
{ Name = "ErrorClubInvalidRoleID", Type = "ClubErrorType", EnumValue = 18 },
{ Name = "ErrorClubInsufficientPrivileges", Type = "ClubErrorType", EnumValue = 19 },
{ Name = "ErrorClubTooManyClubsJoined", Type = "ClubErrorType", EnumValue = 20 },
{ Name = "ErrorClubVoiceFull", Type = "ClubErrorType", EnumValue = 21 },
{ Name = "ErrorClubStreamNoStream", Type = "ClubErrorType", EnumValue = 22 },
{ Name = "ErrorClubStreamInvalidName", Type = "ClubErrorType", EnumValue = 23 },
{ Name = "ErrorClubStreamCountAtMin", Type = "ClubErrorType", EnumValue = 24 },
{ Name = "ErrorClubStreamCountAtMax", Type = "ClubErrorType", EnumValue = 25 },
{ Name = "ErrorClubMemberHasRequiredRole", Type = "ClubErrorType", EnumValue = 26 },
{ Name = "ErrorClubSentInvitationCountAtMax", Type = "ClubErrorType", EnumValue = 27 },
{ Name = "ErrorClubReceivedInvitationCountAtMax", Type = "ClubErrorType", EnumValue = 28 },
{ Name = "ErrorClubTargetIsBanned", Type = "ClubErrorType", EnumValue = 29 },
{ Name = "ErrorClubBanAlreadyExists", Type = "ClubErrorType", EnumValue = 30 },
{ Name = "ErrorClubBanCountAtMax", Type = "ClubErrorType", EnumValue = 31 },
{ Name = "ErrorClubTicketCountAtMax", Type = "ClubErrorType", EnumValue = 32 },
{ Name = "ErrorClubTicketNoSuchTicket", Type = "ClubErrorType", EnumValue = 33 },
{ Name = "ErrorClubTicketHasConsumedAllowedRedeemCount", Type = "ClubErrorType", EnumValue = 34 },
},
},
{
Name = "ClubFieldType",
Type = "Enumeration",
......@@ -1137,7 +1242,9 @@ local Club =
{ 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 = "clubType", Type = "ClubType", Nilable = true },
{ Name = "guid", Type = "string", Nilable = true },
{ Name = "bnetAccountId", Type = "number", Nilable = true },
{ Name = "memberNote", Type = "string", Nilable = true },
{ Name = "officerNote", Type = "string", Nilable = true },
{ Name = "classID", Type = "number", Nilable = true },
......@@ -1155,6 +1262,7 @@ local Club =
{ Name = "lastOnlineMonth", Type = "number", Nilable = true },
{ Name = "lastOnlineDay", Type = "number", Nilable = true },
{ Name = "lastOnlineHour", Type = "number", Nilable = true },
{ Name = "guildRank", Type = "string", Nilable = true },
},
},
{
......
......@@ -160,6 +160,10 @@ local GuildInfo =
Name = "PlayerGuildUpdate",
Type = "Event",
LiteralName = "PLAYER_GUILD_UPDATE",
Payload =
{
{ Name = "unitTarget", Type = "string", Nilable = false },
},
},
{
Name = "RequiredGuildRenameResult",
......
......@@ -20,6 +20,20 @@ local Item =
{ Name = "itemExists", Type = "bool", Nilable = false },
},
},
{
Name = "DoesItemExistByID",
Type = "Function",
Arguments =
{
{ Name = "itemInfo", Type = "string", Nilable = false },
},
Returns =
{
{ Name = "itemExists", Type = "bool", Nilable = false },
},
},
{
Name = "GetCurrentItemLevel",
Type = "Function",
......@@ -34,6 +48,90 @@ local Item =
{ Name = "currentItemLevel", Type = "number", Nilable = true },
},
},
{
Name = "GetItemGUID",
Type = "Function",
Arguments =
{
{ Name = "itemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "itemGuid", Type = "string", Nilable = false },