Commit 31471cf3 authored by TOM_RUS's avatar TOM_RUS

WOW-32044patch8.3.0_PTR

parent b9f6285d
local AuctionHouseEnums =
{
Tables =
{
{
Name = "AuctionHouseCommoditySortOrder",
Type = "Enumeration",
NumValues = 2,
MinValue = 0,
MaxValue = 1,
Fields =
{
{ Name = "UnitPrice", Type = "AuctionHouseCommoditySortOrder", EnumValue = 0 },
{ Name = "Quantity", Type = "AuctionHouseCommoditySortOrder", EnumValue = 1 },
},
},
{
Name = "AuctionHouseFilter",
Type = "Enumeration",
NumValues = 11,
MinValue = 0,
MaxValue = 10,
Fields =
{
{ Name = "UncollectedOnly", Type = "AuctionHouseFilter", EnumValue = 0 },
{ Name = "UsableOnly", Type = "AuctionHouseFilter", EnumValue = 1 },
{ Name = "UpgradesOnly", Type = "AuctionHouseFilter", EnumValue = 2 },
{ Name = "ExactMatch", Type = "AuctionHouseFilter", EnumValue = 3 },
{ Name = "PoorQuality", Type = "AuctionHouseFilter", EnumValue = 4 },
{ Name = "CommonQuality", Type = "AuctionHouseFilter", EnumValue = 5 },
{ Name = "UncommonQuality", Type = "AuctionHouseFilter", EnumValue = 6 },
{ Name = "RareQuality", Type = "AuctionHouseFilter", EnumValue = 7 },
{ Name = "EpicQuality", Type = "AuctionHouseFilter", EnumValue = 8 },
{ Name = "LegendaryQuality", Type = "AuctionHouseFilter", EnumValue = 9 },
{ Name = "ArtifactQuality", Type = "AuctionHouseFilter", EnumValue = 10 },
},
},
{
Name = "AuctionHouseItemSortOrder",
Type = "Enumeration",
NumValues = 2,
MinValue = 0,
MaxValue = 1,
Fields =
{
{ Name = "Bid", Type = "AuctionHouseItemSortOrder", EnumValue = 0 },
{ Name = "Buyout", Type = "AuctionHouseItemSortOrder", EnumValue = 1 },
},
},
{
Name = "AuctionHouseSortOrder",
Type = "Enumeration",
NumValues = 5,
MinValue = 0,
MaxValue = 4,
Fields =
{
{ Name = "Price", Type = "AuctionHouseSortOrder", EnumValue = 0 },
{ Name = "Name", Type = "AuctionHouseSortOrder", EnumValue = 1 },
{ Name = "Level", Type = "AuctionHouseSortOrder", EnumValue = 2 },
{ Name = "Bid", Type = "AuctionHouseSortOrder", EnumValue = 3 },
{ Name = "Buyout", Type = "AuctionHouseSortOrder", EnumValue = 4 },
},
},
{
Name = "AuctionHouseTimeLeftBand",
Type = "Enumeration",
NumValues = 4,
MinValue = 0,
MaxValue = 3,
Fields =
{
{ Name = "Short", Type = "AuctionHouseTimeLeftBand", EnumValue = 0 },
{ Name = "Medium", Type = "AuctionHouseTimeLeftBand", EnumValue = 1 },
{ Name = "Long", Type = "AuctionHouseTimeLeftBand", EnumValue = 2 },
{ Name = "VeryLong", Type = "AuctionHouseTimeLeftBand", EnumValue = 3 },
},
},
},
};
APIDocumentation:AddDocumentationTable(AuctionHouseEnums);
\ No newline at end of file
......@@ -288,14 +288,15 @@ local AzeriteEssence =
{
Name = "AzeriteEssence",
Type = "Enumeration",
NumValues = 3,
NumValues = 4,
MinValue = 0,
MaxValue = 2,
MaxValue = 3,
Fields =
{
{ Name = "MainSlot", Type = "AzeriteEssence", EnumValue = 0 },
{ Name = "PassiveOneSlot", Type = "AzeriteEssence", EnumValue = 1 },
{ Name = "PassiveTwoSlot", Type = "AzeriteEssence", EnumValue = 2 },
{ Name = "PassiveThreeSlot", Type = "AzeriteEssence", EnumValue = 3 },
},
},
{
......
......@@ -44,6 +44,20 @@ local AzeriteItem =
{ Name = "powerLevel", Type = "number", Nilable = false },
},
},
{
Name = "GetUnlimitedPowerLevel",
Type = "Function",
Arguments =
{
{ Name = "azeriteItemLocation", Type = "table", Mixin = "ItemLocationMixin", Nilable = false },
},
Returns =
{
{ Name = "powerLevel", Type = "number", Nilable = false },
},
},
{
Name = "HasActiveAzeriteItem",
Type = "Function",
......
......@@ -115,6 +115,28 @@ local BattleNet =
Tables =
{
{
Name = "BNetAccountInfo",
Type = "Structure",
Fields =
{
{ Name = "bnetAccountID", Type = "number", Nilable = false },
{ Name = "accountName", Type = "string", Nilable = false },
{ Name = "battleTag", Type = "string", Nilable = false },
{ Name = "isFriend", Type = "bool", Nilable = false },
{ Name = "isBattleTagFriend", Type = "bool", Nilable = false },
{ Name = "lastOnlineTime", Type = "number", Nilable = false },
{ Name = "isAFK", Type = "bool", Nilable = false },
{ Name = "isDND", Type = "bool", Nilable = false },
{ Name = "isFavorite", Type = "bool", Nilable = false },
{ Name = "appearOffline", Type = "bool", Nilable = false },
{ Name = "customMessage", Type = "string", Nilable = false },
{ Name = "customMessageTime", Type = "number", Nilable = false },
{ Name = "note", Type = "string", Nilable = false },
{ Name = "rafLinkType", Type = "RafLinkType", Nilable = false },
{ Name = "gameAccountInfo", Type = "BNetGameAccountInfo", Nilable = false },
},
},
{
Name = "BNetGameAccountInfo",
Type = "Structure",
......@@ -128,6 +150,7 @@ local BattleNet =
{ Name = "wowProjectID", Type = "number", Nilable = true },
{ Name = "characterName", Type = "string", Nilable = true },
{ Name = "realmName", Type = "string", Nilable = true },
{ Name = "realmDisplayName", Type = "string", Nilable = true },
{ Name = "realmID", Type = "number", Nilable = true },
{ Name = "factionName", Type = "string", Nilable = true },
{ Name = "raceName", Type = "string", Nilable = true },
......@@ -141,28 +164,6 @@ local BattleNet =
{ Name = "hasFocus", Type = "bool", Nilable = false },
},
},
{
Name = "BNetAccountInfo",
Type = "Structure",
Fields =
{
{ Name = "bnetAccountID", Type = "number", Nilable = false },
{ Name = "accountName", Type = "string", Nilable = false },
{ Name = "battleTag", Type = "string", Nilable = false },
{ Name = "isFriend", Type = "bool", Nilable = false },
{ Name = "isBattleTagFriend", Type = "bool", Nilable = false },
{ Name = "lastOnlineTime", Type = "number", Nilable = false },
{ Name = "isAFK", Type = "bool", Nilable = false },
{ Name = "isDND", Type = "bool", Nilable = false },
{ Name = "isFavorite", Type = "bool", Nilable = false },
{ Name = "appearOffline", Type = "bool", Nilable = false },
{ Name = "customMessage", Type = "string", Nilable = false },
{ Name = "customMessageTime", Type = "number", Nilable = false },
{ Name = "note", Type = "string", Nilable = false },
{ Name = "rafLinkType", Type = "RafLinkType", Nilable = false },
{ Name = "gameAccountInfo", Type = "BNetGameAccountInfo", Nilable = false },
},
},
},
};
......
......@@ -120,6 +120,22 @@ local CalendarConstants =
{ Name = "CalendarRepeatMonthly", Type = "CalendarEventRepeatOptions", EnumValue = 3 },
},
},
{
Name = "CalendarEventType",
Type = "Enumeration",
NumValues = 6,
MinValue = 0,
MaxValue = 5,
Fields =
{
{ 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 },
},
},
{
Name = "CalendarFilterFlags",
Type = "Enumeration",
......@@ -258,22 +274,6 @@ local CalendarConstants =
{ Name = "TentativeSignup", Type = "CalendarWebActionType", EnumValue = 6 },
},
},
{
Name = "CalendarEventType",
Type = "Enumeration",
NumValues = 6,
MinValue = 0,
MaxValue = 5,
Fields =
{
{ 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 },
},
},
},
};
......
......@@ -1224,34 +1224,6 @@ local Club =
Tables =
{
{
Name = "ClubRoleIdentifier",
Type = "Enumeration",
NumValues = 4,
MinValue = 1,
MaxValue = 4,
Fields =
{
{ Name = "Owner", Type = "ClubRoleIdentifier", EnumValue = 1 },
{ Name = "Leader", Type = "ClubRoleIdentifier", EnumValue = 2 },
{ Name = "Moderator", Type = "ClubRoleIdentifier", EnumValue = 3 },
{ Name = "Member", Type = "ClubRoleIdentifier", EnumValue = 4 },
},
},
{
Name = "ClubType",
Type = "Enumeration",
NumValues = 4,
MinValue = 0,
MaxValue = 3,
Fields =
{
{ Name = "BattleNet", Type = "ClubType", EnumValue = 0 },
{ Name = "Character", Type = "ClubType", EnumValue = 1 },
{ Name = "Guild", Type = "ClubType", EnumValue = 2 },
{ Name = "Other", Type = "ClubType", EnumValue = 3 },
},
},
{
Name = "ClubActionType",
Type = "Enumeration",
......@@ -1356,6 +1328,19 @@ local Club =
{ Name = "NumTypes", Type = "ClubFieldType", EnumValue = 6 },
},
},
{
Name = "ClubInvitationCandidateStatus",
Type = "Enumeration",
NumValues = 3,
MinValue = 0,
MaxValue = 2,
Fields =
{
{ Name = "Available", Type = "ClubInvitationCandidateStatus", EnumValue = 0 },
{ Name = "InvitePending", Type = "ClubInvitationCandidateStatus", EnumValue = 1 },
{ Name = "AlreadyMember", Type = "ClubInvitationCandidateStatus", EnumValue = 2 },
},
},
{
Name = "ClubMemberPresence",
Type = "Enumeration",
......@@ -1372,19 +1357,6 @@ local Club =
{ Name = "Busy", Type = "ClubMemberPresence", EnumValue = 5 },
},
},
{
Name = "ClubInvitationCandidateStatus",
Type = "Enumeration",
NumValues = 3,
MinValue = 0,
MaxValue = 2,
Fields =
{
{ Name = "Available", Type = "ClubInvitationCandidateStatus", EnumValue = 0 },
{ Name = "InvitePending", Type = "ClubInvitationCandidateStatus", EnumValue = 1 },
{ Name = "AlreadyMember", Type = "ClubInvitationCandidateStatus", EnumValue = 2 },
},
},
{
Name = "ClubRemovedReason",
Type = "Enumeration",
......@@ -1411,6 +1383,33 @@ local Club =
{ Name = "Unavailable", Type = "ClubRestrictionReason", EnumValue = 1 },
},
},
{
Name = "ClubRoleIdentifier",
Type = "Enumeration",
NumValues = 4,
MinValue = 1,
MaxValue = 4,
Fields =
{
{ Name = "Owner", Type = "ClubRoleIdentifier", EnumValue = 1 },
{ Name = "Leader", Type = "ClubRoleIdentifier", EnumValue = 2 },
{ Name = "Moderator", Type = "ClubRoleIdentifier", EnumValue = 3 },
{ Name = "Member", Type = "ClubRoleIdentifier", EnumValue = 4 },
},
},
{
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 = "ClubStreamType",
Type = "Enumeration",
......@@ -1426,16 +1425,17 @@ local Club =
},
},
{
Name = "ClubStreamNotificationFilter",
Name = "ClubType",
Type = "Enumeration",
NumValues = 3,
NumValues = 4,
MinValue = 0,
MaxValue = 2,
MaxValue = 3,
Fields =
{
{ Name = "None", Type = "ClubStreamNotificationFilter", EnumValue = 0 },
{ Name = "Mention", Type = "ClubStreamNotificationFilter", EnumValue = 1 },
{ Name = "All", Type = "ClubStreamNotificationFilter", EnumValue = 2 },
{ Name = "BattleNet", Type = "ClubType", EnumValue = 0 },
{ Name = "Character", Type = "ClubType", EnumValue = 1 },
{ Name = "Guild", Type = "ClubType", EnumValue = 2 },
{ Name = "Other", Type = "ClubType", EnumValue = 3 },
},
},
{
......@@ -1484,6 +1484,35 @@ local Club =
{ Name = "socialQueueingEnabled", Type = "bool", Nilable = true },
},
},
{
Name = "ClubInvitationCandidateInfo",
Type = "Structure",
Fields =
{
{ Name = "memberId", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "priority", Type = "number", Nilable = false },
{ Name = "status", Type = "ClubInvitationCandidateStatus", Nilable = false },
},
},
{
Name = "ClubInvitationInfo",
Type = "Structure",
Fields =
{
{ Name = "invitationId", Type = "string", Nilable = false },
{ Name = "isMyInvitation", Type = "bool", Nilable = false },
{ Name = "invitee", Type = "ClubMemberInfo", Nilable = false },
},
},
{
Name = "ClubLimits",
Type = "Structure",
Fields =
{
{ Name = "maximumNumberOfStreams", Type = "number", Nilable = false },
},
},
{
Name = "ClubMemberInfo",
Type = "Structure",
......@@ -1519,46 +1548,6 @@ local Club =
{ Name = "isRemoteChat", Type = "bool", Nilable = true },
},
},
{
Name = "ClubSelfInvitationInfo",
Type = "Structure",
Fields =
{
{ Name = "invitationId", Type = "string", Nilable = false },
{ Name = "club", Type = "ClubInfo", Nilable = false },
{ Name = "inviter", Type = "ClubMemberInfo", Nilable = false },
{ Name = "leaders", Type = "table", InnerType = "ClubMemberInfo", Nilable = false },
},
},
{
Name = "ClubInvitationCandidateInfo",
Type = "Structure",
Fields =
{
{ Name = "memberId", Type = "number", Nilable = false },
{ Name = "name", Type = "string", Nilable = false },
{ Name = "priority", Type = "number", Nilable = false },
{ Name = "status", Type = "ClubInvitationCandidateStatus", Nilable = false },
},
},
{
Name = "ClubInvitationInfo",
Type = "Structure",
Fields =
{
{ Name = "invitationId", Type = "string", Nilable = false },
{ Name = "isMyInvitation", Type = "bool", Nilable = false },
{ Name = "invitee", Type = "ClubMemberInfo", Nilable = false },
},
},
{
Name = "ClubLimits",
Type = "Structure",
Fields =
{
{ Name = "maximumNumberOfStreams", Type = "number", Nilable = false },
},
},
{
Name = "ClubMessageIdentifier",
Type = "Structure",
......@@ -1568,15 +1557,6 @@ local Club =
{ Name = "position", Type = "number", Nilable = false, Documentation = { "sort order for messages at the same time" } },
},
},
{
Name = "ClubMessageRange",
Type = "Structure",
Fields =
{
{ Name = "oldestMessageId", Type = "ClubMessageIdentifier", Nilable = false },
{ Name = "newestMessageId", Type = "ClubMessageIdentifier", Nilable = false },
},
},
{
Name = "ClubMessageInfo",
Type = "Structure",
......@@ -1590,6 +1570,15 @@ local Club =
{ Name = "edited", Type = "bool", Nilable = false },
},
},
{
Name = "ClubMessageRange",
Type = "Structure",
Fields =
{
{ Name = "oldestMessageId", Type = "ClubMessageIdentifier", Nilable = false },
{ Name = "newestMessageId", Type = "ClubMessageIdentifier", Nilable = false },
},
},
{
Name = "ClubPrivilegeInfo",
Type = "Structure",
......@@ -1639,6 +1628,17 @@ local Club =
{ Name = "kickableRoleIds", Type = "table", InnerType = "number", Nilable = false, Documentation = { "Roles that can be kicked and banned" } },
},
},
{
Name = "ClubSelfInvitationInfo",
Type = "Structure",
Fields =
{
{ Name = "invitationId", Type = "string", Nilable = false },
{ Name = "club", Type = "ClubInfo", Nilable = false },
{ Name = "inviter", Type = "ClubMemberInfo", Nilable = false },
{ Name = "leaders", Type = "table", InnerType = "ClubMemberInfo", Nilable = false },
},
},
{
Name = "ClubStreamInfo",
Type = "Structure",
......
......@@ -594,24 +594,6 @@ local ClubFinder =
Tables =
{
{
Name = "PlayerClubRequestStatus",
Type = "Enumeration",
NumValues = 8,
MinValue = 0,
MaxValue = 7,
Fields =
{
{ Name = "None", Type = "PlayerClubRequestStatus", EnumValue = 0 },
{ Name = "Pending", Type = "PlayerClubRequestStatus", EnumValue = 1 },
{ Name = "AutoApproved", Type = "PlayerClubRequestStatus", EnumValue = 2 },
{ Name = "Declined", Type = "PlayerClubRequestStatus", EnumValue = 3 },
{ Name = "Approved", Type = "PlayerClubRequestStatus", EnumValue = 4 },
{ Name