diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/AdventureJournalDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/AdventureJournalDocumentation.lua index c4257c9883..87426c154a 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/AdventureJournalDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/AdventureJournalDocumentation.lua @@ -58,6 +58,11 @@ local AdventureJournal = Type = "Event", LiteralName = "AJ_PVP_SKIRMISH_ACTION", }, + { + Name = "AjPvpSpecialBgAction", + Type = "Event", + LiteralName = "AJ_PVP_SPECIAL_BG_ACTION", + }, { Name = "AjQuestLogOpen", Type = "Event", diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/AuctionHouseConstantsDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/AuctionHouseConstantsDocumentation.lua new file mode 100644 index 0000000000..492cf6a2b5 --- /dev/null +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/AuctionHouseConstantsDocumentation.lua @@ -0,0 +1,16 @@ +local AuctionHouseConstants = +{ + Tables = + { + { + Name = "AuctionConstants", + Type = "Constants", + Values = + { + { Name = "DEFAULT_AUCTION_PRICE_MULTIPLIER", Type = "number", Value = 1.5 }, + }, + }, + }, +}; + +APIDocumentation:AddDocumentationTable(AuctionHouseConstants); \ No newline at end of file diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/BagConstantsDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/BagConstantsDocumentation.lua index cf810189e6..82b4852ece 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/BagConstantsDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/BagConstantsDocumentation.lua @@ -5,9 +5,9 @@ local BagConstants = { Name = "BagFlag", Type = "Enumeration", - NumValues = 28, + NumValues = 29, MinValue = 1, - MaxValue = 134217728, + MaxValue = 268435456, Fields = { { Name = "DontFindStack", Type = "BagFlag", EnumValue = 1 }, @@ -38,6 +38,7 @@ local BagConstants = { Name = "LookInAccountBankOnly", Type = "BagFlag", EnumValue = 33554432 }, { Name = "HasRefund", Type = "BagFlag", EnumValue = 67108864 }, { Name = "SkipValidCountCheck", Type = "BagFlag", EnumValue = 134217728 }, + { Name = "AllowSoulboundItemInAccountBank", Type = "BagFlag", EnumValue = 268435456 }, }, }, { diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/BattleNetDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/BattleNetDocumentation.lua index f93c36d46f..462e9bba71 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/BattleNetDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/BattleNetDocumentation.lua @@ -172,7 +172,6 @@ local BattleNet = { Name = "characterLevel", Type = "number", Nilable = true }, { Name = "richPresence", Type = "string", Nilable = true }, { Name = "playerGuid", Type = "WOWGUID", Nilable = true }, - { Name = "isWowMobile", Type = "bool", Nilable = false }, { Name = "canSummon", Type = "bool", Nilable = false }, { Name = "hasFocus", Type = "bool", Nilable = false }, { Name = "regionID", Type = "number", Nilable = false }, diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/Blizzard_APIDocumentationGenerated.toc b/Interface/AddOns/Blizzard_APIDocumentationGenerated/Blizzard_APIDocumentationGenerated.toc index dfe9b300d0..2f757d8bb1 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/Blizzard_APIDocumentationGenerated.toc +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/Blizzard_APIDocumentationGenerated.toc @@ -74,11 +74,11 @@ FrameAPISimpleCheckoutDocumentation.lua FrameAPITabardModelBaseDocumentation.lua FrameAPIUnitPositionFrameDocumentation.lua FrameScriptDocumentation.lua +FriendListDocumentation.lua GMTicketInfoDocumentation.lua GameCursorDocumentation.lua GameEnvironmentManagerDocumentation.lua GameErrorDocumentation.lua -GameModeManagerDocumentation.lua GamePadDocumentation.lua GameRulesDocumentation.lua GameUIDocumentation.lua @@ -146,6 +146,7 @@ ReportSystemDocumentation.lua ReputationInfoDocumentation.lua ResearchInfoDocumentation.lua RestrictedActionsDocumentation.lua +ScenarioInfoDocumentation.lua ScreenDocumentation.lua ScriptWarningsDocumentation.lua SecureTransferDocumentation.lua @@ -193,6 +194,7 @@ SimpleTextureBaseAPIDocumentation.lua SkillInfoDocumentation.lua SlashCommandDocumentation.lua SocialQueueDocumentation.lua +SocialRestrictionsDocumentation.lua SoundDocumentation.lua SpecializationInfoDocumentation.lua SpecializationSharedDocumentation.lua @@ -219,6 +221,7 @@ TradeInfoDocumentation.lua TrainerDocumentation.lua TraitConfigDocumentation.lua TransmogDocumentation.lua +TransmogItemsDocumentation.lua TutorialDocumentation.lua UIColorDocumentation.lua UIEventToastManagerDocumentation.lua @@ -232,6 +235,7 @@ UIWidgetManagerDocumentation.lua URLDocumentation.lua UnitDocumentation.lua UnitAuraDocumentation.lua +UnitRoleDocumentation.lua UserFeedbackDocumentation.lua VehicleDocumentation.lua VideoDocumentation.lua @@ -254,20 +258,19 @@ FrameAPICharacterModelBaseDocumentation.lua FrameAPIDressUpModelDocumentation.lua FrameAPIModelSceneFrameActorDocumentation.lua FrameAPITabardModelDocumentation.lua -FriendListDocumentation.lua +LFGListRolesDocumentation.lua MailInfoDocumentation.lua MapDocumentation.lua ReforgeDocumentation.lua ScriptedAnimationsDocumentation.lua SeasonsDocumentation.lua -SocialRestrictionsDocumentation.lua SystemDocumentation.lua TradeSkillUIDocumentation.lua -TransmogItemsDocumentation.lua AccountConstantsDocumentation.lua ActionDocumentation.lua AppearanceSourceDocumentation.lua ArrowCalloutConstantsDocumentation.lua +AuctionHouseConstantsDocumentation.lua AuctionHouseEnumsDocumentation.lua AzeriteConstantsDocumentation.lua BagConstantsDocumentation.lua @@ -289,6 +292,7 @@ ContentTrackingTypesDocumentation.lua CurrencyConstantsDocumentation.lua CursorConstDocumentation.lua DamageConstantsDocumentation.lua +DelvesConstantsDocumentation.lua EditModeManagerSharedDocumentation.lua EncounterJournalConstantsDocumentation.lua ExpansionLandingPageConstantsDocumentation.lua @@ -300,6 +304,7 @@ GamePadConstDocumentation.lua GameRulesConstantsDocumentation.lua GarrisonConstantsDocumentation.lua GossipConstantsDocumentation.lua +GroupFinderConstantsDocumentation.lua GuildInfoSharedDocumentation.lua InputConstantsDocumentation.lua ItemConstantsDocumentation.lua @@ -337,6 +342,7 @@ QuestSessionConstantsDocumentation.lua QueueSpecificDocumentation.lua RecruitAFriendSharedDocumentation.lua ReportSystemConstantsDocumentation.lua +ScreenLocationConstantsDocumentation.lua ScriptRegionSharedDocumentation.lua SharedScriptObjectModelLightDocumentation.lua SharedScriptObjectUnitPositionFrameDocumentation.lua diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/ChatInfoDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/ChatInfoDocumentation.lua index 2985f6aeef..c686ca89f1 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/ChatInfoDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/ChatInfoDocumentation.lua @@ -191,6 +191,25 @@ local ChatInfo = { Name = "isCensored", Type = "bool", Nilable = false }, }, }, + { + Name = "IsLoggingChat", + Type = "Function", + + Returns = + { + { Name = "enabled", Type = "bool", Nilable = false }, + }, + }, + { + Name = "IsLoggingCombat", + Type = "Function", + + Returns = + { + { Name = "enabled", Type = "bool", Nilable = false }, + { Name = "advanced", Type = "bool", Nilable = false }, + }, + }, { Name = "IsPartyChannelType", Type = "Function", @@ -430,6 +449,16 @@ local ChatInfo = { Name = "supressRaidIcons", Type = "bool", Nilable = false }, }, }, + { + Name = "ChatLoggingChanged", + Type = "Event", + LiteralName = "CHAT_LOGGING_CHANGED", + Payload = + { + { Name = "whichLog", Type = "number", Nilable = false }, + { Name = "isEnabled", Type = "bool", Nilable = false }, + }, + }, { Name = "ChatMsgAchievement", Type = "Event", diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/ClubDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/ClubDocumentation.lua index 2109e973d6..c4554b6ed6 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/ClubDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/ClubDocumentation.lua @@ -473,6 +473,22 @@ local Club = { Name = "invitations", Type = "table", InnerType = "ClubSelfInvitationInfo", Nilable = false }, }, }, + { + Name = "GetLastTicketResponse", + Type = "Function", + + Arguments = + { + { Name = "ticket", Type = "string", Nilable = false }, + }, + + Returns = + { + { Name = "error", Type = "ClubErrorType", Nilable = false }, + { Name = "info", Type = "ClubInfo", Nilable = true }, + { Name = "showError", Type = "bool", Nilable = false }, + }, + }, { Name = "GetMemberInfo", Type = "Function", diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/CurrencyConstantsDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/CurrencyConstantsDocumentation.lua index 87cccbaa82..ff6ce5876c 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/CurrencyConstantsDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/CurrencyConstantsDocumentation.lua @@ -5,9 +5,9 @@ local CurrencyConstants = { Name = "AccountCurrencyTransferResult", Type = "Enumeration", - NumValues = 9, + NumValues = 10, MinValue = 0, - MaxValue = 8, + MaxValue = 9, Fields = { { Name = "Success", Type = "AccountCurrencyTransferResult", EnumValue = 0 }, @@ -19,6 +19,7 @@ local CurrencyConstants = { Name = "NoValidSourceCharacter", Type = "AccountCurrencyTransferResult", EnumValue = 6 }, { Name = "ServerError", Type = "AccountCurrencyTransferResult", EnumValue = 7 }, { Name = "CannotUseCurrency", Type = "AccountCurrencyTransferResult", EnumValue = 8 }, + { Name = "TransactionInProgress", Type = "AccountCurrencyTransferResult", EnumValue = 9 }, }, }, { diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/DelvesConstantsDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/DelvesConstantsDocumentation.lua new file mode 100644 index 0000000000..9ba47ab9c9 --- /dev/null +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/DelvesConstantsDocumentation.lua @@ -0,0 +1,49 @@ +local DelvesConstants = +{ + Tables = + { + { + Name = "CompanionConfigSlotTypes", + Type = "Enumeration", + NumValues = 3, + MinValue = 0, + MaxValue = 2, + Fields = + { + { Name = "Role", Type = "CompanionConfigSlotTypes", EnumValue = 0 }, + { Name = "Utility", Type = "CompanionConfigSlotTypes", EnumValue = 1 }, + { Name = "Combat", Type = "CompanionConfigSlotTypes", EnumValue = 2 }, + }, + }, + { + Name = "CurioRarity", + Type = "Enumeration", + NumValues = 4, + MinValue = 1, + MaxValue = 4, + Fields = + { + { Name = "Common", Type = "CurioRarity", EnumValue = 1 }, + { Name = "Uncommon", Type = "CurioRarity", EnumValue = 2 }, + { Name = "Rare", Type = "CurioRarity", EnumValue = 3 }, + { Name = "Epic", Type = "CurioRarity", EnumValue = 4 }, + }, + }, + { + Name = "DelvesConsts", + Type = "Constants", + Values = + { + { Name = "DELVES_MIN_PLAYER_LEVEL_CONTENT_TUNING_ID", Type = "number", Value = 2677 }, + { Name = "DELVES_NORMAL_KEY_CURRENCY_ID", Type = "number", Value = 3028 }, + { Name = "DELVES_COMPANION_TOOLTIP_WIDGET_SET_ID", Type = "number", Value = 1331 }, + { Name = "DELVES_COMPANION_TRAIT_SYSTEM_ID", Type = "number", Value = 6 }, + { Name = "BRANN_COMPANION_INFO_ID", Type = "number", Value = 1 }, + { Name = "BRANN_MAX_LEVEL", Type = "number", Value = 60 }, + { Name = "BRANN_XP_FACTION_ID", Type = "number", Value = 1203 }, + }, + }, + }, +}; + +APIDocumentation:AddDocumentationTable(DelvesConstants); \ No newline at end of file diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/ExpansionInfoDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/ExpansionInfoDocumentation.lua index cbb1ab02bf..0c4b29f91c 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/ExpansionInfoDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/ExpansionInfoDocumentation.lua @@ -19,6 +19,20 @@ local ExpansionInfo = { Name = "isAtLeast", Type = "bool", Nilable = false }, }, }, + { + Name = "ClassicExpansionAtMost", + Type = "Function", + + Arguments = + { + { Name = "expansionLevel", Type = "number", Nilable = false }, + }, + + Returns = + { + { Name = "isAtMost", Type = "bool", Nilable = false }, + }, + }, { Name = "GetClassicExpansionLevel", Type = "Function", diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/FrameAPIDressUpModelDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/FrameAPIDressUpModelDocumentation.lua index 836801b629..0636e493a6 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/FrameAPIDressUpModelDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/FrameAPIDressUpModelDocumentation.lua @@ -40,6 +40,33 @@ local FrameAPIDressUpModel = { Name = "itemModAppearanceID", Type = "number", Nilable = false }, }, }, + { + Name = "GetItemTransmogInfo", + Type = "Function", + + Arguments = + { + { Name = "inventorySlot", Type = "luaIndex", Nilable = false }, + }, + + Returns = + { + { Name = "itemTransmogInfo", Type = "ItemTransmogInfo", Mixin = "ItemTransmogInfoMixin", Nilable = false }, + }, + }, + { + Name = "GetItemTransmogInfoList", + Type = "Function", + + Arguments = + { + }, + + Returns = + { + { Name = "infoList", Type = "table", InnerType = "ItemTransmogInfo", Nilable = false }, + }, + }, { Name = "GetObeyHideInTransmogFlag", Type = "Function", diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/FriendListDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/FriendListDocumentation.lua index 465a5fa491..8b43bcad92 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/FriendListDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/FriendListDocumentation.lua @@ -408,6 +408,7 @@ local FriendList = Payload = { { Name = "friendId", Type = "number", Nilable = false }, + { Name = "isCompanionApp", Type = "bool", Nilable = false, Default = false }, }, }, { @@ -417,6 +418,7 @@ local FriendList = Payload = { { Name = "friendId", Type = "number", Nilable = false }, + { Name = "isCompanionApp", Type = "bool", Nilable = false, Default = false }, }, }, { @@ -485,6 +487,20 @@ local FriendList = Type = "Event", LiteralName = "MUTELIST_UPDATE", }, + { + Name = "NewMatchmakingPartyInvite", + Type = "Event", + LiteralName = "NEW_MATCHMAKING_PARTY_INVITE", + }, + { + Name = "RejectedMatchmakingPartyInvite", + Type = "Event", + LiteralName = "REJECTED_MATCHMAKING_PARTY_INVITE", + Payload = + { + { Name = "name", Type = "cstring", Nilable = false }, + }, + }, { Name = "WhoListUpdate", Type = "Event", @@ -508,6 +524,7 @@ local FriendList = { Name = "level", Type = "number", Nilable = false }, { Name = "dnd", Type = "bool", Nilable = false }, { Name = "afk", Type = "bool", Nilable = false }, + { Name = "rafLinkType", Type = "RafLinkType", Nilable = false }, }, }, { diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/GMTicketInfoDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/GMTicketInfoDocumentation.lua index 7ff87fe18f..f699fdee6c 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/GMTicketInfoDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/GMTicketInfoDocumentation.lua @@ -66,6 +66,8 @@ local GMTicketInfo = { Name = "caseIndex", Type = "number", Nilable = true }, { Name = "waitTimeMinutes", Type = "number", Nilable = true }, { Name = "waitMessage", Type = "cstring", Nilable = true }, + { Name = "caseTitle", Type = "cstring", Nilable = true }, + { Name = "caseDescription", Type = "cstring", Nilable = true }, }, }, }, diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/GameModeManagerDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/GameModeManagerDocumentation.lua deleted file mode 100644 index 9c6d2a9c71..0000000000 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/GameModeManagerDocumentation.lua +++ /dev/null @@ -1,29 +0,0 @@ -local GameModeManager = -{ - Name = "GameModeManager", - Type = "System", - Namespace = "C_GameModeManager", - - Functions = - { - { - Name = "GetCurrentGameMode", - Type = "Function", - - Returns = - { - { Name = "gameMode", Type = "GameMode", Nilable = false }, - }, - }, - }, - - Events = - { - }, - - Tables = - { - }, -}; - -APIDocumentation:AddDocumentationTable(GameModeManager); \ No newline at end of file diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/GameRulesConstantsDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/GameRulesConstantsDocumentation.lua index 0a0efd3779..7bc3dec07a 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/GameRulesConstantsDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/GameRulesConstantsDocumentation.lua @@ -5,13 +5,27 @@ local GameRulesConstants = { Name = "GameRuleFlags", Type = "Enumeration", - NumValues = 2, + NumValues = 3, MinValue = 0, - MaxValue = 1, + MaxValue = 2, Fields = { { Name = "None", Type = "GameRuleFlags", EnumValue = 0 }, { Name = "AllowClient", Type = "GameRuleFlags", EnumValue = 1 }, + { Name = "RequiresDefault", Type = "GameRuleFlags", EnumValue = 2 }, + }, + }, + { + Name = "GameRuleType", + Type = "Enumeration", + NumValues = 3, + MinValue = 0, + MaxValue = 2, + Fields = + { + { Name = "Int", Type = "GameRuleType", EnumValue = 0 }, + { Name = "Float", Type = "GameRuleType", EnumValue = 1 }, + { Name = "Bool", Type = "GameRuleType", EnumValue = 2 }, }, }, }, diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/GlueDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/GlueDocumentation.lua index 1356cc43d7..264ac68d20 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/GlueDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/GlueDocumentation.lua @@ -2,9 +2,19 @@ local Glue = { Name = "Glue", Type = "System", + Namespace = "C_Glue", Functions = { + { + Name = "IsFirstLoadThisSession", + Type = "Function", + + Returns = + { + { Name = "IsFirstLoadThisSession", Type = "bool", Nilable = false }, + }, + }, { Name = "IsOnGlueScreen", Type = "Function", @@ -18,6 +28,11 @@ local Glue = Events = { + { + Name = "AccountCvarsLoaded", + Type = "Event", + LiteralName = "ACCOUNT_CVARS_LOADED", + }, }, Tables = diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/GroupFinderConstantsDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/GroupFinderConstantsDocumentation.lua new file mode 100644 index 0000000000..2d52d560b1 --- /dev/null +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/GroupFinderConstantsDocumentation.lua @@ -0,0 +1,8 @@ +local GroupFinderConstants = +{ + Tables = + { + }, +}; + +APIDocumentation:AddDocumentationTable(GroupFinderConstants); \ No newline at end of file diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGConstantsDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGConstantsDocumentation.lua index 3e0c2cd8cc..117d1719d4 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGConstantsDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGConstantsDocumentation.lua @@ -48,11 +48,24 @@ local LFGConstants = }, }, { - Name = "GroupFinderConstants", + Name = "PremadeGroupFinderStyle", + Type = "Enumeration", + NumValues = 3, + MinValue = 0, + MaxValue = 2, + Fields = + { + { Name = "Disabled", Type = "PremadeGroupFinderStyle", EnumValue = 0 }, + { Name = "Mainline", Type = "PremadeGroupFinderStyle", EnumValue = 1 }, + { Name = "Vanilla", Type = "PremadeGroupFinderStyle", EnumValue = 2 }, + }, + }, + { + Name = "LFGConstsExposed", Type = "Constants", Values = { - { Name = "MAX_GROUP_FINDER_ACTIVITIES", Type = "number", Value = 41 }, + { Name = "GROUP_FINDER_MAX_ACTIVITY_CAPACITY", Type = "number", Value = 16 }, }, }, { @@ -64,6 +77,16 @@ local LFGConstants = { Name = "LFG_ROLE_ANY", Type = "LFGRole", Value = Enum.LFGRoleMeta.NumValues }, }, }, + { + Name = "LFGRoles", + Type = "Structure", + Fields = + { + { Name = "tank", Type = "bool", Nilable = false }, + { Name = "healer", Type = "bool", Nilable = false }, + { Name = "dps", Type = "bool", Nilable = false }, + }, + }, }, }; diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGInfoDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGInfoDocumentation.lua index 3acf30a05d..223e9a4c56 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGInfoDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGInfoDocumentation.lua @@ -134,15 +134,6 @@ local LFGInfo = Name = "IsLFREnabled", Type = "Function", - Returns = - { - { Name = "enabled", Type = "bool", Nilable = false }, - }, - }, - { - Name = "IsPremadeGroupEnabled", - Type = "Function", - Returns = { { Name = "enabled", Type = "bool", Nilable = false }, diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGListInfoDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGListInfoDocumentation.lua index b5207ab242..24e29f6988 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGListInfoDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGListInfoDocumentation.lua @@ -45,6 +45,20 @@ local LFGListInfo = Name = "CopyActiveEntryInfoToCreationFields", Type = "Function", }, + { + Name = "CreateListing", + Type = "Function", + + Arguments = + { + { Name = "createData", Type = "LfgListingCreateData", Nilable = false }, + }, + + Returns = + { + { Name = "success", Type = "bool", Nilable = false }, + }, + }, { Name = "DoesEntryTitleMatchPrebuiltTitle", Type = "Function", @@ -233,35 +247,55 @@ local LFGListInfo = }, }, { - Name = "GetRoles", + Name = "GetPremadeGroupFinderStyle", + Type = "Function", + + Returns = + { + { Name = "style", Type = "PremadeGroupFinderStyle", Nilable = false }, + }, + }, + { + Name = "GetSearchResultInfo", Type = "Function", + Arguments = + { + { Name = "searchResultID", Type = "number", Nilable = false }, + }, + Returns = { - { Name = "roles", Type = "LFGRoles", Nilable = false }, + { Name = "searchResultData", Type = "LfgSearchResultData", Nilable = false }, }, }, { - Name = "GetSavedRoles", + Name = "GetSearchResultLeaderInfo", Type = "Function", + Arguments = + { + { Name = "searchResultID", Type = "number", Nilable = false }, + }, + Returns = { - { Name = "roles", Type = "LFGRoles", Nilable = false }, + { Name = "leaderInfo", Type = "LfgSearchResultPlayerInfo", Nilable = false }, }, }, { - Name = "GetSearchResultInfo", + Name = "GetSearchResultPlayerInfo", Type = "Function", Arguments = { { Name = "searchResultID", Type = "number", Nilable = false }, + { Name = "memberIndex", Type = "luaIndex", Nilable = false }, }, Returns = { - { Name = "searchResultData", Type = "LfgSearchResultData", Nilable = false }, + { Name = "playerInfo", Type = "LfgSearchResultPlayerInfo", Nilable = false }, }, }, { @@ -303,7 +337,7 @@ local LFGListInfo = Arguments = { - { Name = "activityID", Type = "number", Nilable = true }, + { Name = "activityCategoryID", Type = "number", Nilable = true }, }, Returns = @@ -311,6 +345,15 @@ local LFGListInfo = { Name = "isAuthenticated", Type = "bool", Nilable = false }, }, }, + { + Name = "IsPremadeGroupFinderEnabled", + Type = "Function", + + Returns = + { + { Name = "enabled", Type = "bool", Nilable = false }, + }, + }, { Name = "Search", Type = "Function", @@ -323,6 +366,7 @@ local LFGListInfo = { Name = "languageFilter", Type = "WowLocale", Nilable = true }, { Name = "searchCrossFactionListings", Type = "bool", Nilable = true, Default = false }, { Name = "advancedFilter", Type = "AdvancedFilterOptions", Nilable = true }, + { Name = "activityIDsFilter", Type = "table", InnerType = "number", Nilable = true, Documentation = { "Activity IDs to filter by." } }, }, }, { @@ -337,35 +381,35 @@ local LFGListInfo = }, }, { - Name = "SetRoles", + Name = "SetSearchToActivity", Type = "Function", Arguments = { - { Name = "roles", Type = "LFGRoles", Nilable = false }, - }, - - Returns = - { - { Name = "success", Type = "bool", Nilable = false }, + { Name = "activityID", Type = "number", Nilable = false }, }, }, { - Name = "SetSearchToActivity", + Name = "SetSearchToQuestID", Type = "Function", Arguments = { - { Name = "activityID", Type = "number", Nilable = false }, + { Name = "questID", Type = "number", Nilable = false }, }, }, { - Name = "SetSearchToQuestID", + Name = "UpdateListing", Type = "Function", Arguments = { - { Name = "questID", Type = "number", Nilable = false }, + { Name = "createData", Type = "LfgListingCreateData", Nilable = false }, + }, + + Returns = + { + { Name = "success", Type = "bool", Nilable = false }, }, }, { @@ -481,11 +525,6 @@ local LFGListInfo = { Name = "groupName", Type = "kstringLfgListChat", Nilable = false }, }, }, - { - Name = "LfgListRoleUpdate", - Type = "Event", - LiteralName = "LFG_LIST_ROLE_UPDATE", - }, { Name = "LfgListSearchFailed", Type = "Event", @@ -540,7 +579,7 @@ local LFGListInfo = { Name = "needsMyClass", Type = "bool", Nilable = false, Default = false }, { Name = "hasTank", Type = "bool", Nilable = false, Default = false }, { Name = "hasHealer", Type = "bool", Nilable = false, Default = false }, - { Name = "activities", Type = "table", InnerType = "number", Nilable = false }, + { Name = "activities", Type = "table", InnerType = "number", Nilable = false, Documentation = { "Activity group IDs to filter by." } }, { Name = "minimumRating", Type = "number", Nilable = false, Default = 0 }, { Name = "difficultyNormal", Type = "bool", Nilable = false, Default = false }, { Name = "difficultyHeroic", Type = "bool", Nilable = false, Default = false }, @@ -573,7 +612,7 @@ local LFGListInfo = { Name = "ilvlSuggestion", Type = "number", Nilable = false }, { Name = "filters", Type = "number", Nilable = false }, { Name = "minLevel", Type = "number", Nilable = false }, - { Name = "maxLevel", Type = "number", Nilable = false }, + { Name = "minLevelSuggestion", Type = "number", Nilable = false }, { Name = "maxLevelSuggestion", Type = "number", Nilable = false }, { Name = "maxNumPlayers", Type = "number", Nilable = false }, { Name = "displayType", Type = "LFGListDisplayType", Nilable = false }, @@ -588,7 +627,6 @@ local LFGListInfo = { Name = "allowCrossFaction", Type = "bool", Nilable = false }, { Name = "isHeroicActivity", Type = "bool", Nilable = false }, { Name = "isNormalActivity", Type = "bool", Nilable = false }, - { Name = "iconFileDataID", Type = "number", Nilable = false }, { Name = "mapID", Type = "number", Nilable = false }, { Name = "difficultyID", Type = "number", Nilable = false }, { Name = "redirectedDifficultyID", Type = "number", Nilable = false }, @@ -628,7 +666,6 @@ local LFGListInfo = Type = "Structure", Fields = { - { Name = "activityID", Type = "number", Nilable = false }, { Name = "activityIDs", Type = "table", InnerType = "number", Nilable = false }, { Name = "requiredItemLevel", Type = "number", Nilable = false }, { Name = "requiredHonorLevel", Type = "number", Nilable = false }, @@ -647,13 +684,20 @@ local LFGListInfo = }, }, { - Name = "LFGRoles", + Name = "LfgListingCreateData", Type = "Structure", Fields = { - { Name = "tank", Type = "bool", Nilable = false }, - { Name = "healer", Type = "bool", Nilable = false }, - { Name = "dps", Type = "bool", Nilable = false }, + { Name = "activityIDs", Type = "table", InnerType = "number", Nilable = false }, + { Name = "questID", Type = "number", Nilable = true }, + { Name = "isAutoAccept", Type = "bool", Nilable = false, Default = false }, + { Name = "isCrossFactionListing", Type = "bool", Nilable = false, Default = false }, + { Name = "isPrivateGroup", Type = "bool", Nilable = false, Default = false }, + { Name = "newPlayerFriendly", Type = "bool", Nilable = false, Default = false }, + { Name = "playstyle", Type = "LFGEntryPlaystyle", Nilable = false, Default = "None" }, + { Name = "requiredDungeonScore", Type = "number", Nilable = false, Default = 0 }, + { Name = "requiredItemLevel", Type = "number", Nilable = false, Default = 0 }, + { Name = "requiredPvpRating", Type = "number", Nilable = false, Default = 0 }, }, }, { @@ -662,7 +706,6 @@ local LFGListInfo = Fields = { { Name = "searchResultID", Type = "number", Nilable = false }, - { Name = "activityID", Type = "number", Nilable = false }, { Name = "activityIDs", Type = "table", InnerType = "number", Nilable = false }, { Name = "leaderName", Type = "string", Nilable = true }, { Name = "name", Type = "kstringLfgListSearch", Nilable = false }, @@ -679,15 +722,36 @@ local LFGListInfo = { Name = "autoAccept", Type = "bool", Nilable = false }, { Name = "isWarMode", Type = "bool", Nilable = false }, { Name = "age", Type = "time_t", Nilable = false }, + { Name = "questID", Type = "number", Nilable = true }, { Name = "leaderOverallDungeonScore", Type = "number", Nilable = true }, - { Name = "leaderDungeonScoreInfo", Type = "BestDungeonScoreMapInfo", Nilable = true }, + { Name = "leaderDungeonScoreInfo", Type = "table", InnerType = "BestDungeonScoreMapInfo", Nilable = false }, { Name = "leaderBestDungeonScoreInfo", Type = "BestDungeonScoreMapInfo", Nilable = true }, - { Name = "leaderPvpRatingInfo", Type = "PvpRatingInfo", Nilable = true }, + { Name = "leaderPvpRatingInfo", Type = "table", InnerType = "PvpRatingInfo", Nilable = false }, + { Name = "requiredDungeonScore", Type = "number", Nilable = true }, + { Name = "requiredPvpRating", Type = "number", Nilable = true }, + { Name = "playstyle", Type = "LFGEntryPlaystyle", Nilable = true }, + { Name = "crossFactionListing", Type = "bool", Nilable = true }, { Name = "leaderFactionGroup", Type = "number", Nilable = false }, { Name = "newPlayerFriendly", Type = "bool", Nilable = true }, { Name = "partyGUID", Type = "WOWGUID", Nilable = false }, }, }, + { + Name = "LfgSearchResultPlayerInfo", + Type = "Structure", + Fields = + { + { Name = "name", Type = "string", Nilable = true }, + { Name = "level", Type = "number", Nilable = true }, + { Name = "areaName", Type = "cstring", Nilable = true }, + { Name = "className", Type = "cstring", Nilable = false }, + { Name = "classFilename", Type = "cstring", Nilable = false }, + { Name = "specName", Type = "cstring", Nilable = true }, + { Name = "assignedRole", Type = "cstring", Nilable = false }, + { Name = "lfgRoles", Type = "LFGRoles", Nilable = false }, + { Name = "isLeader", Type = "bool", Nilable = false }, + }, + }, { Name = "PvpRatingInfo", Type = "Structure", diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGListRolesDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGListRolesDocumentation.lua new file mode 100644 index 0000000000..48c073d9f2 --- /dev/null +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/LFGListRolesDocumentation.lua @@ -0,0 +1,58 @@ +local LFGListRoles = +{ + Name = "LFGListRoles", + Type = "System", + Namespace = "C_LFGListRoles", + + Functions = + { + { + Name = "GetRoles", + Type = "Function", + + Returns = + { + { Name = "roles", Type = "LFGRoles", Nilable = false }, + }, + }, + { + Name = "GetSavedRoles", + Type = "Function", + + Returns = + { + { Name = "roles", Type = "LFGRoles", Nilable = false }, + }, + }, + { + Name = "SetRoles", + Type = "Function", + + Arguments = + { + { Name = "roles", Type = "LFGRoles", Nilable = false }, + { Name = "limitToClassRoles", Type = "bool", Nilable = false, Default = false }, + }, + + Returns = + { + { Name = "success", Type = "bool", Nilable = false }, + }, + }, + }, + + Events = + { + { + Name = "LfgListRoleUpdate", + Type = "Event", + LiteralName = "LFG_LIST_ROLE_UPDATE", + }, + }, + + Tables = + { + }, +}; + +APIDocumentation:AddDocumentationTable(LFGListRoles); \ No newline at end of file diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/MerchantFrameDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/MerchantFrameDocumentation.lua index ba2681d833..11c1c5199c 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/MerchantFrameDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/MerchantFrameDocumentation.lua @@ -52,6 +52,24 @@ local MerchantFrame = Tables = { + { + Name = "MerchantItemInfo", + Type = "Structure", + Fields = + { + { Name = "name", Type = "string", Nilable = true }, + { Name = "texture", Type = "fileID", Nilable = false }, + { Name = "price", Type = "number", Nilable = false, Default = 0 }, + { Name = "stackCount", Type = "number", Nilable = false, Default = 0 }, + { Name = "numAvailable", Type = "number", Nilable = false, Default = 0 }, + { Name = "isPurchasable", Type = "bool", Nilable = false, Default = false }, + { Name = "isUsable", Type = "bool", Nilable = false, Default = false }, + { Name = "hasExtendedCost", Type = "bool", Nilable = false, Default = false }, + { Name = "currencyID", Type = "number", Nilable = true }, + { Name = "spellID", Type = "number", Nilable = true }, + { Name = "isQuestStartItem", Type = "bool", Nilable = false, Default = false }, + }, + }, }, }; diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/PartyInfoDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/PartyInfoDocumentation.lua index b25e1d9a2c..f09f55a638 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/PartyInfoDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/PartyInfoDocumentation.lua @@ -95,6 +95,19 @@ local PartyInfo = Events = { + { + Name = "BnetRequestInviteConfirmation", + Type = "Event", + LiteralName = "BNET_REQUEST_INVITE_CONFIRMATION", + Payload = + { + { Name = "gameAccountID", Type = "number", Nilable = false }, + { Name = "questSessionActive", Type = "bool", Nilable = false }, + { Name = "tank", Type = "bool", Nilable = false }, + { Name = "healer", Type = "bool", Nilable = false }, + { Name = "dps", Type = "bool", Nilable = false }, + }, + }, { Name = "EnteredDifferentInstanceFromParty", Type = "Event", @@ -247,27 +260,6 @@ local PartyInfo = { Name = "preempted", Type = "bool", Nilable = false }, }, }, - { - Name = "RoleChangedInform", - Type = "Event", - LiteralName = "ROLE_CHANGED_INFORM", - Payload = - { - { Name = "changedName", Type = "cstring", Nilable = false }, - { Name = "fromName", Type = "cstring", Nilable = false }, - { Name = "oldRole", Type = "cstring", Nilable = false }, - { Name = "newRole", Type = "cstring", Nilable = false }, - }, - }, - { - Name = "RolePollBegin", - Type = "Event", - LiteralName = "ROLE_POLL_BEGIN", - Payload = - { - { Name = "fromName", Type = "cstring", Nilable = false }, - }, - }, { Name = "VoteKickReasonNeeded", Type = "Event", diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/PlayerScriptDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/PlayerScriptDocumentation.lua index 241493e774..1631cba443 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/PlayerScriptDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/PlayerScriptDocumentation.lua @@ -637,6 +637,18 @@ local PlayerScript = Tables = { + { + Name = "PlayerAttackPowerInfo", + Type = "Structure", + Fields = + { + { Name = "mainHandAttackPower", Type = "number", Nilable = false }, + { Name = "offHandAttackPower", Type = "number", Nilable = false }, + { Name = "rangedAttackPower", Type = "number", Nilable = false }, + { Name = "baseAttackPower", Type = "number", Nilable = false }, + { Name = "baseRangedAttackPower", Type = "number", Nilable = false }, + }, + }, }, }; diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/QuestInfoSharedDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/QuestInfoSharedDocumentation.lua index e3909a5a15..0716cff47c 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/QuestInfoSharedDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/QuestInfoSharedDocumentation.lua @@ -23,6 +23,25 @@ local QuestInfoShared = { Name = "WorldQuest", Type = "QuestClassification", EnumValue = 10 }, }, }, + { + Name = "QuestPOIMapInfo", + Type = "Structure", + Fields = + { + { Name = "childDepth", Type = "number", Nilable = true }, + { Name = "questTagType", Type = "QuestTagType", Nilable = true }, + { Name = "questID", Type = "number", Nilable = false }, + { Name = "numObjectives", Type = "number", Nilable = false }, + { Name = "mapID", Type = "number", Nilable = false }, + { Name = "x", Type = "number", Nilable = false }, + { Name = "y", Type = "number", Nilable = false }, + { Name = "isQuestStart", Type = "bool", Nilable = false }, + { Name = "isDaily", Type = "bool", Nilable = false }, + { Name = "isCombatAllyQuest", Type = "bool", Nilable = false }, + { Name = "isMeta", Type = "bool", Nilable = false }, + { Name = "inProgress", Type = "bool", Nilable = false }, + }, + }, }, }; diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/QuestLogDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/QuestLogDocumentation.lua index 59825db4bf..c11e78b2db 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/QuestLogDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/QuestLogDocumentation.lua @@ -74,7 +74,7 @@ local QuestLog = Returns = { - { Name = "quests", Type = "table", InnerType = "QuestOnMapInfo", Nilable = false }, + { Name = "quests", Type = "table", InnerType = "QuestPOIMapInfo", Nilable = false }, }, }, { @@ -306,16 +306,6 @@ local QuestLog = { Name = "numRequired", Type = "number", Nilable = false }, }, }, - { - Name = "QuestOnMapInfo", - Type = "Structure", - Fields = - { - { Name = "questID", Type = "number", Nilable = false }, - { Name = "x", Type = "number", Nilable = false }, - { Name = "y", Type = "number", Nilable = false }, - }, - }, }, }; diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/QuestTaskInfoDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/QuestTaskInfoDocumentation.lua index 9d9c85871d..9690a0c6fd 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/QuestTaskInfoDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/QuestTaskInfoDocumentation.lua @@ -110,7 +110,7 @@ local QuestTaskInfo = }, }, { - Name = "GetQuestsForPlayerByMapID", + Name = "GetQuestsOnMap", Type = "Function", Arguments = @@ -120,7 +120,7 @@ local QuestTaskInfo = Returns = { - { Name = "taskPOIs", Type = "table", InnerType = "TaskPOIData", Nilable = false }, + { Name = "taskPOIs", Type = "table", InnerType = "QuestPOIMapInfo", Nilable = false }, }, }, { @@ -163,24 +163,6 @@ local QuestTaskInfo = Tables = { - { - Name = "TaskPOIData", - Type = "Structure", - Fields = - { - { Name = "questId", Type = "number", Nilable = false }, - { Name = "x", Type = "number", Nilable = false }, - { Name = "y", Type = "number", Nilable = false }, - { Name = "inProgress", Type = "bool", Nilable = false }, - { Name = "numObjectives", Type = "number", Nilable = false }, - { Name = "mapID", Type = "number", Nilable = false }, - { Name = "isQuestStart", Type = "bool", Nilable = false }, - { Name = "isDaily", Type = "bool", Nilable = false }, - { Name = "isCombatAllyQuest", Type = "bool", Nilable = false }, - { Name = "isMeta", Type = "bool", Nilable = false }, - { Name = "childDepth", Type = "number", Nilable = true }, - }, - }, }, }; diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/RaidLocksDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/RaidLocksDocumentation.lua index 87740c5552..fac64f53d1 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/RaidLocksDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/RaidLocksDocumentation.lua @@ -6,6 +6,21 @@ local RaidLocks = Functions = { + { + Name = "GetRedirectedDifficultyID", + Type = "Function", + + Arguments = + { + { Name = "mapID", Type = "number", Nilable = false }, + { Name = "difficultyID", Type = "number", Nilable = false }, + }, + + Returns = + { + { Name = "redirectedDifficultyID", Type = "number", Nilable = false }, + }, + }, { Name = "IsEncounterComplete", Type = "Function", diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/RecruitAFriendDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/RecruitAFriendDocumentation.lua index bd437ad791..fc86593097 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/RecruitAFriendDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/RecruitAFriendDocumentation.lua @@ -7,26 +7,98 @@ local RecruitAFriend = Functions = { { - Name = "CanGrantLevel", + Name = "CanSummonFriend", Type = "Function", + Arguments = + { + { Name = "guid", Type = "WOWGUID", Nilable = false }, + }, + Returns = { { Name = "result", Type = "bool", Nilable = false }, }, }, { - Name = "CanSummonFriend", + Name = "ClaimActivityReward", Type = "Function", Arguments = { - { Name = "guid", Type = "WOWGUID", Nilable = false }, + { Name = "activityID", Type = "number", Nilable = false }, + { Name = "acceptanceID", Type = "RecruitAcceptanceID", Nilable = false }, }, Returns = { - { Name = "result", Type = "bool", Nilable = false }, + { Name = "success", Type = "bool", Nilable = false }, + }, + }, + { + Name = "ClaimNextReward", + Type = "Function", + + Arguments = + { + { Name = "rafVersion", Type = "RecruitAFriendRewardsVersion", Nilable = true }, + }, + + Returns = + { + { Name = "success", Type = "bool", Nilable = false }, + }, + }, + { + Name = "GenerateRecruitmentLink", + Type = "Function", + + Returns = + { + { Name = "success", Type = "bool", Nilable = false }, + }, + }, + { + Name = "GetRAFInfo", + Type = "Function", + + Returns = + { + { Name = "info", Type = "RafInfo", Nilable = false }, + }, + }, + { + Name = "GetRAFSystemInfo", + Type = "Function", + + Returns = + { + { Name = "systemInfo", Type = "RafSystemInfo", Nilable = false }, + }, + }, + { + Name = "GetRecruitActivityRequirementsText", + Type = "Function", + + Arguments = + { + { Name = "activityID", Type = "number", Nilable = false }, + { Name = "acceptanceID", Type = "RecruitAcceptanceID", Nilable = false }, + }, + + Returns = + { + { Name = "requirementsText", Type = "table", InnerType = "string", Nilable = false }, + }, + }, + { + Name = "GetRecruitInfo", + Type = "Function", + + Returns = + { + { Name = "active", Type = "bool", Nilable = false }, + { Name = "faction", Type = "number", Nilable = false }, }, }, { @@ -41,12 +113,21 @@ local RecruitAFriend = }, }, { - Name = "IsReferAFriendLinked", + Name = "IsEnabled", + Type = "Function", + + Returns = + { + { Name = "enabled", Type = "bool", Nilable = false }, + }, + }, + { + Name = "IsRecruitAFriendLinked", Type = "Function", Arguments = { - { Name = "guid", Type = "UnitToken", Nilable = false }, + { Name = "guid", Type = "WOWGUID", Nilable = false }, }, Returns = @@ -54,6 +135,38 @@ local RecruitAFriend = { Name = "result", Type = "bool", Nilable = false }, }, }, + { + Name = "IsRecruitingEnabled", + Type = "Function", + + Returns = + { + { Name = "enabled", Type = "bool", Nilable = false }, + }, + }, + { + Name = "RemoveRAFRecruit", + Type = "Function", + + Arguments = + { + { Name = "wowAccountGUID", Type = "WOWGUID", Nilable = false }, + }, + + Returns = + { + { Name = "success", Type = "bool", Nilable = false }, + }, + }, + { + Name = "RequestUpdatedRecruitmentInfo", + Type = "Function", + + Returns = + { + { Name = "success", Type = "bool", Nilable = false }, + }, + }, { Name = "SummonFriend", Type = "Function", @@ -69,74 +182,260 @@ local RecruitAFriend = Events = { { - Name = "LevelGrantProposed", + Name = "RafInfoUpdated", Type = "Event", - LiteralName = "LEVEL_GRANT_PROPOSED", + LiteralName = "RAF_INFO_UPDATED", Payload = { - { Name = "senderName", Type = "cstring", Nilable = false }, + { Name = "info", Type = "RafInfo", Nilable = false }, }, }, { - Name = "PartyReferAFriendUpdated", + Name = "RafRecruitingEnabledStatus", Type = "Event", - LiteralName = "PARTY_REFER_A_FRIEND_UPDATED", + LiteralName = "RAF_RECRUITING_ENABLED_STATUS", Payload = { - { Name = "unitTarget", Type = "UnitToken", Nilable = false }, + { Name = "enabled", Type = "bool", Nilable = false }, }, }, { - Name = "RecruitAFriendCanEmail", + Name = "RafRewardClaimFailed", Type = "Event", - LiteralName = "RECRUIT_A_FRIEND_CAN_EMAIL", + LiteralName = "RAF_REWARD_CLAIM_FAILED", + }, + { + Name = "RafSystemEnabledStatus", + Type = "Event", + LiteralName = "RAF_SYSTEM_ENABLED_STATUS", Payload = { - { Name = "resultCode", Type = "number", Nilable = false }, + { Name = "enabled", Type = "bool", Nilable = false }, }, }, { - Name = "RecruitAFriendInvitationFailed", + Name = "RafSystemInfoUpdated", Type = "Event", - LiteralName = "RECRUIT_A_FRIEND_INVITATION_FAILED", + LiteralName = "RAF_SYSTEM_INFO_UPDATED", Payload = { - { Name = "failureReason", Type = "cstring", Nilable = false }, + { Name = "systemInfo", Type = "RafSystemInfo", Nilable = false }, }, }, + }, + + Tables = + { { - Name = "RecruitAFriendInviterFriendAdded", - Type = "Event", - LiteralName = "RECRUIT_A_FRIEND_INVITER_FRIEND_ADDED", - Payload = + Name = "RafRecruitActivityState", + Type = "Enumeration", + NumValues = 3, + MinValue = 0, + MaxValue = 2, + Fields = { - { Name = "name", Type = "cstring", Nilable = false }, + { Name = "Incomplete", Type = "RafRecruitActivityState", EnumValue = 0 }, + { Name = "Complete", Type = "RafRecruitActivityState", EnumValue = 1 }, + { Name = "RewardClaimed", Type = "RafRecruitActivityState", EnumValue = 2 }, }, }, { - Name = "RecruitAFriendSystemStatus", - Type = "Event", - LiteralName = "RECRUIT_A_FRIEND_SYSTEM_STATUS", + Name = "RafRecruitSubStatus", + Type = "Enumeration", + NumValues = 3, + MinValue = 0, + MaxValue = 2, + Fields = + { + { Name = "Trial", Type = "RafRecruitSubStatus", EnumValue = 0 }, + { Name = "Active", Type = "RafRecruitSubStatus", EnumValue = 1 }, + { Name = "Inactive", Type = "RafRecruitSubStatus", EnumValue = 2 }, + }, }, { - Name = "SorByTextUpdated", - Type = "Event", - LiteralName = "SOR_BY_TEXT_UPDATED", + Name = "RafRewardType", + Type = "Enumeration", + NumValues = 8, + MinValue = 0, + MaxValue = 7, + Fields = + { + { Name = "Pet", Type = "RafRewardType", EnumValue = 0 }, + { Name = "Mount", Type = "RafRewardType", EnumValue = 1 }, + { Name = "Appearance", Type = "RafRewardType", EnumValue = 2 }, + { Name = "Title", Type = "RafRewardType", EnumValue = 3 }, + { Name = "GameTime", Type = "RafRewardType", EnumValue = 4 }, + { Name = "AppearanceSet", Type = "RafRewardType", EnumValue = 5 }, + { Name = "Illusion", Type = "RafRewardType", EnumValue = 6 }, + { Name = "Invalid", Type = "RafRewardType", EnumValue = 7 }, + }, }, { - Name = "SorCountsUpdated", - Type = "Event", - LiteralName = "SOR_COUNTS_UPDATED", + Name = "RafAppearanceInfo", + Type = "Structure", + Fields = + { + { Name = "appearanceID", Type = "number", Nilable = false }, + }, }, { - Name = "SorStartExperienceIncomplete", - Type = "Event", - LiteralName = "SOR_START_EXPERIENCE_INCOMPLETE", + Name = "RafAppearanceSetInfo", + Type = "Structure", + Fields = + { + { Name = "setID", Type = "number", Nilable = false }, + { Name = "setName", Type = "string", Nilable = false }, + { Name = "appearanceIDs", Type = "table", InnerType = "number", Nilable = false }, + }, + }, + { + Name = "RafIllusionInfo", + Type = "Structure", + Fields = + { + { Name = "spellItemEnchantmentID", Type = "number", Nilable = false }, + }, + }, + { + Name = "RafInfo", + Type = "Structure", + Fields = + { + { Name = "versions", Type = "table", InnerType = "RafVersionInfo", Nilable = false }, + { Name = "recruitmentInfo", Type = "RafRecruitmentinfo", Nilable = true }, + { Name = "recruits", Type = "table", InnerType = "RafRecruit", Nilable = false }, + { Name = "claimInProgress", Type = "bool", Nilable = false }, + }, + }, + { + Name = "RafMonthCount", + Type = "Structure", + Fields = + { + { Name = "lifetimeMonths", Type = "number", Nilable = false }, + { Name = "spentMonths", Type = "number", Nilable = false }, + { Name = "availableMonths", Type = "number", Nilable = false }, + }, + }, + { + Name = "RafMountInfo", + Type = "Structure", + Fields = + { + { Name = "spellID", Type = "number", Nilable = false }, + { Name = "mountID", Type = "number", Nilable = false }, + }, + }, + { + Name = "RafPetInfo", + Type = "Structure", + Fields = + { + { Name = "creatureID", Type = "number", Nilable = false }, + { Name = "speciesID", Type = "number", Nilable = false }, + { Name = "displayID", Type = "number", Nilable = false }, + { Name = "speciesName", Type = "string", Nilable = false }, + { Name = "description", Type = "string", Nilable = false }, + }, + }, + { + Name = "RafRecruit", + Type = "Structure", + Fields = + { + { Name = "bnetAccountID", Type = "number", Nilable = false }, + { Name = "wowAccountGUID", Type = "WOWGUID", Nilable = false }, + { Name = "battleTag", Type = "string", Nilable = false }, + { Name = "monthsRemaining", Type = "number", Nilable = false }, + { Name = "subStatus", Type = "RafRecruitSubStatus", Nilable = false }, + { Name = "acceptanceID", Type = "RecruitAcceptanceID", Nilable = false }, + { Name = "versionRecruited", Type = "RecruitAFriendRewardsVersion", Nilable = false }, + { Name = "activities", Type = "table", InnerType = "RafRecruitActivity", Nilable = false }, + }, + }, + { + Name = "RafRecruitActivity", + Type = "Structure", + Fields = + { + { Name = "activityID", Type = "number", Nilable = false }, + { Name = "rewardQuestID", Type = "number", Nilable = false }, + { Name = "state", Type = "RafRecruitActivityState", Nilable = false }, + }, + }, + { + Name = "RafRecruitmentinfo", + Type = "Structure", + Fields = + { + { Name = "recruitmentCode", Type = "string", Nilable = false }, + { Name = "recruitmentURL", Type = "string", Nilable = false }, + { Name = "expireTime", Type = "number", Nilable = false }, + { Name = "remainingTimeSeconds", Type = "number", Nilable = false }, + { Name = "totalUses", Type = "number", Nilable = false }, + { Name = "remainingUses", Type = "number", Nilable = false }, + { Name = "sourceRealm", Type = "string", Nilable = false }, + { Name = "sourceFaction", Type = "string", Nilable = false }, + }, + }, + { + Name = "RafReward", + Type = "Structure", + Fields = + { + { Name = "rewardID", Type = "number", Nilable = false }, + { Name = "rafVersion", Type = "RecruitAFriendRewardsVersion", Nilable = false }, + { Name = "itemID", Type = "number", Nilable = false }, + { Name = "rewardType", Type = "RafRewardType", Nilable = false }, + { Name = "petInfo", Type = "RafPetInfo", Nilable = true }, + { Name = "mountInfo", Type = "RafMountInfo", Nilable = true }, + { Name = "appearanceInfo", Type = "RafAppearanceInfo", Nilable = true }, + { Name = "titleInfo", Type = "RafTitleInfo", Nilable = true }, + { Name = "appearanceSetInfo", Type = "RafAppearanceSetInfo", Nilable = true }, + { Name = "illusionInfo", Type = "RafIllusionInfo", Nilable = true }, + { Name = "canClaim", Type = "bool", Nilable = false }, + { Name = "claimed", Type = "bool", Nilable = false }, + { Name = "canAfford", Type = "bool", Nilable = false }, + { Name = "repeatable", Type = "bool", Nilable = false }, + { Name = "repeatableClaimCount", Type = "number", Nilable = false }, + { Name = "monthsRequired", Type = "number", Nilable = false }, + { Name = "monthCost", Type = "number", Nilable = false }, + { Name = "availableInMonths", Type = "number", Nilable = false }, + { Name = "iconID", Type = "fileID", Nilable = false }, + }, + }, + { + Name = "RafSystemInfo", + Type = "Structure", + Fields = + { + { Name = "maxRecruits", Type = "number", Nilable = false }, + { Name = "maxRecruitMonths", Type = "number", Nilable = false }, + { Name = "maxRecruitmentUses", Type = "number", Nilable = false }, + { Name = "daysInCycle", Type = "number", Nilable = false }, + }, + }, + { + Name = "RafTitleInfo", + Type = "Structure", + Fields = + { + { Name = "titleMaskID", Type = "number", Nilable = false }, + }, + }, + { + Name = "RafVersionInfo", + Type = "Structure", + Fields = + { + { Name = "rafVersion", Type = "RecruitAFriendRewardsVersion", Nilable = false }, + { Name = "monthCount", Type = "RafMonthCount", Nilable = false }, + { Name = "rewards", Type = "table", InnerType = "RafReward", Nilable = false }, + { Name = "nextReward", Type = "RafReward", Nilable = true }, + { Name = "numAffordableRewards", Type = "number", Nilable = false }, + { Name = "numRecruits", Type = "number", Nilable = false }, + }, }, - }, - - Tables = - { }, }; diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/ScenarioInfoDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/ScenarioInfoDocumentation.lua new file mode 100644 index 0000000000..4d43f6e125 --- /dev/null +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/ScenarioInfoDocumentation.lua @@ -0,0 +1,251 @@ +local ScenarioInfo = +{ + Name = "ScenarioInfo", + Type = "System", + Namespace = "C_ScenarioInfo", + + Functions = + { + { + Name = "GetCriteriaInfo", + Type = "Function", + + Arguments = + { + { Name = "criteriaIndex", Type = "number", Nilable = false }, + }, + + Returns = + { + { Name = "scenarioCriteriaInfo", Type = "ScenarioCriteriaInfo", Nilable = false }, + }, + }, + { + Name = "GetCriteriaInfoByStep", + Type = "Function", + + Arguments = + { + { Name = "stepID", Type = "number", Nilable = false }, + { Name = "criteriaIndex", Type = "number", Nilable = false }, + }, + + Returns = + { + { Name = "scenarioCriteriaInfo", Type = "ScenarioCriteriaInfo", Nilable = false }, + }, + }, + { + Name = "GetJailersTowerTypeString", + Type = "Function", + + Arguments = + { + { Name = "runType", Type = "JailersTowerType", Nilable = false }, + }, + + Returns = + { + { Name = "typeString", Type = "cstring", Nilable = true }, + }, + }, + { + Name = "GetScenarioInfo", + Type = "Function", + + Returns = + { + { Name = "scenarioInfo", Type = "ScenarioInformation", Nilable = false }, + }, + }, + { + Name = "GetScenarioStepInfo", + Type = "Function", + + Arguments = + { + { Name = "scenarioStepID", Type = "number", Nilable = true }, + }, + + Returns = + { + { Name = "scenarioStepInfo", Type = "ScenarioStepInfo", Nilable = false }, + }, + }, + }, + + Events = + { + { + Name = "JailersTowerLevelUpdate", + Type = "Event", + LiteralName = "JAILERS_TOWER_LEVEL_UPDATE", + Payload = + { + { Name = "level", Type = "number", Nilable = false }, + { Name = "type", Type = "JailersTowerType", Nilable = false }, + }, + }, + { + Name = "ScenarioBonusObjectiveComplete", + Type = "Event", + LiteralName = "SCENARIO_BONUS_OBJECTIVE_COMPLETE", + Payload = + { + { Name = "bonusObjectiveID", Type = "number", Nilable = false }, + }, + }, + { + Name = "ScenarioBonusVisibilityUpdate", + Type = "Event", + LiteralName = "SCENARIO_BONUS_VISIBILITY_UPDATE", + }, + { + Name = "ScenarioCompleted", + Type = "Event", + LiteralName = "SCENARIO_COMPLETED", + Payload = + { + { Name = "questID", Type = "number", Nilable = true }, + { Name = "xp", Type = "number", Nilable = true }, + { Name = "money", Type = "number", Nilable = true }, + }, + }, + { + Name = "ScenarioCriteriaShowStateUpdate", + Type = "Event", + LiteralName = "SCENARIO_CRITERIA_SHOW_STATE_UPDATE", + Payload = + { + { Name = "show", Type = "bool", Nilable = false }, + }, + }, + { + Name = "ScenarioCriteriaUpdate", + Type = "Event", + LiteralName = "SCENARIO_CRITERIA_UPDATE", + Payload = + { + { Name = "criteriaID", Type = "number", Nilable = false }, + }, + }, + { + Name = "ScenarioPoiUpdate", + Type = "Event", + LiteralName = "SCENARIO_POI_UPDATE", + }, + { + Name = "ScenarioSpellUpdate", + Type = "Event", + LiteralName = "SCENARIO_SPELL_UPDATE", + }, + { + Name = "ScenarioUpdate", + Type = "Event", + LiteralName = "SCENARIO_UPDATE", + Payload = + { + { Name = "newStep", Type = "bool", Nilable = true }, + }, + }, + }, + + Tables = + { + { + Name = "JailersTowerType", + Type = "Enumeration", + NumValues = 15, + MinValue = 0, + MaxValue = 14, + Fields = + { + { Name = "TwistingCorridors", Type = "JailersTowerType", EnumValue = 0 }, + { Name = "SkoldusHalls", Type = "JailersTowerType", EnumValue = 1 }, + { Name = "FractureChambers", Type = "JailersTowerType", EnumValue = 2 }, + { Name = "Soulforges", Type = "JailersTowerType", EnumValue = 3 }, + { Name = "Coldheart", Type = "JailersTowerType", EnumValue = 4 }, + { Name = "Mortregar", Type = "JailersTowerType", EnumValue = 5 }, + { Name = "UpperReaches", Type = "JailersTowerType", EnumValue = 6 }, + { Name = "ArkobanHall", Type = "JailersTowerType", EnumValue = 7 }, + { Name = "TormentChamberJaina", Type = "JailersTowerType", EnumValue = 8 }, + { Name = "TormentChamberThrall", Type = "JailersTowerType", EnumValue = 9 }, + { Name = "TormentChamberAnduin", Type = "JailersTowerType", EnumValue = 10 }, + { Name = "AdamantVaults", Type = "JailersTowerType", EnumValue = 11 }, + { Name = "ForgottenCatacombs", Type = "JailersTowerType", EnumValue = 12 }, + { Name = "Ossuary", Type = "JailersTowerType", EnumValue = 13 }, + { Name = "BossRush", Type = "JailersTowerType", EnumValue = 14 }, + }, + }, + { + Name = "ScenarioCriteriaInfo", + Type = "Structure", + Fields = + { + { Name = "description", Type = "string", Nilable = false }, + { Name = "criteriaType", Type = "number", Nilable = false, Default = 0 }, + { Name = "completed", Type = "bool", Nilable = false, Default = false }, + { Name = "quantity", Type = "number", Nilable = false, Default = 0 }, + { Name = "totalQuantity", Type = "number", Nilable = false, Default = 0 }, + { Name = "flags", Type = "number", Nilable = false, Default = 0 }, + { Name = "assetID", Type = "number", Nilable = false, Default = 0 }, + { Name = "criteriaID", Type = "number", Nilable = false }, + { Name = "duration", Type = "number", Nilable = false, Default = 0 }, + { Name = "elapsed", Type = "number", Nilable = false, Default = 0 }, + { Name = "failed", Type = "bool", Nilable = false, Default = false }, + { Name = "isWeightedProgress", Type = "bool", Nilable = false, Default = false }, + { Name = "isFormatted", Type = "bool", Nilable = false, Default = false }, + { Name = "quantityString", Type = "string", Nilable = false }, + }, + }, + { + Name = "ScenarioInformation", + Type = "Structure", + Fields = + { + { Name = "name", Type = "string", Nilable = false }, + { Name = "currentStage", Type = "number", Nilable = false }, + { Name = "numStages", Type = "number", Nilable = false }, + { Name = "flags", Type = "number", Nilable = false }, + { Name = "isComplete", Type = "bool", Nilable = false }, + { Name = "xp", Type = "number", Nilable = false }, + { Name = "money", Type = "number", Nilable = false }, + { Name = "type", Type = "number", Nilable = false }, + { Name = "area", Type = "string", Nilable = false }, + { Name = "uiTextureKit", Type = "textureKit", Nilable = false }, + { Name = "scenarioID", Type = "number", Nilable = false }, + }, + }, + { + Name = "ScenarioStepInfo", + Type = "Structure", + Fields = + { + { Name = "title", Type = "string", Nilable = false }, + { Name = "description", Type = "string", Nilable = false }, + { Name = "numCriteria", Type = "number", Nilable = false }, + { Name = "stepFailed", Type = "bool", Nilable = false }, + { Name = "isBonusStep", Type = "bool", Nilable = false }, + { Name = "isForCurrentStepOnly", Type = "bool", Nilable = false }, + { Name = "shouldShowBonusObjective", Type = "bool", Nilable = false }, + { Name = "spells", Type = "table", InnerType = "ScenarioStepSpellInfo", Nilable = false }, + { Name = "weightedProgress", Type = "number", Nilable = true }, + { Name = "rewardQuestID", Type = "number", Nilable = false }, + { Name = "widgetSetID", Type = "number", Nilable = true }, + { Name = "stepID", Type = "number", Nilable = false }, + }, + }, + { + Name = "ScenarioStepSpellInfo", + Type = "Structure", + Fields = + { + { Name = "spellID", Type = "number", Nilable = false }, + { Name = "name", Type = "string", Nilable = false }, + { Name = "icon", Type = "number", Nilable = false }, + }, + }, + }, +}; + +APIDocumentation:AddDocumentationTable(ScenarioInfo); \ No newline at end of file diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/ScreenLocationConstantsDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/ScreenLocationConstantsDocumentation.lua new file mode 100644 index 0000000000..40da0f4a26 --- /dev/null +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/ScreenLocationConstantsDocumentation.lua @@ -0,0 +1,30 @@ +local ScreenLocationConstants = +{ + Tables = + { + { + Name = "ScreenLocationType", + Type = "Enumeration", + NumValues = 12, + MinValue = 0, + MaxValue = 11, + Fields = + { + { Name = "Center", Type = "ScreenLocationType", EnumValue = 0 }, + { Name = "Left", Type = "ScreenLocationType", EnumValue = 1 }, + { Name = "Right", Type = "ScreenLocationType", EnumValue = 2 }, + { Name = "Top", Type = "ScreenLocationType", EnumValue = 3 }, + { Name = "Bottom", Type = "ScreenLocationType", EnumValue = 4 }, + { Name = "TopLeft", Type = "ScreenLocationType", EnumValue = 5 }, + { Name = "TopRight", Type = "ScreenLocationType", EnumValue = 6 }, + { Name = "LeftOutside", Type = "ScreenLocationType", EnumValue = 7 }, + { Name = "RightOutside", Type = "ScreenLocationType", EnumValue = 8 }, + { Name = "LeftRight", Type = "ScreenLocationType", EnumValue = 9 }, + { Name = "TopBottom", Type = "ScreenLocationType", EnumValue = 10 }, + { Name = "LeftRightOutside", Type = "ScreenLocationType", EnumValue = 11 }, + }, + }, + }, +}; + +APIDocumentation:AddDocumentationTable(ScreenLocationConstants); \ No newline at end of file diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/SimpleStatusBarAPIDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/SimpleStatusBarAPIDocumentation.lua index 8ff757cfe1..c0df79228a 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/SimpleStatusBarAPIDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/SimpleStatusBarAPIDocumentation.lua @@ -235,6 +235,11 @@ local SimpleStatusBarAPI = { { Name = "asset", Type = "TextureAsset", Nilable = false }, }, + + Returns = + { + { Name = "success", Type = "bool", Nilable = false }, + }, }, { Name = "SetValue", diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/SocialQueueDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/SocialQueueDocumentation.lua index 58bad1e0e5..28849c0989 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/SocialQueueDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/SocialQueueDocumentation.lua @@ -10,6 +10,21 @@ local SocialQueue = Events = { + { + Name = "SocialQueueConfigUpdated", + Type = "Event", + LiteralName = "SOCIAL_QUEUE_CONFIG_UPDATED", + }, + { + Name = "SocialQueueUpdate", + Type = "Event", + LiteralName = "SOCIAL_QUEUE_UPDATE", + Payload = + { + { Name = "groupGUID", Type = "WOWGUID", Nilable = false }, + { Name = "numAddedItems", Type = "number", Nilable = true }, + }, + }, }, Tables = @@ -55,6 +70,7 @@ local SocialQueue = { Name = "needHealer", Type = "bool", Nilable = false }, { Name = "needDamage", Type = "bool", Nilable = false }, { Name = "isSoloQueueParty", Type = "bool", Nilable = false }, + { Name = "questSessionActive", Type = "bool", Nilable = false }, { Name = "leaderGUID", Type = "WOWGUID", Nilable = false }, }, }, diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/SocialRestrictionsDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/SocialRestrictionsDocumentation.lua index 2fe74db1d9..dcaf3a4484 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/SocialRestrictionsDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/SocialRestrictionsDocumentation.lua @@ -10,13 +10,33 @@ local SocialRestrictions = Name = "AcknowledgeRegionalChatDisabled", Type = "Function", }, + { + Name = "CanReceiveChat", + Type = "Function", + Documentation = { "Returns true if the player meets all conditions that allow them to receive chat messages." }, + + Returns = + { + { Name = "canReceiveChat", Type = "bool", Nilable = false }, + }, + }, + { + Name = "CanSendChat", + Type = "Function", + Documentation = { "Returns true if the player meets all conditions that allow them to send chat messages." }, + + Returns = + { + { Name = "canSendChat", Type = "bool", Nilable = false }, + }, + }, { Name = "IsChatDisabled", Type = "Function", Returns = { - { Name = "isDisabled", Type = "bool", Nilable = false }, + { Name = "disabled", Type = "bool", Nilable = false }, }, }, { diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/SpecializationInfoDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/SpecializationInfoDocumentation.lua index c75f3d50cb..cbfea2cf61 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/SpecializationInfoDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/SpecializationInfoDocumentation.lua @@ -6,6 +6,20 @@ local SpecializationInfo = Functions = { + { + Name = "GetNumSpecializationsForClassID", + Type = "Function", + + Arguments = + { + { Name = "specID", Type = "number", Nilable = false }, + }, + + Returns = + { + { Name = "specCount", Type = "number", Nilable = false }, + }, + }, }, Events = diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/SpellActivationOverlayDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/SpellActivationOverlayDocumentation.lua index 34b5e87e3f..9a43d5316d 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/SpellActivationOverlayDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/SpellActivationOverlayDocumentation.lua @@ -45,7 +45,7 @@ local SpellActivationOverlay = { { Name = "spellID", Type = "number", Nilable = false }, { Name = "overlayFileDataID", Type = "number", Nilable = false }, - { Name = "locationName", Type = "cstring", Nilable = false }, + { Name = "locationType", Type = "ScreenLocationType", Nilable = false }, { Name = "scale", Type = "number", Nilable = false }, { Name = "r", Type = "number", Nilable = false }, { Name = "g", Type = "number", Nilable = false }, diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/SpellDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/SpellDocumentation.lua index e723af2fac..6f8feb20d0 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/SpellDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/SpellDocumentation.lua @@ -13,7 +13,7 @@ local Spell = Arguments = { - { Name = "spellIdentifier", Type = "SpellIdentifier", Nilable = false, Documentation = { "Spell ID, name, name(subtext), or link" } }, + { Name = "spellIdentifier", Type = "SpellIdentifier", Nilable = false, Documentation = { "Spell ID, name, name(subtext), or link; Using name will always check for an override on that spell" } }, }, Returns = @@ -87,7 +87,7 @@ local Spell = Arguments = { - { Name = "spellIdentifier", Type = "SpellIdentifier", Nilable = false, Documentation = { "Spell ID, name, name(subtext), or link; If passed a spell ID, will return same id as was passed" } }, + { Name = "spellIdentifier", Type = "SpellIdentifier", Nilable = false, Documentation = { "Spell ID, name, name(subtext), or link; Using name will always check for an override on that spell; If passed a spell ID, will return same id as was passed" } }, }, Returns = @@ -102,7 +102,7 @@ local Spell = Arguments = { - { Name = "spellIdentifier", Type = "SpellIdentifier", Nilable = false, Documentation = { "Spell ID, name, name(subtext), or link" } }, + { Name = "spellIdentifier", Type = "SpellIdentifier", Nilable = false, Documentation = { "Spell ID, name, name(subtext), or link; Using name will always check for an override on that spell" } }, }, Returns = diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/TraitConstantsDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/TraitConstantsDocumentation.lua index 172c236a88..af134f1f63 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/TraitConstantsDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/TraitConstantsDocumentation.lua @@ -263,13 +263,14 @@ local TraitConstants = { Name = "TraitSystemFlag", Type = "Enumeration", - NumValues = 2, + NumValues = 3, MinValue = 1, - MaxValue = 2, + MaxValue = 4, Fields = { { Name = "AllowMultipleLoadoutsPerTree", Type = "TraitSystemFlag", EnumValue = 1 }, { Name = "ShowSpendConfirmation", Type = "TraitSystemFlag", EnumValue = 2 }, + { Name = "AllowEditInCombat", Type = "TraitSystemFlag", EnumValue = 4 }, }, }, { diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/TransmogDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/TransmogDocumentation.lua index ae39c8bb68..7e53856e67 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/TransmogDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/TransmogDocumentation.lua @@ -268,6 +268,15 @@ local Transmog = { Name = "isBeingCollapsed", Type = "bool", Nilable = false }, }, }, + { + Name = "LoadOutfit", + Type = "Function", + + Arguments = + { + { Name = "outfitID", Type = "number", Nilable = false }, + }, + }, { Name = "SetPending", Type = "Function", diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/TransmogItemsDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/TransmogItemsDocumentation.lua index 88a9e5ac5f..b1149a61aa 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/TransmogItemsDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/TransmogItemsDocumentation.lua @@ -39,6 +39,20 @@ local TransmogItems = { Name = "areAllSourceTypeFiltersChecked", Type = "bool", Nilable = false }, }, }, + { + Name = "CanAppearanceBeDisplayedOnPlayer", + Type = "Function", + + Arguments = + { + { Name = "itemAppearanceID", Type = "number", Nilable = false }, + }, + + Returns = + { + { Name = "canAppearanceBeDisplayedOnPlayer", Type = "bool", Nilable = false }, + }, + }, { Name = "ClearNewAppearance", Type = "Function", @@ -62,6 +76,15 @@ local TransmogItems = { Name = "completed", Type = "bool", Nilable = false }, }, }, + { + Name = "DeleteOutfit", + Type = "Function", + + Arguments = + { + { Name = "outfitID", Type = "number", Nilable = false }, + }, + }, { Name = "EndSearch", Type = "Function", @@ -300,6 +323,15 @@ local TransmogItems = { Name = "category", Type = "TransmogCollectionType", Nilable = false }, }, }, + { + Name = "GetNumMaxOutfits", + Type = "Function", + + Returns = + { + { Name = "maxOutfits", Type = "number", Nilable = false }, + }, + }, { Name = "GetNumTransmogSources", Type = "Function", @@ -309,6 +341,58 @@ local TransmogItems = { Name = "count", Type = "number", Nilable = false }, }, }, + { + Name = "GetOutfitInfo", + Type = "Function", + + Arguments = + { + { Name = "outfitID", Type = "number", Nilable = false }, + }, + + Returns = + { + { Name = "name", Type = "cstring", Nilable = false }, + { Name = "icon", Type = "fileID", Nilable = false }, + }, + }, + { + Name = "GetOutfitItemTransmogInfoList", + Type = "Function", + + Arguments = + { + { Name = "outfitID", Type = "number", Nilable = false }, + }, + + Returns = + { + { Name = "list", Type = "table", InnerType = "ItemTransmogInfo", Nilable = false }, + }, + }, + { + Name = "GetOutfits", + Type = "Function", + + Returns = + { + { Name = "outfitID", Type = "table", InnerType = "number", Nilable = false }, + }, + }, + { + Name = "GetPairedArtifactAppearance", + Type = "Function", + + Arguments = + { + { Name = "itemModifiedAppearanceID", Type = "number", Nilable = false }, + }, + + Returns = + { + { Name = "pairedItemModifiedAppearanceID", Type = "number", Nilable = false }, + }, + }, { Name = "GetSourceIcon", Type = "Function", @@ -472,6 +556,32 @@ local TransmogItems = { Name = "isUsingDefaultFilters", Type = "bool", Nilable = false }, }, }, + { + Name = "ModifyOutfit", + Type = "Function", + + Arguments = + { + { Name = "outfitID", Type = "number", Nilable = false }, + { Name = "itemTransmogInfoList", Type = "table", InnerType = "ItemTransmogInfo", Nilable = false }, + }, + }, + { + Name = "NewOutfit", + Type = "Function", + + Arguments = + { + { Name = "name", Type = "cstring", Nilable = false }, + { Name = "icon", Type = "fileID", Nilable = false }, + { Name = "itemTransmogInfoList", Type = "table", InnerType = "ItemTransmogInfo", Nilable = false }, + }, + + Returns = + { + { Name = "outfitID", Type = "number", Nilable = true }, + }, + }, { Name = "PlayerCanCollectSource", Type = "Function", @@ -530,6 +640,16 @@ local TransmogItems = { Name = "isKnown", Type = "bool", Nilable = false }, }, }, + { + Name = "RenameOutfit", + Type = "Function", + + Arguments = + { + { Name = "outfitID", Type = "number", Nilable = false }, + { Name = "name", Type = "cstring", Nilable = false }, + }, + }, { Name = "SearchProgress", Type = "Function", diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/UIWidgetManagerDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/UIWidgetManagerDocumentation.lua index 328d9f0e61..8782ecaf69 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/UIWidgetManagerDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/UIWidgetManagerDocumentation.lua @@ -242,6 +242,18 @@ local UIWidgetManager = Tables = { + { + Name = "IconAndTextShiftTextType", + Type = "Enumeration", + NumValues = 2, + MinValue = 0, + MaxValue = 1, + Fields = + { + { Name = "None", Type = "IconAndTextShiftTextType", EnumValue = 0 }, + { Name = "ShiftText", Type = "IconAndTextShiftTextType", EnumValue = 1 }, + }, + }, { Name = "IconAndTextWidgetState", Type = "Enumeration", @@ -361,7 +373,9 @@ local UIWidgetManager = { Name = "text", Type = "string", Nilable = false }, { Name = "tooltip", Type = "string", Nilable = false }, { Name = "dynamicTooltip", Type = "string", Nilable = false }, + { Name = "shiftTextType", Type = "IconAndTextShiftTextType", Nilable = false }, { Name = "textureKitID", Type = "number", Nilable = false }, + { Name = "widgetSizeSetting", Type = "number", Nilable = false }, { Name = "hasTimer", Type = "bool", Nilable = false }, { Name = "orderIndex", Type = "number", Nilable = false }, { Name = "widgetTag", Type = "string", Nilable = false }, diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/UnitDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/UnitDocumentation.lua index 1eee7f420e..d412be0a96 100644 --- a/Interface/AddOns/Blizzard_APIDocumentationGenerated/UnitDocumentation.lua +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/UnitDocumentation.lua @@ -5,15 +5,6 @@ local Unit = Functions = { - { - Name = "CanShowSetRoleButton", - Type = "Function", - - Returns = - { - { Name = "result", Type = "bool", Nilable = false }, - }, - }, { Name = "GetUnitPowerBarInfo", Type = "Function", @@ -374,21 +365,6 @@ local Unit = { Name = "maxPower", Type = "number", Nilable = false }, }, }, - { - Name = "UnitSetRoleEnum", - Type = "Function", - - Arguments = - { - { Name = "unit", Type = "UnitToken", Nilable = false }, - { Name = "role", Type = "LFGRole", Nilable = true }, - }, - - Returns = - { - { Name = "result", Type = "bool", Nilable = false }, - }, - }, { Name = "UnitSex", Type = "Function", diff --git a/Interface/AddOns/Blizzard_APIDocumentationGenerated/UnitRoleDocumentation.lua b/Interface/AddOns/Blizzard_APIDocumentationGenerated/UnitRoleDocumentation.lua new file mode 100644 index 0000000000..b91f1140ea --- /dev/null +++ b/Interface/AddOns/Blizzard_APIDocumentationGenerated/UnitRoleDocumentation.lua @@ -0,0 +1,114 @@ +local UnitRole = +{ + Name = "UnitRole", + Type = "System", + + Functions = + { + { + Name = "AreClassRolesSoftSuggestions", + Type = "Function", + Documentation = { "If true, UnitGetAvailableRoles results should be treated as suggested role, not hard limits on what role the current player can display as." }, + + Returns = + { + { Name = "result", Type = "bool", Nilable = false }, + }, + }, + { + Name = "CanShowSetRoleButton", + Type = "Function", + + Returns = + { + { Name = "result", Type = "bool", Nilable = false }, + }, + }, + { + Name = "InitiateRolePoll", + Type = "Function", + + Returns = + { + { Name = "result", Type = "bool", Nilable = false }, + }, + }, + { + Name = "UnitGetAvailableRoles", + Type = "Function", + + Arguments = + { + { Name = "unit", Type = "UnitToken", Nilable = false }, + }, + + Returns = + { + { Name = "tank", Type = "bool", Nilable = false }, + { Name = "healer", Type = "bool", Nilable = false }, + { Name = "dps", Type = "bool", Nilable = false }, + }, + }, + { + Name = "UnitSetRole", + Type = "Function", + + Arguments = + { + { Name = "unit", Type = "UnitToken", Nilable = false }, + { Name = "roleStr", Type = "cstring", Nilable = true }, + }, + + Returns = + { + { Name = "result", Type = "bool", Nilable = false }, + }, + }, + { + Name = "UnitSetRoleEnum", + Type = "Function", + + Arguments = + { + { Name = "unit", Type = "UnitToken", Nilable = false }, + { Name = "role", Type = "LFGRole", Nilable = true }, + }, + + Returns = + { + { Name = "result", Type = "bool", Nilable = false }, + }, + }, + }, + + Events = + { + { + Name = "RoleChangedInform", + Type = "Event", + LiteralName = "ROLE_CHANGED_INFORM", + Payload = + { + { Name = "changedName", Type = "cstring", Nilable = false }, + { Name = "fromName", Type = "cstring", Nilable = false }, + { Name = "oldRole", Type = "cstring", Nilable = false }, + { Name = "newRole", Type = "cstring", Nilable = false }, + }, + }, + { + Name = "RolePollBegin", + Type = "Event", + LiteralName = "ROLE_POLL_BEGIN", + Payload = + { + { Name = "fromName", Type = "cstring", Nilable = false }, + }, + }, + }, + + Tables = + { + }, +}; + +APIDocumentation:AddDocumentationTable(UnitRole); \ No newline at end of file diff --git a/Interface/AddOns/Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.lua b/Interface/AddOns/Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.lua index 789d22c471..7a23cb3844 100644 --- a/Interface/AddOns/Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.lua +++ b/Interface/AddOns/Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.lua @@ -65,13 +65,14 @@ function AchievementFrame_OnLoad (self) end local function SetFilterSelected(filter) + AchievementFrameFilterDropdown:SetText(filter.text); if filter.func ~= ACHIEVEMENTUI_SELECTEDFILTER then ACHIEVEMENTUI_SELECTEDFILTER = filter.func; AchievementFrameAchievements_ForceUpdate(); end end - AchievementFrameFilterDropdown:SetWidth(112); + AchievementFrameFilterDropdown:SetWidth(118); AchievementFrameFilterDropdown:SetFrameLevel(AchievementFrameFilterDropdown:GetFrameLevel() + 1); AchievementFrameFilterDropdown:SetupMenu(function(dropdown, rootDescription) rootDescription:SetTag("MENU_ACHIEVEMENT_FILTER", block); diff --git a/Interface/AddOns/Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.xml b/Interface/AddOns/Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.xml index 9deb190b5e..85d0d39b7b 100644 --- a/Interface/AddOns/Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.xml +++ b/Interface/AddOns/Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.xml @@ -3299,8 +3299,12 @@ diff --git a/Interface/AddOns/Blizzard_AchievementUI/Classic/Blizzard_AchievementUI.lua b/Interface/AddOns/Blizzard_AchievementUI/Classic/Blizzard_AchievementUI.lua index 7699082b5e..74f289d132 100644 --- a/Interface/AddOns/Blizzard_AchievementUI/Classic/Blizzard_AchievementUI.lua +++ b/Interface/AddOns/Blizzard_AchievementUI/Classic/Blizzard_AchievementUI.lua @@ -47,13 +47,14 @@ function AchievementFrame_OnLoad (self) end local function SetFilterSelected(filter) + AchievementFrameFilterDropdown:SetText(filter.text); if filter.func ~= ACHIEVEMENTUI_SELECTEDFILTER then ACHIEVEMENTUI_SELECTEDFILTER = filter.func; AchievementFrameAchievements_ForceUpdate(); end end - AchievementFrameFilterDropdown:SetWidth(112); + AchievementFrameFilterDropdown:SetWidth(118); AchievementFrameFilterDropdown:SetFrameLevel(AchievementFrameFilterDropdown:GetFrameLevel() + 1); AchievementFrameFilterDropdown:SetupMenu(function(dropdown, rootDescription) rootDescription:SetTag("MENU_ACHIEVEMENT_FILTER", block); diff --git a/Interface/AddOns/Blizzard_AchievementUI/Classic/Blizzard_AchievementUI.xml b/Interface/AddOns/Blizzard_AchievementUI/Classic/Blizzard_AchievementUI.xml index 0c8d8d8372..0b82a81cd7 100644 --- a/Interface/AddOns/Blizzard_AchievementUI/Classic/Blizzard_AchievementUI.xml +++ b/Interface/AddOns/Blizzard_AchievementUI/Classic/Blizzard_AchievementUI.xml @@ -3196,8 +3196,12 @@ diff --git a/Interface/AddOns/Blizzard_ActionBar/Cata/MainMenuBarMicroButtons.lua b/Interface/AddOns/Blizzard_ActionBar/Cata/MainMenuBarMicroButtons.lua index 5b90aca475..c55c12822c 100644 --- a/Interface/AddOns/Blizzard_ActionBar/Cata/MainMenuBarMicroButtons.lua +++ b/Interface/AddOns/Blizzard_ActionBar/Cata/MainMenuBarMicroButtons.lua @@ -4,6 +4,7 @@ MICRO_BUTTONS = { "TalentMicroButton", "AchievementMicroButton", "QuestLogMicroButton", + "SocialsMicroButton", "GuildMicroButton", "EJMicroButton", "CollectionsMicroButton", @@ -63,6 +64,10 @@ function UpdateMicroButtons() QuestLogMicroButton:SetButtonState("NORMAL"); end + SocialsMicroButton:UpdateMicroButton(); + + GuildMicroButton:UpdateMicroButton(); + if ( EncounterJournal and EncounterJournal:IsShown() ) then EJMicroButton:SetButtonState("PUSHED", 1); else @@ -129,8 +134,6 @@ function UpdateMicroButtons() AchievementMicroButton:Disable(); end end - - GuildMicroButton:UpdateMicroButton(); end function AchievementMicroButton_OnLoad() diff --git a/Interface/AddOns/Blizzard_ActionBar/Cata/MainMenuBarMicroButtons.xml b/Interface/AddOns/Blizzard_ActionBar/Cata/MainMenuBarMicroButtons.xml index 53be3317c8..c9d3453eff 100644 --- a/Interface/AddOns/Blizzard_ActionBar/Cata/MainMenuBarMicroButtons.xml +++ b/Interface/AddOns/Blizzard_ActionBar/Cata/MainMenuBarMicroButtons.xml @@ -223,16 +223,25 @@ - + - + - - +