diff --git a/api/AbandonQuest.lua b/api/AbandonQuest.lua index 6a8e006..d144bf2 100644 --- a/api/AbandonQuest.lua +++ b/api/AbandonQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Confirms abandoning a quest. Use SetAbandonQuest() first to select the quest to abandon. function AbandonQuest() end diff --git a/api/AbandonSkill.lua b/api/AbandonSkill.lua index b94a30e..2c7b9ec 100644 --- a/api/AbandonSkill.lua +++ b/api/AbandonSkill.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Unlearns a skill (used only for professions) diff --git a/api/AcceptAreaSpiritHeal.lua b/api/AcceptAreaSpiritHeal.lua index 3f2b150..89ebb32 100644 --- a/api/AcceptAreaSpiritHeal.lua +++ b/api/AcceptAreaSpiritHeal.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts the next upcoming periodic resurrection from a battleground spirit healer. Automatically called in the default UI in response to the AREA_SPIRIT_HEALER_IN_RANGE event which fires when the player's ghost is near a battleground spirit healer. function AcceptAreaSpiritHeal() end diff --git a/api/AcceptBattlefieldPort.lua b/api/AcceptBattlefieldPort.lua index 832ab5e..ba1b2f5 100644 --- a/api/AcceptBattlefieldPort.lua +++ b/api/AcceptBattlefieldPort.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param accept 1nil diff --git a/api/AcceptDuel.lua b/api/AcceptDuel.lua index ccddcc6..89d39b8 100644 --- a/api/AcceptDuel.lua +++ b/api/AcceptDuel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts a proposed duel function AcceptDuel() end diff --git a/api/AcceptGroup.lua b/api/AcceptGroup.lua index 70db70b..605c3a9 100644 --- a/api/AcceptGroup.lua +++ b/api/AcceptGroup.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts an invitation to join a party or raid. Usable in response to the PARTY_INVITE_REQUEST event which fires when the player is invited to join a group. This function does not automatically hide the default UI's group invite dialog; doing such requires calling StaticPopup_Hide("PARTY_INVITE"), but only after the PARTY_MEMBERS_CHANGED event fires indicating the player has successfully joined the group. function AcceptGroup() end diff --git a/api/AcceptGuild.lua b/api/AcceptGuild.lua index 492bb92..794e716 100644 --- a/api/AcceptGuild.lua +++ b/api/AcceptGuild.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts an invitation to join a guild. Usable in response to the GUILD_INVITE_REQUEST event, which fires when the player is invited to join a guild. function AcceptGuild() end diff --git a/api/AcceptLevelGrant.lua b/api/AcceptLevelGrant.lua index 6d9def3..f5cf888 100644 --- a/api/AcceptLevelGrant.lua +++ b/api/AcceptLevelGrant.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts a level offered by the player's Recruit-a-Friend partner function AcceptLevelGrant() end diff --git a/api/AcceptProposal.lua b/api/AcceptProposal.lua index ee4ab5b..76c6e7b 100644 --- a/api/AcceptProposal.lua +++ b/api/AcceptProposal.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts a LFG dungeon invite. function AcceptProposal() end diff --git a/api/AcceptQuest.lua b/api/AcceptQuest.lua index 6545b8b..aad7652 100644 --- a/api/AcceptQuest.lua +++ b/api/AcceptQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts the quest offered by a questgiver. Usable following the QUEST_DETAIL event in which the questgiver presents the player with the details of a quest and the option to accept or decline. function AcceptQuest() end diff --git a/api/AcceptResurrect.lua b/api/AcceptResurrect.lua index 2e35863..75d5760 100644 --- a/api/AcceptResurrect.lua +++ b/api/AcceptResurrect.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts an offered resurrection spell. Not used for self-resurrection; see UseSoulstone() for such cases. function AcceptResurrect() end diff --git a/api/AcceptSockets.lua b/api/AcceptSockets.lua index 483b45f..8f8f5c5 100644 --- a/api/AcceptSockets.lua +++ b/api/AcceptSockets.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts changes made in the Item Socketing UI. Any gems added are permanently socketed into the item, and any existing gems replaced by new gems are destroyed. This function only has effect while the Item Socketing UI is open (i.e. between the SOCKET_INFO_UPDATE and SOCKET_INFO_CLOSE events). function AcceptSockets() end diff --git a/api/AcceptSpellConfirmationPrompt.lua b/api/AcceptSpellConfirmationPrompt.lua index 0d03f26..29aaec8 100644 --- a/api/AcceptSpellConfirmationPrompt.lua +++ b/api/AcceptSpellConfirmationPrompt.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function AcceptSpellConfirmationPrompt() end diff --git a/api/AcceptTrade.lua b/api/AcceptTrade.lua index c818feb..0dd1ca6 100644 --- a/api/AcceptTrade.lua +++ b/api/AcceptTrade.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts a proposed trade. Once both players have accepted, the trade process completes and the actual exchange of items/money/enchants takes place. function AcceptTrade() end diff --git a/api/AcceptXPLoss.lua b/api/AcceptXPLoss.lua index 092df39..84f55f4 100644 --- a/api/AcceptXPLoss.lua +++ b/api/AcceptXPLoss.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Resurrects the player at a spirit healer, accepting possible consequences. Resurrecting at a spirit healer generally results in a loss of durability (both equipped items and those in the player's bags) and may also result in the Resurrection Sickness debuff. Early in the development of World of Warcraft, resurrecting at a spirit healer caused a loss of experience points. The change to a loss of item durability was made before the initial public release of World of Warcraft, but the name of this function was never changed. function AcceptXPLoss() end diff --git a/api/AcknowledgeAutoAcceptQuest.lua b/api/AcknowledgeAutoAcceptQuest.lua index 997ebbe..aafad59 100644 --- a/api/AcknowledgeAutoAcceptQuest.lua +++ b/api/AcknowledgeAutoAcceptQuest.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function AcknowledgeAutoAcceptQuest() end diff --git a/api/AcknowledgeSurvey.lua b/api/AcknowledgeSurvey.lua index 2251790..ac0187e 100644 --- a/api/AcknowledgeSurvey.lua +++ b/api/AcknowledgeSurvey.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function AcknowledgeSurvey() end diff --git a/api/ActionHasRange.lua b/api/ActionHasRange.lua index 3918a6e..7516789 100644 --- a/api/ActionHasRange.lua +++ b/api/ActionHasRange.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return 1nil hasRange diff --git a/api/AddAutoQuestPopUp.lua b/api/AddAutoQuestPopUp.lua index a66fbbc..27df32e 100644 --- a/api/AddAutoQuestPopUp.lua +++ b/api/AddAutoQuestPopUp.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questId number ---@param type OFFER diff --git a/api/AddChatWindowChannel.lua b/api/AddChatWindowChannel.lua index 4b11090..f94c038 100644 --- a/api/AddChatWindowChannel.lua +++ b/api/AddChatWindowChannel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param channel number diff --git a/api/AddChatWindowMessages.lua b/api/AddChatWindowMessages.lua index 9475fad..385a917 100644 --- a/api/AddChatWindowMessages.lua +++ b/api/AddChatWindowMessages.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param messageGroup string diff --git a/api/AddFriend.lua b/api/AddFriend.lua index 94db15b..4ca1feb 100644 --- a/api/AddFriend.lua +++ b/api/AddFriend.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Adds a character to the friends list diff --git a/api/AddIgnore.lua b/api/AddIgnore.lua index ed69540..45d9881 100644 --- a/api/AddIgnore.lua +++ b/api/AddIgnore.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Adds a character to the ignore list diff --git a/api/AddMute.lua b/api/AddMute.lua index d28b400..5aedf6c 100644 --- a/api/AddMute.lua +++ b/api/AddMute.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Adds a character to the muted list for voice chat. The Muted list acts for voice chat as the Ignore list does for text chat: muted characters will never be heard regardless of which voice channels they join the player in. diff --git a/api/AddOrDelIgnore.lua b/api/AddOrDelIgnore.lua index 476f128..575a75a 100644 --- a/api/AddOrDelIgnore.lua +++ b/api/AddOrDelIgnore.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param fullname string ---Adds the named character to the ignore list, or removes the character if already in the ignore list diff --git a/api/AddOrDelMute.lua b/api/AddOrDelMute.lua index f166b74..37d15a1 100644 --- a/api/AddOrDelMute.lua +++ b/api/AddOrDelMute.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/AddOrRemoveFriend.lua b/api/AddOrRemoveFriend.lua index f98d401..679f22e 100644 --- a/api/AddOrRemoveFriend.lua +++ b/api/AddOrRemoveFriend.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param note string diff --git a/api/AddQuestWatch.lua b/api/AddQuestWatch.lua index 5220f41..0fc16d9 100644 --- a/api/AddQuestWatch.lua +++ b/api/AddQuestWatch.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questIndex number ---Adds a quest to the objectives tracker diff --git a/api/AddTrackedAchievement.lua b/api/AddTrackedAchievement.lua index 31619da..e7ca471 100644 --- a/api/AddTrackedAchievement.lua +++ b/api/AddTrackedAchievement.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---Adds an achievement to the objectives tracker UI diff --git a/api/AddTradeMoney.lua b/api/AddTradeMoney.lua index 886fedb..cdcfb10 100644 --- a/api/AddTradeMoney.lua +++ b/api/AddTradeMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Adds the money currently on the cursor to the trade window function AddTradeMoney() end diff --git a/api/Ambiguate.lua b/api/Ambiguate.lua index ca9e3d9..47257c3 100644 --- a/api/Ambiguate.lua +++ b/api/Ambiguate.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param fullName string ---@param context string diff --git a/api/AntiAliasingSupported.lua b/api/AntiAliasingSupported.lua index 164276b..08e9bd9 100644 --- a/api/AntiAliasingSupported.lua +++ b/api/AntiAliasingSupported.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function AntiAliasingSupported() end diff --git a/api/ApplyBarberShopStyle.lua b/api/ApplyBarberShopStyle.lua index 337ee5c..e2e7a8d 100644 --- a/api/ApplyBarberShopStyle.lua +++ b/api/ApplyBarberShopStyle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Purchases the selected barber shop style changes. Does not exit the barber shop session, so further changes are still allowed. The BARBER_SHOP_SUCCESS and BARBER_SHOP_APPEARANCE_APPLIED events fire once the style change takes effect. function ApplyBarberShopStyle() end diff --git a/api/ApplyTransmogrifications.lua b/api/ApplyTransmogrifications.lua index abca6ed..2db87d6 100644 --- a/api/ApplyTransmogrifications.lua +++ b/api/ApplyTransmogrifications.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Applies all pending transmogrifications, and pays for the cost function ApplyTransmogrifications() end diff --git a/api/ArchaeologyGetIconInfo.lua b/api/ArchaeologyGetIconInfo.lua index 955800c..2ab44b6 100644 --- a/api/ArchaeologyGetIconInfo.lua +++ b/api/ArchaeologyGetIconInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ArchaeologyGetIconInfo() end diff --git a/api/ArchaeologyMapUpdateAll.lua b/api/ArchaeologyMapUpdateAll.lua index df317bb..28e2867 100644 --- a/api/ArchaeologyMapUpdateAll.lua +++ b/api/ArchaeologyMapUpdateAll.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numEntries ---Returns the number of digsites in the current zone. The value returned reflects dig sites for the current zone: If the world map is visible, the currently viewed zone; else, the player's zone. It will always return 0 when called while the zone is continent or further zoomed out. diff --git a/api/ArcheologyGetVisibleBlobID.lua b/api/ArcheologyGetVisibleBlobID.lua index 2d19900..e4ba9a4 100644 --- a/api/ArcheologyGetVisibleBlobID.lua +++ b/api/ArcheologyGetVisibleBlobID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number blobID diff --git a/api/AreAccountAchievementsHidden.lua b/api/AreAccountAchievementsHidden.lua index 102afea..b20aa03 100644 --- a/api/AreAccountAchievementsHidden.lua +++ b/api/AreAccountAchievementsHidden.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isHidden ---Returns whether the player is displaying only character achievements to others diff --git a/api/ArenaTeam_GetTeamSizeID.lua b/api/ArenaTeam_GetTeamSizeID.lua index f6e23e0..c5c9b6b 100644 --- a/api/ArenaTeam_GetTeamSizeID.lua +++ b/api/ArenaTeam_GetTeamSizeID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param teamSize number ---@return number teamID diff --git a/api/AscendStop.lua b/api/AscendStop.lua index 3703520..4ae1e0b 100644 --- a/api/AscendStop.lua +++ b/api/AscendStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Stops movement initiated by JumpOrAscendStart. Used by the JUMP binding, which also controls ascent when swimming or flying. Has no meaningful effect if called while jumping (in which case movement is generally stopped by hitting the ground). function AscendStop() end diff --git a/api/AssistUnit.lua b/api/AssistUnit.lua index 2652664..1eba2a7 100644 --- a/api/AssistUnit.lua +++ b/api/AssistUnit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/AttackTarget.lua b/api/AttackTarget.lua index 5bd0309..cf400a9 100644 --- a/api/AttackTarget.lua +++ b/api/AttackTarget.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins auto-attack against the player's current target. (If the "Auto Attack/Auto Shot" option is turned on, also begins Auto Shot for hunters.) function AttackTarget() end diff --git a/api/AutoChooseCurrentGraphicsSetting.lua b/api/AutoChooseCurrentGraphicsSetting.lua index 6b062b7..f6deccc 100644 --- a/api/AutoChooseCurrentGraphicsSetting.lua +++ b/api/AutoChooseCurrentGraphicsSetting.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function AutoChooseCurrentGraphicsSetting() end diff --git a/api/AutoEquipCursorItem.lua b/api/AutoEquipCursorItem.lua index f8f9644..884622f 100644 --- a/api/AutoEquipCursorItem.lua +++ b/api/AutoEquipCursorItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Equips the item on the cursor. The item is automatically equipped in the first available slot in which it fits. To equip an item in a specific slot, see EquipCursorItem(). Causes an error message (UI_ERROR_MESSAGE) if the item on the cursor cannot be equipped. Does nothing if the cursor does not contain an item. function AutoEquipCursorItem() end diff --git a/api/AutoLootMailItem.lua b/api/AutoLootMailItem.lua index dfafedc..5ae64b1 100644 --- a/api/AutoLootMailItem.lua +++ b/api/AutoLootMailItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param mailID number ---Automatically takes any attached items and money from a mail. If the mail does not have body text (which can be saved as a permanent copy), also deletes the mail. diff --git a/api/AutoStoreGuildBankItem.lua b/api/AutoStoreGuildBankItem.lua index f652b73..f33753c 100644 --- a/api/AutoStoreGuildBankItem.lua +++ b/api/AutoStoreGuildBankItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@param slot number diff --git a/api/BNAcceptFriendInvite.lua b/api/BNAcceptFriendInvite.lua index 10bd215..943fbfb 100644 --- a/api/BNAcceptFriendInvite.lua +++ b/api/BNAcceptFriendInvite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNAcceptFriendInvite() end diff --git a/api/BNCheckBattleTagInviteToGuildMember.lua b/api/BNCheckBattleTagInviteToGuildMember.lua index 428a1b2..017f987 100644 --- a/api/BNCheckBattleTagInviteToGuildMember.lua +++ b/api/BNCheckBattleTagInviteToGuildMember.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNCheckBattleTagInviteToGuildMember() end diff --git a/api/BNCheckBattleTagInviteToUnit.lua b/api/BNCheckBattleTagInviteToUnit.lua index 6d73f92..72c7bba 100644 --- a/api/BNCheckBattleTagInviteToUnit.lua +++ b/api/BNCheckBattleTagInviteToUnit.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNCheckBattleTagInviteToUnit() end diff --git a/api/BNConnected.lua b/api/BNConnected.lua index c3d7b01..61e17d6 100644 --- a/api/BNConnected.lua +++ b/api/BNConnected.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isOnline ---Returns whether or not the player is connected to Battle.net diff --git a/api/BNCreateConversation.lua b/api/BNCreateConversation.lua index 4d5003f..3fbddd0 100644 --- a/api/BNCreateConversation.lua +++ b/api/BNCreateConversation.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param presenceID_1 number ---@param presenceID_2 number diff --git a/api/BNDeclineFriendInvite.lua b/api/BNDeclineFriendInvite.lua index 0de77a9..a3e9700 100644 --- a/api/BNDeclineFriendInvite.lua +++ b/api/BNDeclineFriendInvite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNDeclineFriendInvite() end diff --git a/api/BNFeaturesEnabled.lua b/api/BNFeaturesEnabled.lua index 7262264..7949a5f 100644 --- a/api/BNFeaturesEnabled.lua +++ b/api/BNFeaturesEnabled.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isEnabled ---Returns whether or not RealID services are disabled diff --git a/api/BNFeaturesEnabledAndConnected.lua b/api/BNFeaturesEnabledAndConnected.lua index bbcb5ff..731e685 100644 --- a/api/BNFeaturesEnabledAndConnected.lua +++ b/api/BNFeaturesEnabledAndConnected.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNFeaturesEnabledAndConnected() end diff --git a/api/BNGetBlockedInfo.lua b/api/BNGetBlockedInfo.lua index 98afb55..c02f43a 100644 --- a/api/BNGetBlockedInfo.lua +++ b/api/BNGetBlockedInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNGetBlockedInfo() end diff --git a/api/BNGetBlockedToonInfo.lua b/api/BNGetBlockedToonInfo.lua index a3a42ac..4e1ba58 100644 --- a/api/BNGetBlockedToonInfo.lua +++ b/api/BNGetBlockedToonInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNGetBlockedToonInfo() end diff --git a/api/BNGetConversationInfo.lua b/api/BNGetConversationInfo.lua index f65dd81..d969d58 100644 --- a/api/BNGetConversationInfo.lua +++ b/api/BNGetConversationInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel number ---@return string type diff --git a/api/BNGetConversationMemberInfo.lua b/api/BNGetConversationMemberInfo.lua index b4fe51b..d727dab 100644 --- a/api/BNGetConversationMemberInfo.lua +++ b/api/BNGetConversationMemberInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel number ---@param memberIndex number diff --git a/api/BNGetCustomMessageTable.lua b/api/BNGetCustomMessageTable.lua index 406b9f6..41313bf 100644 --- a/api/BNGetCustomMessageTable.lua +++ b/api/BNGetCustomMessageTable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNGetCustomMessageTable() end diff --git a/api/BNGetFOFInfo.lua b/api/BNGetFOFInfo.lua index ccd41ae..daf50e6 100644 --- a/api/BNGetFOFInfo.lua +++ b/api/BNGetFOFInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param presenceID number ---@param mutual boolean diff --git a/api/BNGetFriendIndex.lua b/api/BNGetFriendIndex.lua index d4e2e08..df8aeb1 100644 --- a/api/BNGetFriendIndex.lua +++ b/api/BNGetFriendIndex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param presenceID number ---@return number index diff --git a/api/BNGetFriendInfo.lua b/api/BNGetFriendInfo.lua index 245cce8..1a5a8d0 100644 --- a/api/BNGetFriendInfo.lua +++ b/api/BNGetFriendInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param friendIndex number ---@return number presenceID diff --git a/api/BNGetFriendInfoByID.lua b/api/BNGetFriendInfoByID.lua index 7a1cb4c..02e251e 100644 --- a/api/BNGetFriendInfoByID.lua +++ b/api/BNGetFriendInfoByID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param presenceID number ---@return number presenceID diff --git a/api/BNGetFriendInviteInfo.lua b/api/BNGetFriendInviteInfo.lua index a481619..2aefb72 100644 --- a/api/BNGetFriendInviteInfo.lua +++ b/api/BNGetFriendInviteInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNGetFriendInviteInfo() end diff --git a/api/BNGetFriendToonInfo.lua b/api/BNGetFriendToonInfo.lua index 04efa8e..426cb5e 100644 --- a/api/BNGetFriendToonInfo.lua +++ b/api/BNGetFriendToonInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param friendIndex number ---@param toonIndex number diff --git a/api/BNGetInfo.lua b/api/BNGetInfo.lua index 451ad0a..7bcc784 100644 --- a/api/BNGetInfo.lua +++ b/api/BNGetInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number unknownPresenceID1 ---@return string battleTag diff --git a/api/BNGetMatureLanguageFilter.lua b/api/BNGetMatureLanguageFilter.lua index c798b64..765ab98 100644 --- a/api/BNGetMatureLanguageFilter.lua +++ b/api/BNGetMatureLanguageFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isEnabled ---Returns boolean for the Mature Language Filter option's state. diff --git a/api/BNGetMaxNumConversations.lua b/api/BNGetMaxNumConversations.lua index 3bbf34c..879a478 100644 --- a/api/BNGetMaxNumConversations.lua +++ b/api/BNGetMaxNumConversations.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number count ---Returns the maximum number of simultaneous RealID conversations you can be a part of diff --git a/api/BNGetMaxPlayersInConversation.lua b/api/BNGetMaxPlayersInConversation.lua index 2d4b068..ec495e5 100644 --- a/api/BNGetMaxPlayersInConversation.lua +++ b/api/BNGetMaxPlayersInConversation.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number count ---Returns the maximum number of realID friends you can have in one conversation diff --git a/api/BNGetNumBlocked.lua b/api/BNGetNumBlocked.lua index 5e6361a..432daf0 100644 --- a/api/BNGetNumBlocked.lua +++ b/api/BNGetNumBlocked.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNGetNumBlocked() end diff --git a/api/BNGetNumBlockedToons.lua b/api/BNGetNumBlockedToons.lua index f14936c..08f4620 100644 --- a/api/BNGetNumBlockedToons.lua +++ b/api/BNGetNumBlockedToons.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNGetNumBlockedToons() end diff --git a/api/BNGetNumConversationMembers.lua b/api/BNGetNumConversationMembers.lua index 7ae52cf..5bf1a57 100644 --- a/api/BNGetNumConversationMembers.lua +++ b/api/BNGetNumConversationMembers.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel number ---@return number memberCount diff --git a/api/BNGetNumFOF.lua b/api/BNGetNumFOF.lua index 0c5fe24..537a1a7 100644 --- a/api/BNGetNumFOF.lua +++ b/api/BNGetNumFOF.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNGetNumFOF() end diff --git a/api/BNGetNumFriendInvites.lua b/api/BNGetNumFriendInvites.lua index 792f9dd..1248e31 100644 --- a/api/BNGetNumFriendInvites.lua +++ b/api/BNGetNumFriendInvites.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNGetNumFriendInvites() end diff --git a/api/BNGetNumFriendToons.lua b/api/BNGetNumFriendToons.lua index 91a78c8..d22e20a 100644 --- a/api/BNGetNumFriendToons.lua +++ b/api/BNGetNumFriendToons.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param friendIndex number ---@return number numToons diff --git a/api/BNGetNumFriends.lua b/api/BNGetNumFriends.lua index f61d0b7..59a42d1 100644 --- a/api/BNGetNumFriends.lua +++ b/api/BNGetNumFriends.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number totalBNet ---@return number numBNetOnline diff --git a/api/BNGetSelectedBlock.lua b/api/BNGetSelectedBlock.lua index 79ef1f1..56cd11e 100644 --- a/api/BNGetSelectedBlock.lua +++ b/api/BNGetSelectedBlock.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNGetSelectedBlock() end diff --git a/api/BNGetSelectedFriend.lua b/api/BNGetSelectedFriend.lua index f6fef67..8c340c5 100644 --- a/api/BNGetSelectedFriend.lua +++ b/api/BNGetSelectedFriend.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number friendIndex ---Returns the index of the selected user on your friend's list diff --git a/api/BNGetSelectedToonBlock.lua b/api/BNGetSelectedToonBlock.lua index 9ca1084..9ddafd0 100644 --- a/api/BNGetSelectedToonBlock.lua +++ b/api/BNGetSelectedToonBlock.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNGetSelectedToonBlock() end diff --git a/api/BNGetToonInfo.lua b/api/BNGetToonInfo.lua index 03d6c10..dcc369a 100644 --- a/api/BNGetToonInfo.lua +++ b/api/BNGetToonInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param bnetIDGameAccount number ---@return boolean unknown diff --git a/api/BNInviteFriend.lua b/api/BNInviteFriend.lua index 605855a..b548680 100644 --- a/api/BNInviteFriend.lua +++ b/api/BNInviteFriend.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNInviteFriend() end diff --git a/api/BNInviteToConversation.lua b/api/BNInviteToConversation.lua index 5126374..d8fae73 100644 --- a/api/BNInviteToConversation.lua +++ b/api/BNInviteToConversation.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel number ---@param presenceID number diff --git a/api/BNIsBlocked.lua b/api/BNIsBlocked.lua index b5a4b8f..3f99bae 100644 --- a/api/BNIsBlocked.lua +++ b/api/BNIsBlocked.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNIsBlocked() end diff --git a/api/BNIsFriend.lua b/api/BNIsFriend.lua index ab03f80..45ccd53 100644 --- a/api/BNIsFriend.lua +++ b/api/BNIsFriend.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNIsFriend() end diff --git a/api/BNIsFriendConversationValid.lua b/api/BNIsFriendConversationValid.lua index d187ac7..da09b91 100644 --- a/api/BNIsFriendConversationValid.lua +++ b/api/BNIsFriendConversationValid.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNIsFriendConversationValid() end diff --git a/api/BNIsSelf.lua b/api/BNIsSelf.lua index afbb99c..937a2b4 100644 --- a/api/BNIsSelf.lua +++ b/api/BNIsSelf.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param presenceID number ---@return boolean isSelf diff --git a/api/BNIsToonBlocked.lua b/api/BNIsToonBlocked.lua index 79c41af..86a8a01 100644 --- a/api/BNIsToonBlocked.lua +++ b/api/BNIsToonBlocked.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNIsToonBlocked() end diff --git a/api/BNLeaveConversation.lua b/api/BNLeaveConversation.lua index 06ed375..aa1272c 100644 --- a/api/BNLeaveConversation.lua +++ b/api/BNLeaveConversation.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNLeaveConversation() end diff --git a/api/BNListConversation.lua b/api/BNListConversation.lua index e08f072..2422c03 100644 --- a/api/BNListConversation.lua +++ b/api/BNListConversation.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNListConversation() end diff --git a/api/BNRemoveFriend.lua b/api/BNRemoveFriend.lua index 24875c4..726b7ab 100644 --- a/api/BNRemoveFriend.lua +++ b/api/BNRemoveFriend.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNRemoveFriend() end diff --git a/api/BNReportFriendInvite.lua b/api/BNReportFriendInvite.lua index efe85c3..c8b8327 100644 --- a/api/BNReportFriendInvite.lua +++ b/api/BNReportFriendInvite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNReportFriendInvite() end diff --git a/api/BNReportPlayer.lua b/api/BNReportPlayer.lua index 9fcdbb5..aefacac 100644 --- a/api/BNReportPlayer.lua +++ b/api/BNReportPlayer.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNReportPlayer() end diff --git a/api/BNRequestFOFInfo.lua b/api/BNRequestFOFInfo.lua index 4198d35..326bcb8 100644 --- a/api/BNRequestFOFInfo.lua +++ b/api/BNRequestFOFInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNRequestFOFInfo() end diff --git a/api/BNSendConversationMessage.lua b/api/BNSendConversationMessage.lua index 37642a2..36552da 100644 --- a/api/BNSendConversationMessage.lua +++ b/api/BNSendConversationMessage.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNSendConversationMessage() end diff --git a/api/BNSendFriendInvite.lua b/api/BNSendFriendInvite.lua index db0db26..6a86ce4 100644 --- a/api/BNSendFriendInvite.lua +++ b/api/BNSendFriendInvite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNSendFriendInvite() end diff --git a/api/BNSendFriendInviteByID.lua b/api/BNSendFriendInviteByID.lua index 8f3329a..5910a78 100644 --- a/api/BNSendFriendInviteByID.lua +++ b/api/BNSendFriendInviteByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNSendFriendInviteByID() end diff --git a/api/BNSendGameData.lua b/api/BNSendGameData.lua index d417fb1..6ebc3f1 100644 --- a/api/BNSendGameData.lua +++ b/api/BNSendGameData.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param presenceID number ---@param addonPrefix string diff --git a/api/BNSendSoR.lua b/api/BNSendSoR.lua index 12f20f3..a230ce7 100644 --- a/api/BNSendSoR.lua +++ b/api/BNSendSoR.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNSendSoR() end diff --git a/api/BNSendVerifiedBattleTagInvite.lua b/api/BNSendVerifiedBattleTagInvite.lua index a2c6e8c..ad46278 100644 --- a/api/BNSendVerifiedBattleTagInvite.lua +++ b/api/BNSendVerifiedBattleTagInvite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNSendVerifiedBattleTagInvite() end diff --git a/api/BNSendWhisper.lua b/api/BNSendWhisper.lua index c495ce6..f2e79f1 100644 --- a/api/BNSendWhisper.lua +++ b/api/BNSendWhisper.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param presenceID number ---@param messageText text diff --git a/api/BNSetAFK.lua b/api/BNSetAFK.lua index 5e56de2..201b0e2 100644 --- a/api/BNSetAFK.lua +++ b/api/BNSetAFK.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNSetAFK() end diff --git a/api/BNSetBlocked.lua b/api/BNSetBlocked.lua index 409217f..f66bc07 100644 --- a/api/BNSetBlocked.lua +++ b/api/BNSetBlocked.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNSetBlocked() end diff --git a/api/BNSetCustomMessage.lua b/api/BNSetCustomMessage.lua index ecf777b..65ec98a 100644 --- a/api/BNSetCustomMessage.lua +++ b/api/BNSetCustomMessage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param broadcastText string ---Sets the player's current RealID broadcast message. diff --git a/api/BNSetDND.lua b/api/BNSetDND.lua index 689e340..544a188 100644 --- a/api/BNSetDND.lua +++ b/api/BNSetDND.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNSetDND() end diff --git a/api/BNSetFocus.lua b/api/BNSetFocus.lua index de99419..4919eb5 100644 --- a/api/BNSetFocus.lua +++ b/api/BNSetFocus.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNSetFocus() end diff --git a/api/BNSetFriendNote.lua b/api/BNSetFriendNote.lua index 5336aa6..b07fb5e 100644 --- a/api/BNSetFriendNote.lua +++ b/api/BNSetFriendNote.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param presenceID number ---@param note string diff --git a/api/BNSetMatureLanguageFilter.lua b/api/BNSetMatureLanguageFilter.lua index ce8a026..64de08f 100644 --- a/api/BNSetMatureLanguageFilter.lua +++ b/api/BNSetMatureLanguageFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param enabled boolean ---Sets the Mature Language Filter option diff --git a/api/BNSetSelectedBlock.lua b/api/BNSetSelectedBlock.lua index d541b6e..22ebb38 100644 --- a/api/BNSetSelectedBlock.lua +++ b/api/BNSetSelectedBlock.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNSetSelectedBlock() end diff --git a/api/BNSetSelectedFriend.lua b/api/BNSetSelectedFriend.lua index c532c59..2c27721 100644 --- a/api/BNSetSelectedFriend.lua +++ b/api/BNSetSelectedFriend.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNSetSelectedFriend() end diff --git a/api/BNSetSelectedToonBlock.lua b/api/BNSetSelectedToonBlock.lua index c0cfd95..189d993 100644 --- a/api/BNSetSelectedToonBlock.lua +++ b/api/BNSetSelectedToonBlock.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNSetSelectedToonBlock() end diff --git a/api/BNSetToonBlocked.lua b/api/BNSetToonBlocked.lua index c8cf7e8..a42f02f 100644 --- a/api/BNSetToonBlocked.lua +++ b/api/BNSetToonBlocked.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNSetToonBlocked() end diff --git a/api/BNSummonFriendByIndex.lua b/api/BNSummonFriendByIndex.lua index 5b06dc3..e31a4e0 100644 --- a/api/BNSummonFriendByIndex.lua +++ b/api/BNSummonFriendByIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNSummonFriendByIndex() end diff --git a/api/BNTokenFindName.lua b/api/BNTokenFindName.lua index 8f7079e..58402b1 100644 --- a/api/BNTokenFindName.lua +++ b/api/BNTokenFindName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BNTokenFindName() end diff --git a/api/BankButtonIDToInvSlotID.lua b/api/BankButtonIDToInvSlotID.lua index 3929c20..dfd4827 100644 --- a/api/BankButtonIDToInvSlotID.lua +++ b/api/BankButtonIDToInvSlotID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param buttonID number ---@param isBag 1nil diff --git a/api/BarberShopReset.lua b/api/BarberShopReset.lua index b22547b..1e8d31d 100644 --- a/api/BarberShopReset.lua +++ b/api/BarberShopReset.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Resets barber shop options to the currently worn styles. Changes the underlying data (and thus the character's appearance) only; the default barbershop UI does not update. function BarberShopReset() end diff --git a/api/BattlefieldMgrEntryInviteResponse.lua b/api/BattlefieldMgrEntryInviteResponse.lua index bda3566..135bcca 100644 --- a/api/BattlefieldMgrEntryInviteResponse.lua +++ b/api/BattlefieldMgrEntryInviteResponse.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BattlefieldMgrEntryInviteResponse() end diff --git a/api/BattlefieldMgrExitRequest.lua b/api/BattlefieldMgrExitRequest.lua index feaaadf..baffa25 100644 --- a/api/BattlefieldMgrExitRequest.lua +++ b/api/BattlefieldMgrExitRequest.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BattlefieldMgrExitRequest() end diff --git a/api/BattlefieldMgrQueueInviteResponse.lua b/api/BattlefieldMgrQueueInviteResponse.lua index 390a43e..16d9399 100644 --- a/api/BattlefieldMgrQueueInviteResponse.lua +++ b/api/BattlefieldMgrQueueInviteResponse.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BattlefieldMgrQueueInviteResponse() end diff --git a/api/BattlefieldMgrQueueRequest.lua b/api/BattlefieldMgrQueueRequest.lua index 5d0926a..f2714be 100644 --- a/api/BattlefieldMgrQueueRequest.lua +++ b/api/BattlefieldMgrQueueRequest.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BattlefieldMgrQueueRequest() end diff --git a/api/BeginTrade.lua b/api/BeginTrade.lua index 3882e31..e233dbe 100644 --- a/api/BeginTrade.lua +++ b/api/BeginTrade.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BeginTrade() end diff --git a/api/BindEnchant.lua b/api/BindEnchant.lua index 1396c93..835b375 100644 --- a/api/BindEnchant.lua +++ b/api/BindEnchant.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Confirms enchanting an item (when the item will become soulbound as a result). Usable following the BIND_ENCHANT event which fires upon attempting to perform an enchantment that would cause the target item to become soulbound. function BindEnchant() end diff --git a/api/BreakUpLargeNumbers.lua b/api/BreakUpLargeNumbers.lua index 65fa4c7..171152d 100644 --- a/api/BreakUpLargeNumbers.lua +++ b/api/BreakUpLargeNumbers.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BreakUpLargeNumbers() end diff --git a/api/BuyGuildBankTab.lua b/api/BuyGuildBankTab.lua index 77ce01a..4edcdb6 100644 --- a/api/BuyGuildBankTab.lua +++ b/api/BuyGuildBankTab.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Purchases the next available guild bank tab function BuyGuildBankTab() end diff --git a/api/BuyGuildCharter.lua b/api/BuyGuildCharter.lua index 260de81..623285d 100644 --- a/api/BuyGuildCharter.lua +++ b/api/BuyGuildCharter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param guildName string ---Purchases a guild charter. Usable if the player is interacting with a guild registrar (i.e. between the GUILD_REGISTRAR_SHOW and GUILD_REGISTRAR_CLOSED events). diff --git a/api/BuyMerchantItem.lua b/api/BuyMerchantItem.lua index 9073881..68cf03b 100644 --- a/api/BuyMerchantItem.lua +++ b/api/BuyMerchantItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param quantity number diff --git a/api/BuyReagentBank.lua b/api/BuyReagentBank.lua index db089cf..866f4b7 100644 --- a/api/BuyReagentBank.lua +++ b/api/BuyReagentBank.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function BuyReagentBank() end diff --git a/api/BuyTrainerService.lua b/api/BuyTrainerService.lua index d46f8c0..1f457d3 100644 --- a/api/BuyTrainerService.lua +++ b/api/BuyTrainerService.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Purchases an ability or recipe available from a trainer diff --git a/api/BuybackItem.lua b/api/BuybackItem.lua index 0923cc8..1f12dfc 100644 --- a/api/BuybackItem.lua +++ b/api/BuybackItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Repurchases an item recently sold to a vendor diff --git a/api/C_BlackMarket.Close.lua b/api/C_BlackMarket.Close.lua index 9145380..0901cdd 100644 --- a/api/C_BlackMarket.Close.lua +++ b/api/C_BlackMarket.Close.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_BlackMarket.Close() end diff --git a/api/C_BlackMarket.GetHotItem.lua b/api/C_BlackMarket.GetHotItem.lua index a702a57..ebc9f1a 100644 --- a/api/C_BlackMarket.GetHotItem.lua +++ b/api/C_BlackMarket.GetHotItem.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_BlackMarket.GetHotItem() end diff --git a/api/C_BlackMarket.GetItemInfoByID.lua b/api/C_BlackMarket.GetItemInfoByID.lua index 17f60f0..2d61bdd 100644 --- a/api/C_BlackMarket.GetItemInfoByID.lua +++ b/api/C_BlackMarket.GetItemInfoByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_BlackMarket.GetItemInfoByID() end diff --git a/api/C_BlackMarket.GetItemInfoByIndex.lua b/api/C_BlackMarket.GetItemInfoByIndex.lua index 262acb0..0ba9cf3 100644 --- a/api/C_BlackMarket.GetItemInfoByIndex.lua +++ b/api/C_BlackMarket.GetItemInfoByIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_BlackMarket.GetItemInfoByIndex() end diff --git a/api/C_BlackMarket.GetNumItems.lua b/api/C_BlackMarket.GetNumItems.lua index 3a19093..46ce882 100644 --- a/api/C_BlackMarket.GetNumItems.lua +++ b/api/C_BlackMarket.GetNumItems.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_BlackMarket.GetNumItems() end diff --git a/api/C_BlackMarket.ItemPlaceBid.lua b/api/C_BlackMarket.ItemPlaceBid.lua index 08045c3..5984efc 100644 --- a/api/C_BlackMarket.ItemPlaceBid.lua +++ b/api/C_BlackMarket.ItemPlaceBid.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_BlackMarket.ItemPlaceBid() end diff --git a/api/C_BlackMarket.RequestItems.lua b/api/C_BlackMarket.RequestItems.lua index 4ccb442..18a1421 100644 --- a/api/C_BlackMarket.RequestItems.lua +++ b/api/C_BlackMarket.RequestItems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests updated black market auction information from the server.. The black market UI must be open according to the server in order for this function to have any effect. function C_BlackMarket.RequestItems() end diff --git a/api/C_Garrison.AddFollowerToMission.lua b/api/C_Garrison.AddFollowerToMission.lua index 693f362..800ead7 100644 --- a/api/C_Garrison.AddFollowerToMission.lua +++ b/api/C_Garrison.AddFollowerToMission.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.AddFollowerToMission() end diff --git a/api/C_Garrison.AssignFollowerToBuilding.lua b/api/C_Garrison.AssignFollowerToBuilding.lua index e938f5f..7a9720c 100644 --- a/api/C_Garrison.AssignFollowerToBuilding.lua +++ b/api/C_Garrison.AssignFollowerToBuilding.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.AssignFollowerToBuilding() end diff --git a/api/C_Garrison.CanGenerateRecruits.lua b/api/C_Garrison.CanGenerateRecruits.lua index b687662..2be3a52 100644 --- a/api/C_Garrison.CanGenerateRecruits.lua +++ b/api/C_Garrison.CanGenerateRecruits.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.CanGenerateRecruits() end diff --git a/api/C_Garrison.CanOpenMissionChest.lua b/api/C_Garrison.CanOpenMissionChest.lua index cde6344..3725a84 100644 --- a/api/C_Garrison.CanOpenMissionChest.lua +++ b/api/C_Garrison.CanOpenMissionChest.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.CanOpenMissionChest() end diff --git a/api/C_Garrison.CanSetRecruitmentPreference.lua b/api/C_Garrison.CanSetRecruitmentPreference.lua index b75ba49..090e506 100644 --- a/api/C_Garrison.CanSetRecruitmentPreference.lua +++ b/api/C_Garrison.CanSetRecruitmentPreference.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.CanSetRecruitmentPreference() end diff --git a/api/C_Garrison.CanUpgradeGarrison.lua b/api/C_Garrison.CanUpgradeGarrison.lua index e259604..199faf5 100644 --- a/api/C_Garrison.CanUpgradeGarrison.lua +++ b/api/C_Garrison.CanUpgradeGarrison.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.CanUpgradeGarrison() end diff --git a/api/C_Garrison.CancelConstruction.lua b/api/C_Garrison.CancelConstruction.lua index 7e75bff..091c319 100644 --- a/api/C_Garrison.CancelConstruction.lua +++ b/api/C_Garrison.CancelConstruction.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.CancelConstruction() end diff --git a/api/C_Garrison.CastSpellOnFollower.lua b/api/C_Garrison.CastSpellOnFollower.lua index 75e7864..efdb84a 100644 --- a/api/C_Garrison.CastSpellOnFollower.lua +++ b/api/C_Garrison.CastSpellOnFollower.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.CastSpellOnFollower() end diff --git a/api/C_Garrison.CloseArchitect.lua b/api/C_Garrison.CloseArchitect.lua index 97bdf5c..92ea709 100644 --- a/api/C_Garrison.CloseArchitect.lua +++ b/api/C_Garrison.CloseArchitect.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.CloseArchitect() end diff --git a/api/C_Garrison.CloseGarrisonTradeskillNPC.lua b/api/C_Garrison.CloseGarrisonTradeskillNPC.lua index c269cd5..51fee01 100644 --- a/api/C_Garrison.CloseGarrisonTradeskillNPC.lua +++ b/api/C_Garrison.CloseGarrisonTradeskillNPC.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.CloseGarrisonTradeskillNPC() end diff --git a/api/C_Garrison.CloseMissionNPC.lua b/api/C_Garrison.CloseMissionNPC.lua index fc641bd..483305c 100644 --- a/api/C_Garrison.CloseMissionNPC.lua +++ b/api/C_Garrison.CloseMissionNPC.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.CloseMissionNPC() end diff --git a/api/C_Garrison.CloseRecruitmentNPC.lua b/api/C_Garrison.CloseRecruitmentNPC.lua index b53317d..c702d78 100644 --- a/api/C_Garrison.CloseRecruitmentNPC.lua +++ b/api/C_Garrison.CloseRecruitmentNPC.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.CloseRecruitmentNPC() end diff --git a/api/C_Garrison.CloseTradeskillCrafter.lua b/api/C_Garrison.CloseTradeskillCrafter.lua index f30e22b..0d6344e 100644 --- a/api/C_Garrison.CloseTradeskillCrafter.lua +++ b/api/C_Garrison.CloseTradeskillCrafter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.CloseTradeskillCrafter() end diff --git a/api/C_Garrison.GenerateRecruits.lua b/api/C_Garrison.GenerateRecruits.lua index fb68f0e..62e6746 100644 --- a/api/C_Garrison.GenerateRecruits.lua +++ b/api/C_Garrison.GenerateRecruits.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GenerateRecruits() end diff --git a/api/C_Garrison.GetAvailableMissions.lua b/api/C_Garrison.GetAvailableMissions.lua index 2ee96dd..941d398 100644 --- a/api/C_Garrison.GetAvailableMissions.lua +++ b/api/C_Garrison.GetAvailableMissions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns an array of available missions.. Returns an array of available missions each with the following structure: description: A short description of the mission cost: The cost in resources of the mission duration: The display duration of the mission (45 min) durationSeconds: The duration of the mission in seconds level: The mission level type: The display mission type (Combat) locPrefix: The mission location with prefix (GarrMissionLocation-FrostfireRidge) rewards: A table of the rewards indexed by the reward ID title: Type of reward (currency or xp) quantity: Amount for the reward (item or currency) icon: Display icon for reward (currency or xp) currencyID: ID of currency type (currency only) itemID: ID of item (items only) followerXP: amount of xp (follower xp only) tooltip: string for display in tooltip (xp only) name: display string for reward (xp only) numRewards: Number of rewards for the mission numFollowers: Number of followers the mission may have state: The state of the mission iLevel: The required iLevel for the mission name: The display name for the mission followers: Table of followers assigned to the mission location: The display location for the mission(Frostfire Ridge) isRare: Whether the mission is of rare quality typeAtlas: Prefixed mission type (GarrMission_MissionIcon-Combat) missionID: The ID of the mission that is used for other API calls. function C_Garrison.GetAvailableMissions() end diff --git a/api/C_Garrison.GetAvailableRecruits.lua b/api/C_Garrison.GetAvailableRecruits.lua index 84af660..aac1e11 100644 --- a/api/C_Garrison.GetAvailableRecruits.lua +++ b/api/C_Garrison.GetAvailableRecruits.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetAvailableRecruits() end diff --git a/api/C_Garrison.GetBasicMissionInfo.lua b/api/C_Garrison.GetBasicMissionInfo.lua index c789c2d..8f9a407 100644 --- a/api/C_Garrison.GetBasicMissionInfo.lua +++ b/api/C_Garrison.GetBasicMissionInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetBasicMissionInfo() end diff --git a/api/C_Garrison.GetBuffedFollowersForMission.lua b/api/C_Garrison.GetBuffedFollowersForMission.lua index 7cc0405..600331b 100644 --- a/api/C_Garrison.GetBuffedFollowersForMission.lua +++ b/api/C_Garrison.GetBuffedFollowersForMission.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetBuffedFollowersForMission() end diff --git a/api/C_Garrison.GetBuildingInfo.lua b/api/C_Garrison.GetBuildingInfo.lua index 01cea3f..320a39d 100644 --- a/api/C_Garrison.GetBuildingInfo.lua +++ b/api/C_Garrison.GetBuildingInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param buildingID number ---@return number buildingID diff --git a/api/C_Garrison.GetBuildingLockInfo.lua b/api/C_Garrison.GetBuildingLockInfo.lua index 57e71e4..397de6e 100644 --- a/api/C_Garrison.GetBuildingLockInfo.lua +++ b/api/C_Garrison.GetBuildingLockInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetBuildingLockInfo() end diff --git a/api/C_Garrison.GetBuildingSizes.lua b/api/C_Garrison.GetBuildingSizes.lua index c722c7e..e055034 100644 --- a/api/C_Garrison.GetBuildingSizes.lua +++ b/api/C_Garrison.GetBuildingSizes.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetBuildingSizes() end diff --git a/api/C_Garrison.GetBuildingSpecInfo.lua b/api/C_Garrison.GetBuildingSpecInfo.lua index fbeda4a..4d2a539 100644 --- a/api/C_Garrison.GetBuildingSpecInfo.lua +++ b/api/C_Garrison.GetBuildingSpecInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetBuildingSpecInfo() end diff --git a/api/C_Garrison.GetBuildingTimeRemaining.lua b/api/C_Garrison.GetBuildingTimeRemaining.lua index 2f0abb5..b7a86ec 100644 --- a/api/C_Garrison.GetBuildingTimeRemaining.lua +++ b/api/C_Garrison.GetBuildingTimeRemaining.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetBuildingTimeRemaining() end diff --git a/api/C_Garrison.GetBuildingTooltip.lua b/api/C_Garrison.GetBuildingTooltip.lua index 20d63c1..dfdb62c 100644 --- a/api/C_Garrison.GetBuildingTooltip.lua +++ b/api/C_Garrison.GetBuildingTooltip.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetBuildingTooltip() end diff --git a/api/C_Garrison.GetBuildingUpgradeInfo.lua b/api/C_Garrison.GetBuildingUpgradeInfo.lua index e3e43a3..0b1841e 100644 --- a/api/C_Garrison.GetBuildingUpgradeInfo.lua +++ b/api/C_Garrison.GetBuildingUpgradeInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetBuildingUpgradeInfo() end diff --git a/api/C_Garrison.GetBuildings.lua b/api/C_Garrison.GetBuildings.lua index 62f0812..3ebbfb7 100644 --- a/api/C_Garrison.GetBuildings.lua +++ b/api/C_Garrison.GetBuildings.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetBuildings() end diff --git a/api/C_Garrison.GetBuildingsForPlot.lua b/api/C_Garrison.GetBuildingsForPlot.lua index 1838dac..d378559 100644 --- a/api/C_Garrison.GetBuildingsForPlot.lua +++ b/api/C_Garrison.GetBuildingsForPlot.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetBuildingsForPlot() end diff --git a/api/C_Garrison.GetBuildingsForSize.lua b/api/C_Garrison.GetBuildingsForSize.lua index 7082ad7..9791bb2 100644 --- a/api/C_Garrison.GetBuildingsForSize.lua +++ b/api/C_Garrison.GetBuildingsForSize.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetBuildingsForSize() end diff --git a/api/C_Garrison.GetCompleteMissions.lua b/api/C_Garrison.GetCompleteMissions.lua index 84dc763..c126238 100644 --- a/api/C_Garrison.GetCompleteMissions.lua +++ b/api/C_Garrison.GetCompleteMissions.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetCompleteMissions() end diff --git a/api/C_Garrison.GetFollowerAbilities.lua b/api/C_Garrison.GetFollowerAbilities.lua index a264d10..920bf78 100644 --- a/api/C_Garrison.GetFollowerAbilities.lua +++ b/api/C_Garrison.GetFollowerAbilities.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerAbilities() end diff --git a/api/C_Garrison.GetFollowerAbilityAtIndex.lua b/api/C_Garrison.GetFollowerAbilityAtIndex.lua index d05ec2e..92e20e4 100644 --- a/api/C_Garrison.GetFollowerAbilityAtIndex.lua +++ b/api/C_Garrison.GetFollowerAbilityAtIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerAbilityAtIndex() end diff --git a/api/C_Garrison.GetFollowerAbilityAtIndexByID.lua b/api/C_Garrison.GetFollowerAbilityAtIndexByID.lua index c48ff91..cc7c9e5 100644 --- a/api/C_Garrison.GetFollowerAbilityAtIndexByID.lua +++ b/api/C_Garrison.GetFollowerAbilityAtIndexByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerAbilityAtIndexByID() end diff --git a/api/C_Garrison.GetFollowerAbilityCounterMechanicInfo.lua b/api/C_Garrison.GetFollowerAbilityCounterMechanicInfo.lua index 2cd3bab..60ddd7d 100644 --- a/api/C_Garrison.GetFollowerAbilityCounterMechanicInfo.lua +++ b/api/C_Garrison.GetFollowerAbilityCounterMechanicInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerAbilityCounterMechanicInfo() end diff --git a/api/C_Garrison.GetFollowerAbilityDescription.lua b/api/C_Garrison.GetFollowerAbilityDescription.lua index d185077..d08ef3f 100644 --- a/api/C_Garrison.GetFollowerAbilityDescription.lua +++ b/api/C_Garrison.GetFollowerAbilityDescription.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerAbilityDescription() end diff --git a/api/C_Garrison.GetFollowerAbilityIcon.lua b/api/C_Garrison.GetFollowerAbilityIcon.lua index 87edde9..457819f 100644 --- a/api/C_Garrison.GetFollowerAbilityIcon.lua +++ b/api/C_Garrison.GetFollowerAbilityIcon.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerAbilityIcon() end diff --git a/api/C_Garrison.GetFollowerAbilityIsTrait.lua b/api/C_Garrison.GetFollowerAbilityIsTrait.lua index c015f30..84a7d1a 100644 --- a/api/C_Garrison.GetFollowerAbilityIsTrait.lua +++ b/api/C_Garrison.GetFollowerAbilityIsTrait.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerAbilityIsTrait() end diff --git a/api/C_Garrison.GetFollowerAbilityLink.lua b/api/C_Garrison.GetFollowerAbilityLink.lua index 565dd3e..4e7c0dc 100644 --- a/api/C_Garrison.GetFollowerAbilityLink.lua +++ b/api/C_Garrison.GetFollowerAbilityLink.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerAbilityLink() end diff --git a/api/C_Garrison.GetFollowerAbilityName.lua b/api/C_Garrison.GetFollowerAbilityName.lua index 18a6964..c9531c6 100644 --- a/api/C_Garrison.GetFollowerAbilityName.lua +++ b/api/C_Garrison.GetFollowerAbilityName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerAbilityName() end diff --git a/api/C_Garrison.GetFollowerActivationCost.lua b/api/C_Garrison.GetFollowerActivationCost.lua index b9a8c96..5a29d4e 100644 --- a/api/C_Garrison.GetFollowerActivationCost.lua +++ b/api/C_Garrison.GetFollowerActivationCost.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerActivationCost() end diff --git a/api/C_Garrison.GetFollowerBiasForMission.lua b/api/C_Garrison.GetFollowerBiasForMission.lua index 3479b6c..453ce50 100644 --- a/api/C_Garrison.GetFollowerBiasForMission.lua +++ b/api/C_Garrison.GetFollowerBiasForMission.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerBiasForMission() end diff --git a/api/C_Garrison.GetFollowerClassSpec.lua b/api/C_Garrison.GetFollowerClassSpec.lua index 57fc909..8745b3f 100644 --- a/api/C_Garrison.GetFollowerClassSpec.lua +++ b/api/C_Garrison.GetFollowerClassSpec.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerClassSpec() end diff --git a/api/C_Garrison.GetFollowerClassSpecAtlas.lua b/api/C_Garrison.GetFollowerClassSpecAtlas.lua index 4999e94..34f06d3 100644 --- a/api/C_Garrison.GetFollowerClassSpecAtlas.lua +++ b/api/C_Garrison.GetFollowerClassSpecAtlas.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerClassSpecAtlas() end diff --git a/api/C_Garrison.GetFollowerClassSpecByID.lua b/api/C_Garrison.GetFollowerClassSpecByID.lua index 955aaeb..1937371 100644 --- a/api/C_Garrison.GetFollowerClassSpecByID.lua +++ b/api/C_Garrison.GetFollowerClassSpecByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerClassSpecByID() end diff --git a/api/C_Garrison.GetFollowerClassSpecName.lua b/api/C_Garrison.GetFollowerClassSpecName.lua index c8f1851..f43b29c 100644 --- a/api/C_Garrison.GetFollowerClassSpecName.lua +++ b/api/C_Garrison.GetFollowerClassSpecName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerClassSpecName() end diff --git a/api/C_Garrison.GetFollowerDisplayID.lua b/api/C_Garrison.GetFollowerDisplayID.lua index 798efd6..c1acae7 100644 --- a/api/C_Garrison.GetFollowerDisplayID.lua +++ b/api/C_Garrison.GetFollowerDisplayID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerDisplayID() end diff --git a/api/C_Garrison.GetFollowerDisplayIDByID.lua b/api/C_Garrison.GetFollowerDisplayIDByID.lua index ce5e064..e90c299 100644 --- a/api/C_Garrison.GetFollowerDisplayIDByID.lua +++ b/api/C_Garrison.GetFollowerDisplayIDByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerDisplayIDByID() end diff --git a/api/C_Garrison.GetFollowerInfo.lua b/api/C_Garrison.GetFollowerInfo.lua index ec4f274..5b44552 100644 --- a/api/C_Garrison.GetFollowerInfo.lua +++ b/api/C_Garrison.GetFollowerInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerInfo() end diff --git a/api/C_Garrison.GetFollowerInfoForBuilding.lua b/api/C_Garrison.GetFollowerInfoForBuilding.lua index 34673ad..4fb88bb 100644 --- a/api/C_Garrison.GetFollowerInfoForBuilding.lua +++ b/api/C_Garrison.GetFollowerInfoForBuilding.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param plotID number ---@return string name diff --git a/api/C_Garrison.GetFollowerItemLevelAverage.lua b/api/C_Garrison.GetFollowerItemLevelAverage.lua index d6ed252..aaea04a 100644 --- a/api/C_Garrison.GetFollowerItemLevelAverage.lua +++ b/api/C_Garrison.GetFollowerItemLevelAverage.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerItemLevelAverage() end diff --git a/api/C_Garrison.GetFollowerItems.lua b/api/C_Garrison.GetFollowerItems.lua index 7532b5b..5db7b8b 100644 --- a/api/C_Garrison.GetFollowerItems.lua +++ b/api/C_Garrison.GetFollowerItems.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerItems() end diff --git a/api/C_Garrison.GetFollowerLevel.lua b/api/C_Garrison.GetFollowerLevel.lua index a283063..ac6b583 100644 --- a/api/C_Garrison.GetFollowerLevel.lua +++ b/api/C_Garrison.GetFollowerLevel.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerLevel() end diff --git a/api/C_Garrison.GetFollowerLevelXP.lua b/api/C_Garrison.GetFollowerLevelXP.lua index 5e92f66..16bfca0 100644 --- a/api/C_Garrison.GetFollowerLevelXP.lua +++ b/api/C_Garrison.GetFollowerLevelXP.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerLevelXP() end diff --git a/api/C_Garrison.GetFollowerLink.lua b/api/C_Garrison.GetFollowerLink.lua index 9fea254..3fcb4c8 100644 --- a/api/C_Garrison.GetFollowerLink.lua +++ b/api/C_Garrison.GetFollowerLink.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerLink() end diff --git a/api/C_Garrison.GetFollowerLinkByID.lua b/api/C_Garrison.GetFollowerLinkByID.lua index 5cc0f23..ac50c8b 100644 --- a/api/C_Garrison.GetFollowerLinkByID.lua +++ b/api/C_Garrison.GetFollowerLinkByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerLinkByID() end diff --git a/api/C_Garrison.GetFollowerMissionCompleteInfo.lua b/api/C_Garrison.GetFollowerMissionCompleteInfo.lua index 48821b6..aaccd67 100644 --- a/api/C_Garrison.GetFollowerMissionCompleteInfo.lua +++ b/api/C_Garrison.GetFollowerMissionCompleteInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerMissionCompleteInfo() end diff --git a/api/C_Garrison.GetFollowerModelItems.lua b/api/C_Garrison.GetFollowerModelItems.lua index 9bd218a..1851071 100644 --- a/api/C_Garrison.GetFollowerModelItems.lua +++ b/api/C_Garrison.GetFollowerModelItems.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerModelItems() end diff --git a/api/C_Garrison.GetFollowerName.lua b/api/C_Garrison.GetFollowerName.lua index edf7b5a..2248b60 100644 --- a/api/C_Garrison.GetFollowerName.lua +++ b/api/C_Garrison.GetFollowerName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerName() end diff --git a/api/C_Garrison.GetFollowerNameByID.lua b/api/C_Garrison.GetFollowerNameByID.lua index 3fcf6b0..8c580d1 100644 --- a/api/C_Garrison.GetFollowerNameByID.lua +++ b/api/C_Garrison.GetFollowerNameByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerNameByID() end diff --git a/api/C_Garrison.GetFollowerPortraitIconIDByID.lua b/api/C_Garrison.GetFollowerPortraitIconIDByID.lua index c9420be..70dc751 100644 --- a/api/C_Garrison.GetFollowerPortraitIconIDByID.lua +++ b/api/C_Garrison.GetFollowerPortraitIconIDByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerPortraitIconIDByID() end diff --git a/api/C_Garrison.GetFollowerQuality.lua b/api/C_Garrison.GetFollowerQuality.lua index c544b4e..bc9847f 100644 --- a/api/C_Garrison.GetFollowerQuality.lua +++ b/api/C_Garrison.GetFollowerQuality.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerQuality() end diff --git a/api/C_Garrison.GetFollowerQualityTable.lua b/api/C_Garrison.GetFollowerQualityTable.lua index a5850b0..af5fc8c 100644 --- a/api/C_Garrison.GetFollowerQualityTable.lua +++ b/api/C_Garrison.GetFollowerQualityTable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerQualityTable() end diff --git a/api/C_Garrison.GetFollowerSoftCap.lua b/api/C_Garrison.GetFollowerSoftCap.lua index 90fde30..da7194c 100644 --- a/api/C_Garrison.GetFollowerSoftCap.lua +++ b/api/C_Garrison.GetFollowerSoftCap.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerSoftCap() end diff --git a/api/C_Garrison.GetFollowerSourceTextByID.lua b/api/C_Garrison.GetFollowerSourceTextByID.lua index cfc8ff8..098aa8c 100644 --- a/api/C_Garrison.GetFollowerSourceTextByID.lua +++ b/api/C_Garrison.GetFollowerSourceTextByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerSourceTextByID() end diff --git a/api/C_Garrison.GetFollowerStatus.lua b/api/C_Garrison.GetFollowerStatus.lua index 6acf0ad..c8f41a0 100644 --- a/api/C_Garrison.GetFollowerStatus.lua +++ b/api/C_Garrison.GetFollowerStatus.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerStatus() end diff --git a/api/C_Garrison.GetFollowerTraitAtIndex.lua b/api/C_Garrison.GetFollowerTraitAtIndex.lua index 662b049..e363aa1 100644 --- a/api/C_Garrison.GetFollowerTraitAtIndex.lua +++ b/api/C_Garrison.GetFollowerTraitAtIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerTraitAtIndex() end diff --git a/api/C_Garrison.GetFollowerTraitAtIndexByID.lua b/api/C_Garrison.GetFollowerTraitAtIndexByID.lua index 736f85e..67503a6 100644 --- a/api/C_Garrison.GetFollowerTraitAtIndexByID.lua +++ b/api/C_Garrison.GetFollowerTraitAtIndexByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerTraitAtIndexByID() end diff --git a/api/C_Garrison.GetFollowerXP.lua b/api/C_Garrison.GetFollowerXP.lua index d7cece0..c1e13cc 100644 --- a/api/C_Garrison.GetFollowerXP.lua +++ b/api/C_Garrison.GetFollowerXP.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerXP() end diff --git a/api/C_Garrison.GetFollowerXPTable.lua b/api/C_Garrison.GetFollowerXPTable.lua index fe7770c..4d02c25 100644 --- a/api/C_Garrison.GetFollowerXPTable.lua +++ b/api/C_Garrison.GetFollowerXPTable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowerXPTable() end diff --git a/api/C_Garrison.GetFollowers.lua b/api/C_Garrison.GetFollowers.lua index d7e755c..9aa09f6 100644 --- a/api/C_Garrison.GetFollowers.lua +++ b/api/C_Garrison.GetFollowers.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowers() end diff --git a/api/C_Garrison.GetFollowersTraitsForMission.lua b/api/C_Garrison.GetFollowersTraitsForMission.lua index 486b27d..7ebe643 100644 --- a/api/C_Garrison.GetFollowersTraitsForMission.lua +++ b/api/C_Garrison.GetFollowersTraitsForMission.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetFollowersTraitsForMission() end diff --git a/api/C_Garrison.GetGarrisonInfo.lua b/api/C_Garrison.GetGarrisonInfo.lua index 0cf11d1..9faca36 100644 --- a/api/C_Garrison.GetGarrisonInfo.lua +++ b/api/C_Garrison.GetGarrisonInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetGarrisonInfo() end diff --git a/api/C_Garrison.GetGarrisonUpgradeCost.lua b/api/C_Garrison.GetGarrisonUpgradeCost.lua index b05d9ae..c01f457 100644 --- a/api/C_Garrison.GetGarrisonUpgradeCost.lua +++ b/api/C_Garrison.GetGarrisonUpgradeCost.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetGarrisonUpgradeCost() end diff --git a/api/C_Garrison.GetInProgressMissions.lua b/api/C_Garrison.GetInProgressMissions.lua index 511f0cd..4cb6600 100644 --- a/api/C_Garrison.GetInProgressMissions.lua +++ b/api/C_Garrison.GetInProgressMissions.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetInProgressMissions() end diff --git a/api/C_Garrison.GetLandingPageItems.lua b/api/C_Garrison.GetLandingPageItems.lua index 4945f05..d019a5a 100644 --- a/api/C_Garrison.GetLandingPageItems.lua +++ b/api/C_Garrison.GetLandingPageItems.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetLandingPageItems() end diff --git a/api/C_Garrison.GetLandingPageShipmentCount.lua b/api/C_Garrison.GetLandingPageShipmentCount.lua index c9a3b0f..a312ef5 100644 --- a/api/C_Garrison.GetLandingPageShipmentCount.lua +++ b/api/C_Garrison.GetLandingPageShipmentCount.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetLandingPageShipmentCount() end diff --git a/api/C_Garrison.GetLandingPageShipmentInfo.lua b/api/C_Garrison.GetLandingPageShipmentInfo.lua index 04557ff..3140a2d 100644 --- a/api/C_Garrison.GetLandingPageShipmentInfo.lua +++ b/api/C_Garrison.GetLandingPageShipmentInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string name ---@return string texture diff --git a/api/C_Garrison.GetMissionCompleteEncounters.lua b/api/C_Garrison.GetMissionCompleteEncounters.lua index 3ad9fad..88a3f94 100644 --- a/api/C_Garrison.GetMissionCompleteEncounters.lua +++ b/api/C_Garrison.GetMissionCompleteEncounters.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetMissionCompleteEncounters() end diff --git a/api/C_Garrison.GetMissionDisplayIDs.lua b/api/C_Garrison.GetMissionDisplayIDs.lua index 421e2d1..669720e 100644 --- a/api/C_Garrison.GetMissionDisplayIDs.lua +++ b/api/C_Garrison.GetMissionDisplayIDs.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetMissionDisplayIDs() end diff --git a/api/C_Garrison.GetMissionInfo.lua b/api/C_Garrison.GetMissionInfo.lua index 11b78d9..87d953c 100644 --- a/api/C_Garrison.GetMissionInfo.lua +++ b/api/C_Garrison.GetMissionInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetMissionInfo() end diff --git a/api/C_Garrison.GetMissionLink.lua b/api/C_Garrison.GetMissionLink.lua index 9fd1a1e..8d64b4d 100644 --- a/api/C_Garrison.GetMissionLink.lua +++ b/api/C_Garrison.GetMissionLink.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetMissionLink() end diff --git a/api/C_Garrison.GetMissionMaxFollowers.lua b/api/C_Garrison.GetMissionMaxFollowers.lua index fb54b4c..d11f303 100644 --- a/api/C_Garrison.GetMissionMaxFollowers.lua +++ b/api/C_Garrison.GetMissionMaxFollowers.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetMissionMaxFollowers() end diff --git a/api/C_Garrison.GetMissionName.lua b/api/C_Garrison.GetMissionName.lua index 348851f..2f1d67f 100644 --- a/api/C_Garrison.GetMissionName.lua +++ b/api/C_Garrison.GetMissionName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetMissionName() end diff --git a/api/C_Garrison.GetMissionRewardInfo.lua b/api/C_Garrison.GetMissionRewardInfo.lua index 37e9f69..36c708b 100644 --- a/api/C_Garrison.GetMissionRewardInfo.lua +++ b/api/C_Garrison.GetMissionRewardInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetMissionRewardInfo() end diff --git a/api/C_Garrison.GetMissionTimes.lua b/api/C_Garrison.GetMissionTimes.lua index 24db61a..5718d59 100644 --- a/api/C_Garrison.GetMissionTimes.lua +++ b/api/C_Garrison.GetMissionTimes.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetMissionTimes() end diff --git a/api/C_Garrison.GetMissionUncounteredMechanics.lua b/api/C_Garrison.GetMissionUncounteredMechanics.lua index 34567ac..ea4d4af 100644 --- a/api/C_Garrison.GetMissionUncounteredMechanics.lua +++ b/api/C_Garrison.GetMissionUncounteredMechanics.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetMissionUncounteredMechanics() end diff --git a/api/C_Garrison.GetNumActiveFollowers.lua b/api/C_Garrison.GetNumActiveFollowers.lua index 430e3f2..599e0d1 100644 --- a/api/C_Garrison.GetNumActiveFollowers.lua +++ b/api/C_Garrison.GetNumActiveFollowers.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetNumActiveFollowers() end diff --git a/api/C_Garrison.GetNumFollowerActivationsRemaining.lua b/api/C_Garrison.GetNumFollowerActivationsRemaining.lua index 5a9ab16..ad0d47d 100644 --- a/api/C_Garrison.GetNumFollowerActivationsRemaining.lua +++ b/api/C_Garrison.GetNumFollowerActivationsRemaining.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetNumFollowerActivationsRemaining() end diff --git a/api/C_Garrison.GetNumFollowerDailyActivations.lua b/api/C_Garrison.GetNumFollowerDailyActivations.lua index 2fc6b99..19bf2d0 100644 --- a/api/C_Garrison.GetNumFollowerDailyActivations.lua +++ b/api/C_Garrison.GetNumFollowerDailyActivations.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetNumFollowerDailyActivations() end diff --git a/api/C_Garrison.GetNumFollowers.lua b/api/C_Garrison.GetNumFollowers.lua index 0acacf8..b4d11a5 100644 --- a/api/C_Garrison.GetNumFollowers.lua +++ b/api/C_Garrison.GetNumFollowers.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetNumFollowers() end diff --git a/api/C_Garrison.GetNumFollowersOnMission.lua b/api/C_Garrison.GetNumFollowersOnMission.lua index 05ccfee..0c7ac96 100644 --- a/api/C_Garrison.GetNumFollowersOnMission.lua +++ b/api/C_Garrison.GetNumFollowersOnMission.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetNumFollowersOnMission() end diff --git a/api/C_Garrison.GetNumPendingShipments.lua b/api/C_Garrison.GetNumPendingShipments.lua index ea850d4..7523ab2 100644 --- a/api/C_Garrison.GetNumPendingShipments.lua +++ b/api/C_Garrison.GetNumPendingShipments.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetNumPendingShipments() end diff --git a/api/C_Garrison.GetNumShipmentReagents.lua b/api/C_Garrison.GetNumShipmentReagents.lua index f942f43..bd05aa2 100644 --- a/api/C_Garrison.GetNumShipmentReagents.lua +++ b/api/C_Garrison.GetNumShipmentReagents.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetNumShipmentReagents() end diff --git a/api/C_Garrison.GetOwnedBuildingInfo.lua b/api/C_Garrison.GetOwnedBuildingInfo.lua index 06abaca..c842f6e 100644 --- a/api/C_Garrison.GetOwnedBuildingInfo.lua +++ b/api/C_Garrison.GetOwnedBuildingInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param plotID number ---@return number buildingID diff --git a/api/C_Garrison.GetOwnedBuildingInfoAbbrev.lua b/api/C_Garrison.GetOwnedBuildingInfoAbbrev.lua index 18f56ea..768e1b8 100644 --- a/api/C_Garrison.GetOwnedBuildingInfoAbbrev.lua +++ b/api/C_Garrison.GetOwnedBuildingInfoAbbrev.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param plotID number ---@return number buildingID diff --git a/api/C_Garrison.GetPartyBuffs.lua b/api/C_Garrison.GetPartyBuffs.lua index de8b283..9ae9640 100644 --- a/api/C_Garrison.GetPartyBuffs.lua +++ b/api/C_Garrison.GetPartyBuffs.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetPartyBuffs() end diff --git a/api/C_Garrison.GetPartyMissionInfo.lua b/api/C_Garrison.GetPartyMissionInfo.lua index 43bd5c3..36b4f4a 100644 --- a/api/C_Garrison.GetPartyMissionInfo.lua +++ b/api/C_Garrison.GetPartyMissionInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetPartyMissionInfo() end diff --git a/api/C_Garrison.GetPendingShipmentInfo.lua b/api/C_Garrison.GetPendingShipmentInfo.lua index 737de6b..e90d329 100644 --- a/api/C_Garrison.GetPendingShipmentInfo.lua +++ b/api/C_Garrison.GetPendingShipmentInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetPendingShipmentInfo() end diff --git a/api/C_Garrison.GetPlots.lua b/api/C_Garrison.GetPlots.lua index f9dcaad..df82389 100644 --- a/api/C_Garrison.GetPlots.lua +++ b/api/C_Garrison.GetPlots.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetPlots() end diff --git a/api/C_Garrison.GetPlotsForBuilding.lua b/api/C_Garrison.GetPlotsForBuilding.lua index ce3a789..65a6db0 100644 --- a/api/C_Garrison.GetPlotsForBuilding.lua +++ b/api/C_Garrison.GetPlotsForBuilding.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetPlotsForBuilding() end diff --git a/api/C_Garrison.GetPossibleFollowersForBuilding.lua b/api/C_Garrison.GetPossibleFollowersForBuilding.lua index b018120..0f432f4 100644 --- a/api/C_Garrison.GetPossibleFollowersForBuilding.lua +++ b/api/C_Garrison.GetPossibleFollowersForBuilding.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetPossibleFollowersForBuilding() end diff --git a/api/C_Garrison.GetRecruitAbilities.lua b/api/C_Garrison.GetRecruitAbilities.lua index 7e31f4e..b30bc3c 100644 --- a/api/C_Garrison.GetRecruitAbilities.lua +++ b/api/C_Garrison.GetRecruitAbilities.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetRecruitAbilities() end diff --git a/api/C_Garrison.GetRecruiterAbilityCategories.lua b/api/C_Garrison.GetRecruiterAbilityCategories.lua index 5a23184..525d345 100644 --- a/api/C_Garrison.GetRecruiterAbilityCategories.lua +++ b/api/C_Garrison.GetRecruiterAbilityCategories.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetRecruiterAbilityCategories() end diff --git a/api/C_Garrison.GetRecruiterAbilityList.lua b/api/C_Garrison.GetRecruiterAbilityList.lua index a76cf91..229275b 100644 --- a/api/C_Garrison.GetRecruiterAbilityList.lua +++ b/api/C_Garrison.GetRecruiterAbilityList.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetRecruiterAbilityList() end diff --git a/api/C_Garrison.GetRecruitmentPreferences.lua b/api/C_Garrison.GetRecruitmentPreferences.lua index a7932a8..7ee8063 100644 --- a/api/C_Garrison.GetRecruitmentPreferences.lua +++ b/api/C_Garrison.GetRecruitmentPreferences.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetRecruitmentPreferences() end diff --git a/api/C_Garrison.GetRewardChance.lua b/api/C_Garrison.GetRewardChance.lua index d4b1625..3c1e597 100644 --- a/api/C_Garrison.GetRewardChance.lua +++ b/api/C_Garrison.GetRewardChance.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetRewardChance() end diff --git a/api/C_Garrison.GetShipmentContainerInfo.lua b/api/C_Garrison.GetShipmentContainerInfo.lua index 68fa176..e615334 100644 --- a/api/C_Garrison.GetShipmentContainerInfo.lua +++ b/api/C_Garrison.GetShipmentContainerInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string prefix ---@return string pendingText diff --git a/api/C_Garrison.GetShipmentItemInfo.lua b/api/C_Garrison.GetShipmentItemInfo.lua index 1f36664..89b4f74 100644 --- a/api/C_Garrison.GetShipmentItemInfo.lua +++ b/api/C_Garrison.GetShipmentItemInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetShipmentItemInfo() end diff --git a/api/C_Garrison.GetShipmentReagentCurrencyInfo.lua b/api/C_Garrison.GetShipmentReagentCurrencyInfo.lua index 6fc0bec..094dfa4 100644 --- a/api/C_Garrison.GetShipmentReagentCurrencyInfo.lua +++ b/api/C_Garrison.GetShipmentReagentCurrencyInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetShipmentReagentCurrencyInfo() end diff --git a/api/C_Garrison.GetShipmentReagentInfo.lua b/api/C_Garrison.GetShipmentReagentInfo.lua index 70c7a56..576a289 100644 --- a/api/C_Garrison.GetShipmentReagentInfo.lua +++ b/api/C_Garrison.GetShipmentReagentInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetShipmentReagentInfo() end diff --git a/api/C_Garrison.GetShipmentReagentItemLink.lua b/api/C_Garrison.GetShipmentReagentItemLink.lua index 4490509..1ab7b71 100644 --- a/api/C_Garrison.GetShipmentReagentItemLink.lua +++ b/api/C_Garrison.GetShipmentReagentItemLink.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetShipmentReagentItemLink() end diff --git a/api/C_Garrison.GetSpecChangeCost.lua b/api/C_Garrison.GetSpecChangeCost.lua index 57db6ee..4dc6ee3 100644 --- a/api/C_Garrison.GetSpecChangeCost.lua +++ b/api/C_Garrison.GetSpecChangeCost.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetSpecChangeCost() end diff --git a/api/C_Garrison.GetTabForPlot.lua b/api/C_Garrison.GetTabForPlot.lua index f3b37da..183c3ba 100644 --- a/api/C_Garrison.GetTabForPlot.lua +++ b/api/C_Garrison.GetTabForPlot.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.GetTabForPlot() end diff --git a/api/C_Garrison.IsAboveFollowerSoftCap.lua b/api/C_Garrison.IsAboveFollowerSoftCap.lua index 05d14b5..09831c6 100644 --- a/api/C_Garrison.IsAboveFollowerSoftCap.lua +++ b/api/C_Garrison.IsAboveFollowerSoftCap.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.IsAboveFollowerSoftCap() end diff --git a/api/C_Garrison.IsFollowerCollected.lua b/api/C_Garrison.IsFollowerCollected.lua index 5b33baa..aec1a7d 100644 --- a/api/C_Garrison.IsFollowerCollected.lua +++ b/api/C_Garrison.IsFollowerCollected.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.IsFollowerCollected() end diff --git a/api/C_Garrison.IsFollowerUnique.lua b/api/C_Garrison.IsFollowerUnique.lua index 62f1734..5b77365 100644 --- a/api/C_Garrison.IsFollowerUnique.lua +++ b/api/C_Garrison.IsFollowerUnique.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.IsFollowerUnique() end diff --git a/api/C_Garrison.IsInvasionAvailable.lua b/api/C_Garrison.IsInvasionAvailable.lua index 1023eab..384a887 100644 --- a/api/C_Garrison.IsInvasionAvailable.lua +++ b/api/C_Garrison.IsInvasionAvailable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.IsInvasionAvailable() end diff --git a/api/C_Garrison.IsOnGarrisonMap.lua b/api/C_Garrison.IsOnGarrisonMap.lua index 5742c03..5f869db 100644 --- a/api/C_Garrison.IsOnGarrisonMap.lua +++ b/api/C_Garrison.IsOnGarrisonMap.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.IsOnGarrisonMap() end diff --git a/api/C_Garrison.IsUsingPartyGarrison.lua b/api/C_Garrison.IsUsingPartyGarrison.lua index 564adc2..d494959 100644 --- a/api/C_Garrison.IsUsingPartyGarrison.lua +++ b/api/C_Garrison.IsUsingPartyGarrison.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.IsUsingPartyGarrison() end diff --git a/api/C_Garrison.IsVisitGarrisonAvailable.lua b/api/C_Garrison.IsVisitGarrisonAvailable.lua index 66bca9c..62abd3d 100644 --- a/api/C_Garrison.IsVisitGarrisonAvailable.lua +++ b/api/C_Garrison.IsVisitGarrisonAvailable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.IsVisitGarrisonAvailable() end diff --git a/api/C_Garrison.MarkMissionComplete.lua b/api/C_Garrison.MarkMissionComplete.lua index 843530f..1a5ce1d 100644 --- a/api/C_Garrison.MarkMissionComplete.lua +++ b/api/C_Garrison.MarkMissionComplete.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.MarkMissionComplete() end diff --git a/api/C_Garrison.MissionBonusRoll.lua b/api/C_Garrison.MissionBonusRoll.lua index b2c4869..4bb095f 100644 --- a/api/C_Garrison.MissionBonusRoll.lua +++ b/api/C_Garrison.MissionBonusRoll.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.MissionBonusRoll() end diff --git a/api/C_Garrison.PlaceBuilding.lua b/api/C_Garrison.PlaceBuilding.lua index a420465..e5b9701 100644 --- a/api/C_Garrison.PlaceBuilding.lua +++ b/api/C_Garrison.PlaceBuilding.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.PlaceBuilding() end diff --git a/api/C_Garrison.RecruitFollower.lua b/api/C_Garrison.RecruitFollower.lua index 71968ec..69153c4 100644 --- a/api/C_Garrison.RecruitFollower.lua +++ b/api/C_Garrison.RecruitFollower.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.RecruitFollower() end diff --git a/api/C_Garrison.RemoveFollower.lua b/api/C_Garrison.RemoveFollower.lua index 6311e4b..c9ca0ed 100644 --- a/api/C_Garrison.RemoveFollower.lua +++ b/api/C_Garrison.RemoveFollower.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.RemoveFollower() end diff --git a/api/C_Garrison.RemoveFollowerFromBuilding.lua b/api/C_Garrison.RemoveFollowerFromBuilding.lua index 2e38346..07759dc 100644 --- a/api/C_Garrison.RemoveFollowerFromBuilding.lua +++ b/api/C_Garrison.RemoveFollowerFromBuilding.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.RemoveFollowerFromBuilding() end diff --git a/api/C_Garrison.RemoveFollowerFromMission.lua b/api/C_Garrison.RemoveFollowerFromMission.lua index 4edc506..b88e7fc 100644 --- a/api/C_Garrison.RemoveFollowerFromMission.lua +++ b/api/C_Garrison.RemoveFollowerFromMission.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.RemoveFollowerFromMission() end diff --git a/api/C_Garrison.RequestGarrisonUpgradeable.lua b/api/C_Garrison.RequestGarrisonUpgradeable.lua index 5415d84..69c1032 100644 --- a/api/C_Garrison.RequestGarrisonUpgradeable.lua +++ b/api/C_Garrison.RequestGarrisonUpgradeable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.RequestGarrisonUpgradeable() end diff --git a/api/C_Garrison.RequestLandingPageShipmentInfo.lua b/api/C_Garrison.RequestLandingPageShipmentInfo.lua index 35132f8..954c501 100644 --- a/api/C_Garrison.RequestLandingPageShipmentInfo.lua +++ b/api/C_Garrison.RequestLandingPageShipmentInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.RequestLandingPageShipmentInfo() end diff --git a/api/C_Garrison.RequestShipmentCreation.lua b/api/C_Garrison.RequestShipmentCreation.lua index f6380d3..701056b 100644 --- a/api/C_Garrison.RequestShipmentCreation.lua +++ b/api/C_Garrison.RequestShipmentCreation.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.RequestShipmentCreation() end diff --git a/api/C_Garrison.RequestShipmentInfo.lua b/api/C_Garrison.RequestShipmentInfo.lua index d4c0cab..c280b6e 100644 --- a/api/C_Garrison.RequestShipmentInfo.lua +++ b/api/C_Garrison.RequestShipmentInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.RequestShipmentInfo() end diff --git a/api/C_Garrison.SearchForFollower.lua b/api/C_Garrison.SearchForFollower.lua index 371f662..f41db93 100644 --- a/api/C_Garrison.SearchForFollower.lua +++ b/api/C_Garrison.SearchForFollower.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.SearchForFollower() end diff --git a/api/C_Garrison.SetBuildingActive.lua b/api/C_Garrison.SetBuildingActive.lua index 599b4b0..9ee1d1c 100644 --- a/api/C_Garrison.SetBuildingActive.lua +++ b/api/C_Garrison.SetBuildingActive.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.SetBuildingActive() end diff --git a/api/C_Garrison.SetBuildingSpecialization.lua b/api/C_Garrison.SetBuildingSpecialization.lua index 12abec6..ff8dc96 100644 --- a/api/C_Garrison.SetBuildingSpecialization.lua +++ b/api/C_Garrison.SetBuildingSpecialization.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.SetBuildingSpecialization() end diff --git a/api/C_Garrison.SetFollowerFavorite.lua b/api/C_Garrison.SetFollowerFavorite.lua index 2284039..56c502e 100644 --- a/api/C_Garrison.SetFollowerFavorite.lua +++ b/api/C_Garrison.SetFollowerFavorite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.SetFollowerFavorite() end diff --git a/api/C_Garrison.SetFollowerInactive.lua b/api/C_Garrison.SetFollowerInactive.lua index 89261dd..ceb4ba9 100644 --- a/api/C_Garrison.SetFollowerInactive.lua +++ b/api/C_Garrison.SetFollowerInactive.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.SetFollowerInactive() end diff --git a/api/C_Garrison.SetRecruitmentPreferences.lua b/api/C_Garrison.SetRecruitmentPreferences.lua index 5d3bf78..b8d0266 100644 --- a/api/C_Garrison.SetRecruitmentPreferences.lua +++ b/api/C_Garrison.SetRecruitmentPreferences.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.SetRecruitmentPreferences() end diff --git a/api/C_Garrison.SetUsingPartyGarrison.lua b/api/C_Garrison.SetUsingPartyGarrison.lua index e6e15a5..b1bbf14 100644 --- a/api/C_Garrison.SetUsingPartyGarrison.lua +++ b/api/C_Garrison.SetUsingPartyGarrison.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.SetUsingPartyGarrison() end diff --git a/api/C_Garrison.StartMission.lua b/api/C_Garrison.StartMission.lua index e198c85..bafb0d5 100644 --- a/api/C_Garrison.StartMission.lua +++ b/api/C_Garrison.StartMission.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.StartMission() end diff --git a/api/C_Garrison.SwapBuildings.lua b/api/C_Garrison.SwapBuildings.lua index 8b6ccef..99c170e 100644 --- a/api/C_Garrison.SwapBuildings.lua +++ b/api/C_Garrison.SwapBuildings.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.SwapBuildings() end diff --git a/api/C_Garrison.UpgradeBuilding.lua b/api/C_Garrison.UpgradeBuilding.lua index 219c6c2..00aefe3 100644 --- a/api/C_Garrison.UpgradeBuilding.lua +++ b/api/C_Garrison.UpgradeBuilding.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.UpgradeBuilding() end diff --git a/api/C_Garrison.UpgradeGarrison.lua b/api/C_Garrison.UpgradeGarrison.lua index 55c3e8e..2e2e02d 100644 --- a/api/C_Garrison.UpgradeGarrison.lua +++ b/api/C_Garrison.UpgradeGarrison.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Garrison.UpgradeGarrison() end diff --git a/api/C_LFGList.AcceptInvite.lua b/api/C_LFGList.AcceptInvite.lua index 71dfb04..bf1ad02 100644 --- a/api/C_LFGList.AcceptInvite.lua +++ b/api/C_LFGList.AcceptInvite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.AcceptInvite() end diff --git a/api/C_LFGList.ApplyToGroup.lua b/api/C_LFGList.ApplyToGroup.lua index 588bab7..43a1673 100644 --- a/api/C_LFGList.ApplyToGroup.lua +++ b/api/C_LFGList.ApplyToGroup.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.ApplyToGroup() end diff --git a/api/C_LFGList.CancelApplication.lua b/api/C_LFGList.CancelApplication.lua index 96f907a..d50e5b3 100644 --- a/api/C_LFGList.CancelApplication.lua +++ b/api/C_LFGList.CancelApplication.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.CancelApplication() end diff --git a/api/C_LFGList.ClearSearchResults.lua b/api/C_LFGList.ClearSearchResults.lua index 8b5d4ff..870bf7f 100644 --- a/api/C_LFGList.ClearSearchResults.lua +++ b/api/C_LFGList.ClearSearchResults.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.ClearSearchResults() end diff --git a/api/C_LFGList.CreateListing.lua b/api/C_LFGList.CreateListing.lua index 38f2482..8ef8792 100644 --- a/api/C_LFGList.CreateListing.lua +++ b/api/C_LFGList.CreateListing.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.CreateListing() end diff --git a/api/C_LFGList.DeclineApplicant.lua b/api/C_LFGList.DeclineApplicant.lua index f2178cf..5f004e9 100644 --- a/api/C_LFGList.DeclineApplicant.lua +++ b/api/C_LFGList.DeclineApplicant.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.DeclineApplicant() end diff --git a/api/C_LFGList.DeclineInvite.lua b/api/C_LFGList.DeclineInvite.lua index e83b22f..f26b7cf 100644 --- a/api/C_LFGList.DeclineInvite.lua +++ b/api/C_LFGList.DeclineInvite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.DeclineInvite() end diff --git a/api/C_LFGList.GetActiveEntryInfo.lua b/api/C_LFGList.GetActiveEntryInfo.lua index 401ee87..19fdf6d 100644 --- a/api/C_LFGList.GetActiveEntryInfo.lua +++ b/api/C_LFGList.GetActiveEntryInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---returns boolean on whether activity is active or not function C_LFGList.GetActiveEntryInfo() end diff --git a/api/C_LFGList.GetActivityGroupInfo.lua b/api/C_LFGList.GetActivityGroupInfo.lua index 88c44c0..2026814 100644 --- a/api/C_LFGList.GetActivityGroupInfo.lua +++ b/api/C_LFGList.GetActivityGroupInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---returns a string describing activity associated with activity_ID. Example local info = C_LFGList.GetActivityGroupInfo(16); returns: Naxxramas function C_LFGList.GetActivityGroupInfo() end diff --git a/api/C_LFGList.GetActivityInfo.lua b/api/C_LFGList.GetActivityInfo.lua index a44961f..5bbc932 100644 --- a/api/C_LFGList.GetActivityInfo.lua +++ b/api/C_LFGList.GetActivityInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.GetActivityInfo() end diff --git a/api/C_LFGList.GetActivityInfoExpensive.lua b/api/C_LFGList.GetActivityInfoExpensive.lua index 6914bdc..d765c6c 100644 --- a/api/C_LFGList.GetActivityInfoExpensive.lua +++ b/api/C_LFGList.GetActivityInfoExpensive.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.GetActivityInfoExpensive() end diff --git a/api/C_LFGList.GetApplicantInfo.lua b/api/C_LFGList.GetApplicantInfo.lua index 19c8ea9..6b407b2 100644 --- a/api/C_LFGList.GetApplicantInfo.lua +++ b/api/C_LFGList.GetApplicantInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.GetApplicantInfo() end diff --git a/api/C_LFGList.GetApplicantMemberInfo.lua b/api/C_LFGList.GetApplicantMemberInfo.lua index cee92fc..93ce12c 100644 --- a/api/C_LFGList.GetApplicantMemberInfo.lua +++ b/api/C_LFGList.GetApplicantMemberInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.GetApplicantMemberInfo() end diff --git a/api/C_LFGList.GetApplicantMemberStats.lua b/api/C_LFGList.GetApplicantMemberStats.lua index 16dfab1..bb631ea 100644 --- a/api/C_LFGList.GetApplicantMemberStats.lua +++ b/api/C_LFGList.GetApplicantMemberStats.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.GetApplicantMemberStats() end diff --git a/api/C_LFGList.GetApplicants.lua b/api/C_LFGList.GetApplicants.lua index 89fdf2f..ff28079 100644 --- a/api/C_LFGList.GetApplicants.lua +++ b/api/C_LFGList.GetApplicants.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.GetApplicants() end diff --git a/api/C_LFGList.GetApplicationInfo.lua b/api/C_LFGList.GetApplicationInfo.lua index 5e72282..db80c86 100644 --- a/api/C_LFGList.GetApplicationInfo.lua +++ b/api/C_LFGList.GetApplicationInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param groupID number ---@return number groupID diff --git a/api/C_LFGList.GetApplications.lua b/api/C_LFGList.GetApplications.lua index 6abf839..6d47c73 100644 --- a/api/C_LFGList.GetApplications.lua +++ b/api/C_LFGList.GetApplications.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return table applications ---Returns a table with the groups the player has applied for diff --git a/api/C_LFGList.GetAvailableActivities.lua b/api/C_LFGList.GetAvailableActivities.lua index be0af92..3eef7a5 100644 --- a/api/C_LFGList.GetAvailableActivities.lua +++ b/api/C_LFGList.GetAvailableActivities.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---returns table of ID's for available activities function C_LFGList.GetAvailableActivities() end diff --git a/api/C_LFGList.GetAvailableActivityGroups.lua b/api/C_LFGList.GetAvailableActivityGroups.lua index 20abc47..ee92cd4 100644 --- a/api/C_LFGList.GetAvailableActivityGroups.lua +++ b/api/C_LFGList.GetAvailableActivityGroups.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.GetAvailableActivityGroups() end diff --git a/api/C_LFGList.GetAvailableCategories.lua b/api/C_LFGList.GetAvailableCategories.lua index f4e5e1a..d4f4007 100644 --- a/api/C_LFGList.GetAvailableCategories.lua +++ b/api/C_LFGList.GetAvailableCategories.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.GetAvailableCategories() end diff --git a/api/C_LFGList.GetAvailableRoles.lua b/api/C_LFGList.GetAvailableRoles.lua index 0fd4312..1228877 100644 --- a/api/C_LFGList.GetAvailableRoles.lua +++ b/api/C_LFGList.GetAvailableRoles.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.GetAvailableRoles() end diff --git a/api/C_LFGList.GetCategoryInfo.lua b/api/C_LFGList.GetCategoryInfo.lua index a854ea0..f2fb88e 100644 --- a/api/C_LFGList.GetCategoryInfo.lua +++ b/api/C_LFGList.GetCategoryInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.GetCategoryInfo() end diff --git a/api/C_LFGList.GetNumApplicants.lua b/api/C_LFGList.GetNumApplicants.lua index 137cc10..e012b1d 100644 --- a/api/C_LFGList.GetNumApplicants.lua +++ b/api/C_LFGList.GetNumApplicants.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.GetNumApplicants() end diff --git a/api/C_LFGList.GetNumApplications.lua b/api/C_LFGList.GetNumApplications.lua index aabc4d2..616063e 100644 --- a/api/C_LFGList.GetNumApplications.lua +++ b/api/C_LFGList.GetNumApplications.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numApplications ---Returns the number of groups the player has applied for. diff --git a/api/C_LFGList.GetNumInvitedApplicantMembers.lua b/api/C_LFGList.GetNumInvitedApplicantMembers.lua index 3f1ff41..069d65e 100644 --- a/api/C_LFGList.GetNumInvitedApplicantMembers.lua +++ b/api/C_LFGList.GetNumInvitedApplicantMembers.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.GetNumInvitedApplicantMembers() end diff --git a/api/C_LFGList.GetRoleCheckInfo.lua b/api/C_LFGList.GetRoleCheckInfo.lua index 0623b5e..b3873ce 100644 --- a/api/C_LFGList.GetRoleCheckInfo.lua +++ b/api/C_LFGList.GetRoleCheckInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.GetRoleCheckInfo() end diff --git a/api/C_LFGList.GetSearchResultEncounterInfo.lua b/api/C_LFGList.GetSearchResultEncounterInfo.lua index a7bde63..32b51b8 100644 --- a/api/C_LFGList.GetSearchResultEncounterInfo.lua +++ b/api/C_LFGList.GetSearchResultEncounterInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Takes a group id and returns a table with the encounter info of the group function C_LFGList.GetSearchResultEncounterInfo() end diff --git a/api/C_LFGList.GetSearchResultFriends.lua b/api/C_LFGList.GetSearchResultFriends.lua index a79cedb..a4151a1 100644 --- a/api/C_LFGList.GetSearchResultFriends.lua +++ b/api/C_LFGList.GetSearchResultFriends.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---returns table pairs #:NameOfFriend. a = C_LFGList.GetSearchResultFriends(resultID); for d,x in pairs(a) do ChatFrame1:AddMessage(d..":"..x); end -------- Output ------- 1:NameOfFriend 2:NameOfFriend ..etc function C_LFGList.GetSearchResultFriends() end diff --git a/api/C_LFGList.GetSearchResultInfo.lua b/api/C_LFGList.GetSearchResultInfo.lua index 8152c90..f2896e8 100644 --- a/api/C_LFGList.GetSearchResultInfo.lua +++ b/api/C_LFGList.GetSearchResultInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number id ---@return unknown diff --git a/api/C_LFGList.GetSearchResultMemberCounts.lua b/api/C_LFGList.GetSearchResultMemberCounts.lua index 801590c..06df918 100644 --- a/api/C_LFGList.GetSearchResultMemberCounts.lua +++ b/api/C_LFGList.GetSearchResultMemberCounts.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---return table . local a = CLFGList.GetSearchResultMemberCounts(searchresult_id); for b,c in pairs(a) do ChatFrame1:AddMessage(d..":"..x); end ------------- Outputs -------------------- HUNTER:1 WARRIOR:1 PALADIN:0 DAMAGER:2 PRIEST:0 HEALER:0 NOROLE:0 TANK:1 MAGE:0 WARLOCK:1 SHAMAN:0 DEATHKNIGHT:0 DRUID:0 MONK:0 ROGUE:0 function C_LFGList.GetSearchResultMemberCounts() end diff --git a/api/C_LFGList.GetSearchResultMemberInfo.lua b/api/C_LFGList.GetSearchResultMemberInfo.lua index 5144bed..45236da 100644 --- a/api/C_LFGList.GetSearchResultMemberInfo.lua +++ b/api/C_LFGList.GetSearchResultMemberInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---given groupid and memberindex, returns member_role such as DAMAGER,TANK,HEALER function C_LFGList.GetSearchResultMemberInfo() end diff --git a/api/C_LFGList.GetSearchResults.lua b/api/C_LFGList.GetSearchResults.lua index 517cae0..d9d42d1 100644 --- a/api/C_LFGList.GetSearchResults.lua +++ b/api/C_LFGList.GetSearchResults.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number groups ---@return table groupIDs diff --git a/api/C_LFGList.HasActivityList.lua b/api/C_LFGList.HasActivityList.lua index a151625..b5e1975 100644 --- a/api/C_LFGList.HasActivityList.lua +++ b/api/C_LFGList.HasActivityList.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.HasActivityList() end diff --git a/api/C_LFGList.InviteApplicant.lua b/api/C_LFGList.InviteApplicant.lua index b382e06..615d358 100644 --- a/api/C_LFGList.InviteApplicant.lua +++ b/api/C_LFGList.InviteApplicant.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.InviteApplicant() end diff --git a/api/C_LFGList.IsCurrentlyApplying.lua b/api/C_LFGList.IsCurrentlyApplying.lua index 36cf1c6..efb045a 100644 --- a/api/C_LFGList.IsCurrentlyApplying.lua +++ b/api/C_LFGList.IsCurrentlyApplying.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.IsCurrentlyApplying() end diff --git a/api/C_LFGList.RefreshApplicants.lua b/api/C_LFGList.RefreshApplicants.lua index 3d51cc1..46bbe46 100644 --- a/api/C_LFGList.RefreshApplicants.lua +++ b/api/C_LFGList.RefreshApplicants.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.RefreshApplicants() end diff --git a/api/C_LFGList.RemoveApplicant.lua b/api/C_LFGList.RemoveApplicant.lua index 83fd2c1..82451ec 100644 --- a/api/C_LFGList.RemoveApplicant.lua +++ b/api/C_LFGList.RemoveApplicant.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.RemoveApplicant() end diff --git a/api/C_LFGList.RemoveListing.lua b/api/C_LFGList.RemoveListing.lua index 4cf9347..9e09460 100644 --- a/api/C_LFGList.RemoveListing.lua +++ b/api/C_LFGList.RemoveListing.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.RemoveListing() end diff --git a/api/C_LFGList.ReportApplicant.lua b/api/C_LFGList.ReportApplicant.lua index ff2de17..de4403c 100644 --- a/api/C_LFGList.ReportApplicant.lua +++ b/api/C_LFGList.ReportApplicant.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.ReportApplicant() end diff --git a/api/C_LFGList.ReportSearchResult.lua b/api/C_LFGList.ReportSearchResult.lua index 0cd0eb6..d8c9efc 100644 --- a/api/C_LFGList.ReportSearchResult.lua +++ b/api/C_LFGList.ReportSearchResult.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.ReportSearchResult() end diff --git a/api/C_LFGList.RequestAvailableActivities.lua b/api/C_LFGList.RequestAvailableActivities.lua index 4fcb185..874d814 100644 --- a/api/C_LFGList.RequestAvailableActivities.lua +++ b/api/C_LFGList.RequestAvailableActivities.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.RequestAvailableActivities() end diff --git a/api/C_LFGList.Search.lua b/api/C_LFGList.Search.lua index 6d8946f..d17300f 100644 --- a/api/C_LFGList.Search.lua +++ b/api/C_LFGList.Search.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.Search() end diff --git a/api/C_LFGList.SetApplicantMemberRole.lua b/api/C_LFGList.SetApplicantMemberRole.lua index d02b7df..a328e07 100644 --- a/api/C_LFGList.SetApplicantMemberRole.lua +++ b/api/C_LFGList.SetApplicantMemberRole.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.SetApplicantMemberRole() end diff --git a/api/C_LFGList.UpdateListing.lua b/api/C_LFGList.UpdateListing.lua index 2e27c62..1691c26 100644 --- a/api/C_LFGList.UpdateListing.lua +++ b/api/C_LFGList.UpdateListing.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LFGList.UpdateListing() end diff --git a/api/C_LootHistory.CanMasterLoot.lua b/api/C_LootHistory.CanMasterLoot.lua index d9f5d80..25c5943 100644 --- a/api/C_LootHistory.CanMasterLoot.lua +++ b/api/C_LootHistory.CanMasterLoot.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LootHistory.CanMasterLoot() end diff --git a/api/C_LootHistory.GetExpiration.lua b/api/C_LootHistory.GetExpiration.lua index 3581554..9f28653 100644 --- a/api/C_LootHistory.GetExpiration.lua +++ b/api/C_LootHistory.GetExpiration.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LootHistory.GetExpiration() end diff --git a/api/C_LootHistory.GetItem.lua b/api/C_LootHistory.GetItem.lua index 6600c58..fd31eac 100644 --- a/api/C_LootHistory.GetItem.lua +++ b/api/C_LootHistory.GetItem.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LootHistory.GetItem() end diff --git a/api/C_LootHistory.GetNumItems.lua b/api/C_LootHistory.GetNumItems.lua index a612cb6..3b71c16 100644 --- a/api/C_LootHistory.GetNumItems.lua +++ b/api/C_LootHistory.GetNumItems.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LootHistory.GetNumItems() end diff --git a/api/C_LootHistory.GetPlayerInfo.lua b/api/C_LootHistory.GetPlayerInfo.lua index e2db4ee..1176751 100644 --- a/api/C_LootHistory.GetPlayerInfo.lua +++ b/api/C_LootHistory.GetPlayerInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LootHistory.GetPlayerInfo() end diff --git a/api/C_LootHistory.GiveMasterLoot.lua b/api/C_LootHistory.GiveMasterLoot.lua index 46a075e..971cfa4 100644 --- a/api/C_LootHistory.GiveMasterLoot.lua +++ b/api/C_LootHistory.GiveMasterLoot.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LootHistory.GiveMasterLoot() end diff --git a/api/C_LootHistory.SetExpiration.lua b/api/C_LootHistory.SetExpiration.lua index a5f134f..4c7b814 100644 --- a/api/C_LootHistory.SetExpiration.lua +++ b/api/C_LootHistory.SetExpiration.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LootHistory.SetExpiration() end diff --git a/api/C_LossOfControl.GetEventInfo.lua b/api/C_LossOfControl.GetEventInfo.lua index f4dabef..fb6a822 100644 --- a/api/C_LossOfControl.GetEventInfo.lua +++ b/api/C_LossOfControl.GetEventInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LossOfControl.GetEventInfo() end diff --git a/api/C_LossOfControl.GetNumEvents.lua b/api/C_LossOfControl.GetNumEvents.lua index b7e9411..90980cf 100644 --- a/api/C_LossOfControl.GetNumEvents.lua +++ b/api/C_LossOfControl.GetNumEvents.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_LossOfControl.GetNumEvents() end diff --git a/api/C_MapBar.BarIsShown.lua b/api/C_MapBar.BarIsShown.lua index d9f62a2..90b9250 100644 --- a/api/C_MapBar.BarIsShown.lua +++ b/api/C_MapBar.BarIsShown.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MapBar.BarIsShown() end diff --git a/api/C_MapBar.GetCurrentValue.lua b/api/C_MapBar.GetCurrentValue.lua index 499ea6a..197c011 100644 --- a/api/C_MapBar.GetCurrentValue.lua +++ b/api/C_MapBar.GetCurrentValue.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MapBar.GetCurrentValue() end diff --git a/api/C_MapBar.GetMaxValue.lua b/api/C_MapBar.GetMaxValue.lua index b1212ba..cdf1bb8 100644 --- a/api/C_MapBar.GetMaxValue.lua +++ b/api/C_MapBar.GetMaxValue.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MapBar.GetMaxValue() end diff --git a/api/C_MapBar.GetParticipationPercentage.lua b/api/C_MapBar.GetParticipationPercentage.lua index 44c7db8..eb7ff21 100644 --- a/api/C_MapBar.GetParticipationPercentage.lua +++ b/api/C_MapBar.GetParticipationPercentage.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MapBar.GetParticipationPercentage() end diff --git a/api/C_MapBar.GetPhaseIndex.lua b/api/C_MapBar.GetPhaseIndex.lua index d2c283e..cbdb787 100644 --- a/api/C_MapBar.GetPhaseIndex.lua +++ b/api/C_MapBar.GetPhaseIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MapBar.GetPhaseIndex() end diff --git a/api/C_MapBar.GetTag.lua b/api/C_MapBar.GetTag.lua index fc42275..c5db73e 100644 --- a/api/C_MapBar.GetTag.lua +++ b/api/C_MapBar.GetTag.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MapBar.GetTag() end diff --git a/api/C_MountJournal.Dismiss.lua b/api/C_MountJournal.Dismiss.lua index 0488496..7fb2273 100644 --- a/api/C_MountJournal.Dismiss.lua +++ b/api/C_MountJournal.Dismiss.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MountJournal.Dismiss() end diff --git a/api/C_MountJournal.GetCollectedFilterSetting.lua b/api/C_MountJournal.GetCollectedFilterSetting.lua index 472140a..76016a4 100644 --- a/api/C_MountJournal.GetCollectedFilterSetting.lua +++ b/api/C_MountJournal.GetCollectedFilterSetting.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MountJournal.GetCollectedFilterSetting() end diff --git a/api/C_MountJournal.GetIsFavorite.lua b/api/C_MountJournal.GetIsFavorite.lua index 931a50e..626901b 100644 --- a/api/C_MountJournal.GetIsFavorite.lua +++ b/api/C_MountJournal.GetIsFavorite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MountJournal.GetIsFavorite() end diff --git a/api/C_MountJournal.GetMountInfo.lua b/api/C_MountJournal.GetMountInfo.lua index 0adbc2d..29eb62f 100644 --- a/api/C_MountJournal.GetMountInfo.lua +++ b/api/C_MountJournal.GetMountInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string creatureName diff --git a/api/C_MountJournal.GetMountInfoExtra.lua b/api/C_MountJournal.GetMountInfoExtra.lua index da090cb..89007f8 100644 --- a/api/C_MountJournal.GetMountInfoExtra.lua +++ b/api/C_MountJournal.GetMountInfoExtra.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MountJournal.GetMountInfoExtra() end diff --git a/api/C_MountJournal.GetNumMounts.lua b/api/C_MountJournal.GetNumMounts.lua index d2fb640..21fcca6 100644 --- a/api/C_MountJournal.GetNumMounts.lua +++ b/api/C_MountJournal.GetNumMounts.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MountJournal.GetNumMounts() end diff --git a/api/C_MountJournal.Pickup.lua b/api/C_MountJournal.Pickup.lua index 5591b77..7d9f5ef 100644 --- a/api/C_MountJournal.Pickup.lua +++ b/api/C_MountJournal.Pickup.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MountJournal.Pickup() end diff --git a/api/C_MountJournal.SetCollectedFilterSetting.lua b/api/C_MountJournal.SetCollectedFilterSetting.lua index 46fb1c8..10d05b8 100644 --- a/api/C_MountJournal.SetCollectedFilterSetting.lua +++ b/api/C_MountJournal.SetCollectedFilterSetting.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MountJournal.SetCollectedFilterSetting() end diff --git a/api/C_MountJournal.SetIsFavorite.lua b/api/C_MountJournal.SetIsFavorite.lua index d5ff791..37229d3 100644 --- a/api/C_MountJournal.SetIsFavorite.lua +++ b/api/C_MountJournal.SetIsFavorite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MountJournal.SetIsFavorite() end diff --git a/api/C_MountJournal.Summon.lua b/api/C_MountJournal.Summon.lua index 2fc1bf5..e689052 100644 --- a/api/C_MountJournal.Summon.lua +++ b/api/C_MountJournal.Summon.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_MountJournal.Summon() end diff --git a/api/C_NewItems.ClearAll.lua b/api/C_NewItems.ClearAll.lua index ba5c464..bc984b1 100644 --- a/api/C_NewItems.ClearAll.lua +++ b/api/C_NewItems.ClearAll.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_NewItems.ClearAll() end diff --git a/api/C_PetBattles.AcceptPVPDuel.lua b/api/C_PetBattles.AcceptPVPDuel.lua index da97749..ef4db17 100644 --- a/api/C_PetBattles.AcceptPVPDuel.lua +++ b/api/C_PetBattles.AcceptPVPDuel.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.AcceptPVPDuel() end diff --git a/api/C_PetBattles.AcceptQueuedPVPMatch.lua b/api/C_PetBattles.AcceptQueuedPVPMatch.lua index 419a586..2497f12 100644 --- a/api/C_PetBattles.AcceptQueuedPVPMatch.lua +++ b/api/C_PetBattles.AcceptQueuedPVPMatch.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts a found Pet Battle Queue. function C_PetBattles.AcceptQueuedPVPMatch() end diff --git a/api/C_PetBattles.CanAcceptQueuedPVPMatch.lua b/api/C_PetBattles.CanAcceptQueuedPVPMatch.lua index 2070582..53ff047 100644 --- a/api/C_PetBattles.CanAcceptQueuedPVPMatch.lua +++ b/api/C_PetBattles.CanAcceptQueuedPVPMatch.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.CanAcceptQueuedPVPMatch() end diff --git a/api/C_PetBattles.CanActivePetSwapOut.lua b/api/C_PetBattles.CanActivePetSwapOut.lua index f1d0044..8ef72ba 100644 --- a/api/C_PetBattles.CanActivePetSwapOut.lua +++ b/api/C_PetBattles.CanActivePetSwapOut.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.CanActivePetSwapOut() end diff --git a/api/C_PetBattles.CanPetSwapIn.lua b/api/C_PetBattles.CanPetSwapIn.lua index 1561e4e..f73f3c4 100644 --- a/api/C_PetBattles.CanPetSwapIn.lua +++ b/api/C_PetBattles.CanPetSwapIn.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.CanPetSwapIn() end diff --git a/api/C_PetBattles.CancelPVPDuel.lua b/api/C_PetBattles.CancelPVPDuel.lua index 2983ca3..7f60b02 100644 --- a/api/C_PetBattles.CancelPVPDuel.lua +++ b/api/C_PetBattles.CancelPVPDuel.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.CancelPVPDuel() end diff --git a/api/C_PetBattles.ChangePet.lua b/api/C_PetBattles.ChangePet.lua index 8e37b1b..cdfc918 100644 --- a/api/C_PetBattles.ChangePet.lua +++ b/api/C_PetBattles.ChangePet.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---Attempts to change your active pet. Has no effect if used when this switch isn't impossible (out of turn, with the ID of a dead pet, etc.). diff --git a/api/C_PetBattles.DeclineQueuedPVPMatch.lua b/api/C_PetBattles.DeclineQueuedPVPMatch.lua index 4a73850..e157ba9 100644 --- a/api/C_PetBattles.DeclineQueuedPVPMatch.lua +++ b/api/C_PetBattles.DeclineQueuedPVPMatch.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.DeclineQueuedPVPMatch() end diff --git a/api/C_PetBattles.ForfeitGame.lua b/api/C_PetBattles.ForfeitGame.lua index 07a34aa..715e94b 100644 --- a/api/C_PetBattles.ForfeitGame.lua +++ b/api/C_PetBattles.ForfeitGame.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.ForfeitGame() end diff --git a/api/C_PetBattles.GetAbilityEffectInfo.lua b/api/C_PetBattles.GetAbilityEffectInfo.lua index 7cbdecc..1780782 100644 --- a/api/C_PetBattles.GetAbilityEffectInfo.lua +++ b/api/C_PetBattles.GetAbilityEffectInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.GetAbilityEffectInfo() end diff --git a/api/C_PetBattles.GetAbilityInfo.lua b/api/C_PetBattles.GetAbilityInfo.lua index 7107aff..1947693 100644 --- a/api/C_PetBattles.GetAbilityInfo.lua +++ b/api/C_PetBattles.GetAbilityInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner 2 ---@param 1 diff --git a/api/C_PetBattles.GetAbilityInfoByID.lua b/api/C_PetBattles.GetAbilityInfoByID.lua index 6d50ce8..86978ec 100644 --- a/api/C_PetBattles.GetAbilityInfoByID.lua +++ b/api/C_PetBattles.GetAbilityInfoByID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return nil diff --git a/api/C_PetBattles.GetAbilityProcTurnIndex.lua b/api/C_PetBattles.GetAbilityProcTurnIndex.lua index 9ad49ca..4b64420 100644 --- a/api/C_PetBattles.GetAbilityProcTurnIndex.lua +++ b/api/C_PetBattles.GetAbilityProcTurnIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.GetAbilityProcTurnIndex() end diff --git a/api/C_PetBattles.GetAbilityState.lua b/api/C_PetBattles.GetAbilityState.lua index 891668a..1d28c80 100644 --- a/api/C_PetBattles.GetAbilityState.lua +++ b/api/C_PetBattles.GetAbilityState.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner 2 ---@param 1 diff --git a/api/C_PetBattles.GetAbilityStateModification.lua b/api/C_PetBattles.GetAbilityStateModification.lua index 408aabb..4383ba9 100644 --- a/api/C_PetBattles.GetAbilityStateModification.lua +++ b/api/C_PetBattles.GetAbilityStateModification.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.GetAbilityStateModification() end diff --git a/api/C_PetBattles.GetActivePet.lua b/api/C_PetBattles.GetActivePet.lua index 96c6639..d5d0113 100644 --- a/api/C_PetBattles.GetActivePet.lua +++ b/api/C_PetBattles.GetActivePet.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner 2 ---@param 1 diff --git a/api/C_PetBattles.GetAllEffectNames.lua b/api/C_PetBattles.GetAllEffectNames.lua index 3b45b2a..6d7b3a0 100644 --- a/api/C_PetBattles.GetAllEffectNames.lua +++ b/api/C_PetBattles.GetAllEffectNames.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.GetAllEffectNames() end diff --git a/api/C_PetBattles.GetAllStates.lua b/api/C_PetBattles.GetAllStates.lua index 5dfa879..e85f164 100644 --- a/api/C_PetBattles.GetAllStates.lua +++ b/api/C_PetBattles.GetAllStates.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.GetAllStates() end diff --git a/api/C_PetBattles.GetAttackModifier.lua b/api/C_PetBattles.GetAttackModifier.lua index 06521d0..dffe4ad 100644 --- a/api/C_PetBattles.GetAttackModifier.lua +++ b/api/C_PetBattles.GetAttackModifier.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param YourType number? ---@param EnemyType number? diff --git a/api/C_PetBattles.GetAuraInfo.lua b/api/C_PetBattles.GetAuraInfo.lua index 4270215..a9b8ebf 100644 --- a/api/C_PetBattles.GetAuraInfo.lua +++ b/api/C_PetBattles.GetAuraInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.GetAuraInfo() end diff --git a/api/C_PetBattles.GetBattleState.lua b/api/C_PetBattles.GetBattleState.lua index eea1ead..cd73ca5 100644 --- a/api/C_PetBattles.GetBattleState.lua +++ b/api/C_PetBattles.GetBattleState.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 7 battleState ---@return 2 diff --git a/api/C_PetBattles.GetBreedQuality.lua b/api/C_PetBattles.GetBreedQuality.lua index d42354c..b4e0260 100644 --- a/api/C_PetBattles.GetBreedQuality.lua +++ b/api/C_PetBattles.GetBreedQuality.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param petOwner number ---@param petIndex number diff --git a/api/C_PetBattles.GetDisplayID.lua b/api/C_PetBattles.GetDisplayID.lua index 7907b11..e29593b 100644 --- a/api/C_PetBattles.GetDisplayID.lua +++ b/api/C_PetBattles.GetDisplayID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.GetDisplayID() end diff --git a/api/C_PetBattles.GetForfeitPenalty.lua b/api/C_PetBattles.GetForfeitPenalty.lua index 1148160..b669e7a 100644 --- a/api/C_PetBattles.GetForfeitPenalty.lua +++ b/api/C_PetBattles.GetForfeitPenalty.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.GetForfeitPenalty() end diff --git a/api/C_PetBattles.GetHealth.lua b/api/C_PetBattles.GetHealth.lua index 505b1b3..7949cdb 100644 --- a/api/C_PetBattles.GetHealth.lua +++ b/api/C_PetBattles.GetHealth.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param petOwner number ---@param petIndex number diff --git a/api/C_PetBattles.GetIcon.lua b/api/C_PetBattles.GetIcon.lua index b42554d..8f053ef 100644 --- a/api/C_PetBattles.GetIcon.lua +++ b/api/C_PetBattles.GetIcon.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner 2 ---@param 1 diff --git a/api/C_PetBattles.GetLevel.lua b/api/C_PetBattles.GetLevel.lua index de35be5..55535d4 100644 --- a/api/C_PetBattles.GetLevel.lua +++ b/api/C_PetBattles.GetLevel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param petOwner number ---@param petIndex number diff --git a/api/C_PetBattles.GetMaxHealth.lua b/api/C_PetBattles.GetMaxHealth.lua index 196174f..5324f8c 100644 --- a/api/C_PetBattles.GetMaxHealth.lua +++ b/api/C_PetBattles.GetMaxHealth.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param petOwner number ---@param petIndex number diff --git a/api/C_PetBattles.GetName.lua b/api/C_PetBattles.GetName.lua index 419a1b1..9137b1d 100644 --- a/api/C_PetBattles.GetName.lua +++ b/api/C_PetBattles.GetName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner number? ---@param index number diff --git a/api/C_PetBattles.GetNumAuras.lua b/api/C_PetBattles.GetNumAuras.lua index 82da308..7365ab0 100644 --- a/api/C_PetBattles.GetNumAuras.lua +++ b/api/C_PetBattles.GetNumAuras.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner string? ---@param index number diff --git a/api/C_PetBattles.GetNumPets.lua b/api/C_PetBattles.GetNumPets.lua index 6dfd856..17e72b6 100644 --- a/api/C_PetBattles.GetNumPets.lua +++ b/api/C_PetBattles.GetNumPets.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner 2 ---@param 1 diff --git a/api/C_PetBattles.GetPVPMatchmakingInfo.lua b/api/C_PetBattles.GetPVPMatchmakingInfo.lua index d027432..b6dbfc7 100644 --- a/api/C_PetBattles.GetPVPMatchmakingInfo.lua +++ b/api/C_PetBattles.GetPVPMatchmakingInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.GetPVPMatchmakingInfo() end diff --git a/api/C_PetBattles.GetPetSpeciesID.lua b/api/C_PetBattles.GetPetSpeciesID.lua index c2f05f9..5f2f8a5 100644 --- a/api/C_PetBattles.GetPetSpeciesID.lua +++ b/api/C_PetBattles.GetPetSpeciesID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.GetPetSpeciesID() end diff --git a/api/C_PetBattles.GetPetType.lua b/api/C_PetBattles.GetPetType.lua index e406c53..42aa12e 100644 --- a/api/C_PetBattles.GetPetType.lua +++ b/api/C_PetBattles.GetPetType.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.GetPetType() end diff --git a/api/C_PetBattles.GetPlayerTrapAbility.lua b/api/C_PetBattles.GetPlayerTrapAbility.lua index 02b79e0..63f9f19 100644 --- a/api/C_PetBattles.GetPlayerTrapAbility.lua +++ b/api/C_PetBattles.GetPlayerTrapAbility.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.GetPlayerTrapAbility() end diff --git a/api/C_PetBattles.GetPower.lua b/api/C_PetBattles.GetPower.lua index 1d5d819..6c51b32 100644 --- a/api/C_PetBattles.GetPower.lua +++ b/api/C_PetBattles.GetPower.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner number ---@param index number diff --git a/api/C_PetBattles.GetSelectedAction.lua b/api/C_PetBattles.GetSelectedAction.lua index 71701d8..e089594 100644 --- a/api/C_PetBattles.GetSelectedAction.lua +++ b/api/C_PetBattles.GetSelectedAction.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.GetSelectedAction() end diff --git a/api/C_PetBattles.GetSpeed.lua b/api/C_PetBattles.GetSpeed.lua index 0441b6a..7e45620 100644 --- a/api/C_PetBattles.GetSpeed.lua +++ b/api/C_PetBattles.GetSpeed.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner 2 ---@param 1 diff --git a/api/C_PetBattles.GetStateValue.lua b/api/C_PetBattles.GetStateValue.lua index 2d6c4da..9d90a17 100644 --- a/api/C_PetBattles.GetStateValue.lua +++ b/api/C_PetBattles.GetStateValue.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.GetStateValue() end diff --git a/api/C_PetBattles.GetTurnTimeInfo.lua b/api/C_PetBattles.GetTurnTimeInfo.lua index 52d7787..363762e 100644 --- a/api/C_PetBattles.GetTurnTimeInfo.lua +++ b/api/C_PetBattles.GetTurnTimeInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number timeRemaining ---@return number totalTime diff --git a/api/C_PetBattles.GetXP.lua b/api/C_PetBattles.GetXP.lua index 1820451..c960993 100644 --- a/api/C_PetBattles.GetXP.lua +++ b/api/C_PetBattles.GetXP.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner string? ---@param index number diff --git a/api/C_PetBattles.IsInBattle.lua b/api/C_PetBattles.IsInBattle.lua index 826f38c..77d9cd8 100644 --- a/api/C_PetBattles.IsInBattle.lua +++ b/api/C_PetBattles.IsInBattle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns true during a pet battle function C_PetBattles.IsInBattle() end diff --git a/api/C_PetBattles.IsPlayerNPC.lua b/api/C_PetBattles.IsPlayerNPC.lua index 4e38a5a..89b4298 100644 --- a/api/C_PetBattles.IsPlayerNPC.lua +++ b/api/C_PetBattles.IsPlayerNPC.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param player string? ---@return boolean isnpc diff --git a/api/C_PetBattles.IsSkipAvailable.lua b/api/C_PetBattles.IsSkipAvailable.lua index 74f042a..8507ffa 100644 --- a/api/C_PetBattles.IsSkipAvailable.lua +++ b/api/C_PetBattles.IsSkipAvailable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.IsSkipAvailable() end diff --git a/api/C_PetBattles.IsTrapAvailable.lua b/api/C_PetBattles.IsTrapAvailable.lua index b3276ce..a3d5b82 100644 --- a/api/C_PetBattles.IsTrapAvailable.lua +++ b/api/C_PetBattles.IsTrapAvailable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.IsTrapAvailable() end diff --git a/api/C_PetBattles.IsWaitingOnOpponent.lua b/api/C_PetBattles.IsWaitingOnOpponent.lua index 503fc42..80cc09b 100644 --- a/api/C_PetBattles.IsWaitingOnOpponent.lua +++ b/api/C_PetBattles.IsWaitingOnOpponent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean waiting ---Returns whether or not you are waiting on the opponent diff --git a/api/C_PetBattles.IsWildBattle.lua b/api/C_PetBattles.IsWildBattle.lua index 64ca9f4..e7d481d 100644 --- a/api/C_PetBattles.IsWildBattle.lua +++ b/api/C_PetBattles.IsWildBattle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isWild ---Returns whether or not in wild battle.. Returns true if the pet battle is against a wild pet. diff --git a/api/C_PetBattles.SetPendingReportBattlePetTarget.lua b/api/C_PetBattles.SetPendingReportBattlePetTarget.lua index d6344fc..dbd8707 100644 --- a/api/C_PetBattles.SetPendingReportBattlePetTarget.lua +++ b/api/C_PetBattles.SetPendingReportBattlePetTarget.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.SetPendingReportBattlePetTarget() end diff --git a/api/C_PetBattles.SetPendingReportTargetFromUnit.lua b/api/C_PetBattles.SetPendingReportTargetFromUnit.lua index 19d7b1f..9909e6d 100644 --- a/api/C_PetBattles.SetPendingReportTargetFromUnit.lua +++ b/api/C_PetBattles.SetPendingReportTargetFromUnit.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.SetPendingReportTargetFromUnit() end diff --git a/api/C_PetBattles.ShouldShowPetSelect.lua b/api/C_PetBattles.ShouldShowPetSelect.lua index 5d44b2a..05f3201 100644 --- a/api/C_PetBattles.ShouldShowPetSelect.lua +++ b/api/C_PetBattles.ShouldShowPetSelect.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.ShouldShowPetSelect() end diff --git a/api/C_PetBattles.SkipTurn.lua b/api/C_PetBattles.SkipTurn.lua index 662de23..321a704 100644 --- a/api/C_PetBattles.SkipTurn.lua +++ b/api/C_PetBattles.SkipTurn.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Does a pass on your turn for a round. function C_PetBattles.SkipTurn() end diff --git a/api/C_PetBattles.StartPVPDuel.lua b/api/C_PetBattles.StartPVPDuel.lua index de65a09..c08d5d5 100644 --- a/api/C_PetBattles.StartPVPDuel.lua +++ b/api/C_PetBattles.StartPVPDuel.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.StartPVPDuel() end diff --git a/api/C_PetBattles.StartPVPMatchmaking.lua b/api/C_PetBattles.StartPVPMatchmaking.lua index 0a6387b..d5d4c1b 100644 --- a/api/C_PetBattles.StartPVPMatchmaking.lua +++ b/api/C_PetBattles.StartPVPMatchmaking.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.StartPVPMatchmaking() end diff --git a/api/C_PetBattles.StopPVPMatchmaking.lua b/api/C_PetBattles.StopPVPMatchmaking.lua index e032d09..6d0f04b 100644 --- a/api/C_PetBattles.StopPVPMatchmaking.lua +++ b/api/C_PetBattles.StopPVPMatchmaking.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetBattles.StopPVPMatchmaking() end diff --git a/api/C_PetBattles.UseAbility.lua b/api/C_PetBattles.UseAbility.lua index 488e9f9..815c537 100644 --- a/api/C_PetBattles.UseAbility.lua +++ b/api/C_PetBattles.UseAbility.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---Uses an ability. diff --git a/api/C_PetBattles.UseTrap.lua b/api/C_PetBattles.UseTrap.lua index a29df78..8c23f26 100644 --- a/api/C_PetBattles.UseTrap.lua +++ b/api/C_PetBattles.UseTrap.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Throws the trap if the target pet has low enough health. Always uses best trap. function C_PetBattles.UseTrap() end diff --git a/api/C_PetJournal.AddAllPetSourcesFilter.lua b/api/C_PetJournal.AddAllPetSourcesFilter.lua index efc7bc2..23af2af 100644 --- a/api/C_PetJournal.AddAllPetSourcesFilter.lua +++ b/api/C_PetJournal.AddAllPetSourcesFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.AddAllPetSourcesFilter() end diff --git a/api/C_PetJournal.AddAllPetTypesFilter.lua b/api/C_PetJournal.AddAllPetTypesFilter.lua index 7d83328..0ce1386 100644 --- a/api/C_PetJournal.AddAllPetTypesFilter.lua +++ b/api/C_PetJournal.AddAllPetTypesFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.AddAllPetTypesFilter() end diff --git a/api/C_PetJournal.CagePetByID.lua b/api/C_PetJournal.CagePetByID.lua index ac0ec73..69aa701 100644 --- a/api/C_PetJournal.CagePetByID.lua +++ b/api/C_PetJournal.CagePetByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.CagePetByID() end diff --git a/api/C_PetJournal.ClearAllPetSourcesFilter.lua b/api/C_PetJournal.ClearAllPetSourcesFilter.lua index dd56102..5b19b4c 100644 --- a/api/C_PetJournal.ClearAllPetSourcesFilter.lua +++ b/api/C_PetJournal.ClearAllPetSourcesFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.ClearAllPetSourcesFilter() end diff --git a/api/C_PetJournal.ClearAllPetTypesFilter.lua b/api/C_PetJournal.ClearAllPetTypesFilter.lua index f49f282..3b12945 100644 --- a/api/C_PetJournal.ClearAllPetTypesFilter.lua +++ b/api/C_PetJournal.ClearAllPetTypesFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.ClearAllPetTypesFilter() end diff --git a/api/C_PetJournal.ClearSearchFilter.lua b/api/C_PetJournal.ClearSearchFilter.lua index 0fb560f..62142ef 100644 --- a/api/C_PetJournal.ClearSearchFilter.lua +++ b/api/C_PetJournal.ClearSearchFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.ClearSearchFilter() end diff --git a/api/C_PetJournal.FindPetIDByName.lua b/api/C_PetJournal.FindPetIDByName.lua index 32dee24..2ab2f8c 100644 --- a/api/C_PetJournal.FindPetIDByName.lua +++ b/api/C_PetJournal.FindPetIDByName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.FindPetIDByName() end diff --git a/api/C_PetJournal.GetBattlePetLink.lua b/api/C_PetJournal.GetBattlePetLink.lua index 9c5ef45..b83fbe0 100644 --- a/api/C_PetJournal.GetBattlePetLink.lua +++ b/api/C_PetJournal.GetBattlePetLink.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.GetBattlePetLink() end diff --git a/api/C_PetJournal.GetNumCollectedInfo.lua b/api/C_PetJournal.GetNumCollectedInfo.lua index 4cfac36..d866377 100644 --- a/api/C_PetJournal.GetNumCollectedInfo.lua +++ b/api/C_PetJournal.GetNumCollectedInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns the number of pets for that species. Returns the number of pets for that species ID function C_PetJournal.GetNumCollectedInfo() end diff --git a/api/C_PetJournal.GetNumPetSources.lua b/api/C_PetJournal.GetNumPetSources.lua index aa290e0..7f3646f 100644 --- a/api/C_PetJournal.GetNumPetSources.lua +++ b/api/C_PetJournal.GetNumPetSources.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.GetNumPetSources() end diff --git a/api/C_PetJournal.GetNumPetTypes.lua b/api/C_PetJournal.GetNumPetTypes.lua index 854c3b3..312326e 100644 --- a/api/C_PetJournal.GetNumPetTypes.lua +++ b/api/C_PetJournal.GetNumPetTypes.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.GetNumPetTypes() end diff --git a/api/C_PetJournal.GetNumPets.lua b/api/C_PetJournal.GetNumPets.lua index 62dc678..a0b82f4 100644 --- a/api/C_PetJournal.GetNumPets.lua +++ b/api/C_PetJournal.GetNumPets.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns two integers, filtered count, and total count. Returns how many pets currently match user filter, and the grand total collected by the user. function C_PetJournal.GetNumPets() end diff --git a/api/C_PetJournal.GetOwnedBattlePetString.lua b/api/C_PetJournal.GetOwnedBattlePetString.lua index fd7df86..b7da6df 100644 --- a/api/C_PetJournal.GetOwnedBattlePetString.lua +++ b/api/C_PetJournal.GetOwnedBattlePetString.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.GetOwnedBattlePetString() end diff --git a/api/C_PetJournal.GetPetAbilityInfo.lua b/api/C_PetJournal.GetPetAbilityInfo.lua index 63c230d..5467f29 100644 --- a/api/C_PetJournal.GetPetAbilityInfo.lua +++ b/api/C_PetJournal.GetPetAbilityInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.GetPetAbilityInfo() end diff --git a/api/C_PetJournal.GetPetAbilityList.lua b/api/C_PetJournal.GetPetAbilityList.lua index 9576531..36c3fd1 100644 --- a/api/C_PetJournal.GetPetAbilityList.lua +++ b/api/C_PetJournal.GetPetAbilityList.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.GetPetAbilityList() end diff --git a/api/C_PetJournal.GetPetCooldownByGUID.lua b/api/C_PetJournal.GetPetCooldownByGUID.lua index 834a67a..e3173ab 100644 --- a/api/C_PetJournal.GetPetCooldownByGUID.lua +++ b/api/C_PetJournal.GetPetCooldownByGUID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.GetPetCooldownByGUID() end diff --git a/api/C_PetJournal.GetPetInfoByIndex.lua b/api/C_PetJournal.GetPetInfoByIndex.lua index 7ef9620..daafab8 100644 --- a/api/C_PetJournal.GetPetInfoByIndex.lua +++ b/api/C_PetJournal.GetPetInfoByIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.GetPetInfoByIndex() end diff --git a/api/C_PetJournal.GetPetInfoByPetID.lua b/api/C_PetJournal.GetPetInfoByPetID.lua index 35179ce..030e2a8 100644 --- a/api/C_PetJournal.GetPetInfoByPetID.lua +++ b/api/C_PetJournal.GetPetInfoByPetID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param petID string ---@return number speciesID diff --git a/api/C_PetJournal.GetPetInfoBySpeciesID.lua b/api/C_PetJournal.GetPetInfoBySpeciesID.lua index a7d3008..e6b4791 100644 --- a/api/C_PetJournal.GetPetInfoBySpeciesID.lua +++ b/api/C_PetJournal.GetPetInfoBySpeciesID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.GetPetInfoBySpeciesID() end diff --git a/api/C_PetJournal.GetPetLoadOutInfo.lua b/api/C_PetJournal.GetPetLoadOutInfo.lua index e34b82e..19b951c 100644 --- a/api/C_PetJournal.GetPetLoadOutInfo.lua +++ b/api/C_PetJournal.GetPetLoadOutInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slotIndex number ---@return string petID diff --git a/api/C_PetJournal.GetPetSortParameter.lua b/api/C_PetJournal.GetPetSortParameter.lua index 6772d19..f5e15b8 100644 --- a/api/C_PetJournal.GetPetSortParameter.lua +++ b/api/C_PetJournal.GetPetSortParameter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.GetPetSortParameter() end diff --git a/api/C_PetJournal.GetPetStats.lua b/api/C_PetJournal.GetPetStats.lua index bf8cbae..f43beac 100644 --- a/api/C_PetJournal.GetPetStats.lua +++ b/api/C_PetJournal.GetPetStats.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param petID string ---@return number health diff --git a/api/C_PetJournal.GetPetTeamAverageLevel.lua b/api/C_PetJournal.GetPetTeamAverageLevel.lua index 115a6d4..7cfb0d3 100644 --- a/api/C_PetJournal.GetPetTeamAverageLevel.lua +++ b/api/C_PetJournal.GetPetTeamAverageLevel.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.GetPetTeamAverageLevel() end diff --git a/api/C_PetJournal.GetSummonedPetGUID.lua b/api/C_PetJournal.GetSummonedPetGUID.lua index 70b998c..f8ebb69 100644 --- a/api/C_PetJournal.GetSummonedPetGUID.lua +++ b/api/C_PetJournal.GetSummonedPetGUID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.GetSummonedPetGUID() end diff --git a/api/C_PetJournal.IsFindBattleEnabled.lua b/api/C_PetJournal.IsFindBattleEnabled.lua index c30b374..8190728 100644 --- a/api/C_PetJournal.IsFindBattleEnabled.lua +++ b/api/C_PetJournal.IsFindBattleEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.IsFindBattleEnabled() end diff --git a/api/C_PetJournal.IsFlagFiltered.lua b/api/C_PetJournal.IsFlagFiltered.lua index 21c97cc..b89f458 100644 --- a/api/C_PetJournal.IsFlagFiltered.lua +++ b/api/C_PetJournal.IsFlagFiltered.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.IsFlagFiltered() end diff --git a/api/C_PetJournal.IsJournalReadOnly.lua b/api/C_PetJournal.IsJournalReadOnly.lua index 1e7758c..fd7c39d 100644 --- a/api/C_PetJournal.IsJournalReadOnly.lua +++ b/api/C_PetJournal.IsJournalReadOnly.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.IsJournalReadOnly() end diff --git a/api/C_PetJournal.IsJournalUnlocked.lua b/api/C_PetJournal.IsJournalUnlocked.lua index 3ffb0d6..b356d00 100644 --- a/api/C_PetJournal.IsJournalUnlocked.lua +++ b/api/C_PetJournal.IsJournalUnlocked.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.IsJournalUnlocked() end diff --git a/api/C_PetJournal.IsPetSourceFiltered.lua b/api/C_PetJournal.IsPetSourceFiltered.lua index 196835b..557c203 100644 --- a/api/C_PetJournal.IsPetSourceFiltered.lua +++ b/api/C_PetJournal.IsPetSourceFiltered.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.IsPetSourceFiltered() end diff --git a/api/C_PetJournal.IsPetTypeFiltered.lua b/api/C_PetJournal.IsPetTypeFiltered.lua index 3fae116..af9534d 100644 --- a/api/C_PetJournal.IsPetTypeFiltered.lua +++ b/api/C_PetJournal.IsPetTypeFiltered.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.IsPetTypeFiltered() end diff --git a/api/C_PetJournal.PetCanBeReleased.lua b/api/C_PetJournal.PetCanBeReleased.lua index eae4e4e..8dd4c62 100644 --- a/api/C_PetJournal.PetCanBeReleased.lua +++ b/api/C_PetJournal.PetCanBeReleased.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.PetCanBeReleased() end diff --git a/api/C_PetJournal.PetIsCapturable.lua b/api/C_PetJournal.PetIsCapturable.lua index 54f931e..d81531a 100644 --- a/api/C_PetJournal.PetIsCapturable.lua +++ b/api/C_PetJournal.PetIsCapturable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.PetIsCapturable() end diff --git a/api/C_PetJournal.PetIsFavorite.lua b/api/C_PetJournal.PetIsFavorite.lua index 1592207..d0eeb33 100644 --- a/api/C_PetJournal.PetIsFavorite.lua +++ b/api/C_PetJournal.PetIsFavorite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.PetIsFavorite() end diff --git a/api/C_PetJournal.PetIsHurt.lua b/api/C_PetJournal.PetIsHurt.lua index 9e8cb56..a2cf708 100644 --- a/api/C_PetJournal.PetIsHurt.lua +++ b/api/C_PetJournal.PetIsHurt.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.PetIsHurt() end diff --git a/api/C_PetJournal.PetIsLockedForConvert.lua b/api/C_PetJournal.PetIsLockedForConvert.lua index fba91db..c629380 100644 --- a/api/C_PetJournal.PetIsLockedForConvert.lua +++ b/api/C_PetJournal.PetIsLockedForConvert.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.PetIsLockedForConvert() end diff --git a/api/C_PetJournal.PetIsRevoked.lua b/api/C_PetJournal.PetIsRevoked.lua index 2232700..7c76f2c 100644 --- a/api/C_PetJournal.PetIsRevoked.lua +++ b/api/C_PetJournal.PetIsRevoked.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.PetIsRevoked() end diff --git a/api/C_PetJournal.PetIsSlotted.lua b/api/C_PetJournal.PetIsSlotted.lua index cf75744..f58f89b 100644 --- a/api/C_PetJournal.PetIsSlotted.lua +++ b/api/C_PetJournal.PetIsSlotted.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.PetIsSlotted() end diff --git a/api/C_PetJournal.PetIsSummonable.lua b/api/C_PetJournal.PetIsSummonable.lua index 8436cf2..c098dc8 100644 --- a/api/C_PetJournal.PetIsSummonable.lua +++ b/api/C_PetJournal.PetIsSummonable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.PetIsSummonable() end diff --git a/api/C_PetJournal.PetIsTradable.lua b/api/C_PetJournal.PetIsTradable.lua index 723efe8..4389d6a 100644 --- a/api/C_PetJournal.PetIsTradable.lua +++ b/api/C_PetJournal.PetIsTradable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.PetIsTradable() end diff --git a/api/C_PetJournal.PickupPet.lua b/api/C_PetJournal.PickupPet.lua index e472584..1454d3b 100644 --- a/api/C_PetJournal.PickupPet.lua +++ b/api/C_PetJournal.PickupPet.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.PickupPet() end diff --git a/api/C_PetJournal.ReleasePetByID.lua b/api/C_PetJournal.ReleasePetByID.lua index ca47a68..16e594d 100644 --- a/api/C_PetJournal.ReleasePetByID.lua +++ b/api/C_PetJournal.ReleasePetByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.ReleasePetByID() end diff --git a/api/C_PetJournal.SetAbility.lua b/api/C_PetJournal.SetAbility.lua index 26ccf15..8a12a53 100644 --- a/api/C_PetJournal.SetAbility.lua +++ b/api/C_PetJournal.SetAbility.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slotIndex number ---@param spellIndex number diff --git a/api/C_PetJournal.SetCustomName.lua b/api/C_PetJournal.SetCustomName.lua index ae01377..5c6fc27 100644 --- a/api/C_PetJournal.SetCustomName.lua +++ b/api/C_PetJournal.SetCustomName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.SetCustomName() end diff --git a/api/C_PetJournal.SetFavorite.lua b/api/C_PetJournal.SetFavorite.lua index 43d6aed..b567826 100644 --- a/api/C_PetJournal.SetFavorite.lua +++ b/api/C_PetJournal.SetFavorite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.SetFavorite() end diff --git a/api/C_PetJournal.SetFlagFilter.lua b/api/C_PetJournal.SetFlagFilter.lua index ac5dd7a..46e0008 100644 --- a/api/C_PetJournal.SetFlagFilter.lua +++ b/api/C_PetJournal.SetFlagFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.SetFlagFilter() end diff --git a/api/C_PetJournal.SetPetLoadOutInfo.lua b/api/C_PetJournal.SetPetLoadOutInfo.lua index 21a1a4c..1a5605b 100644 --- a/api/C_PetJournal.SetPetLoadOutInfo.lua +++ b/api/C_PetJournal.SetPetLoadOutInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slotIndex number ---@param petID string diff --git a/api/C_PetJournal.SetPetSortParameter.lua b/api/C_PetJournal.SetPetSortParameter.lua index 8f119a6..0f067f8 100644 --- a/api/C_PetJournal.SetPetSortParameter.lua +++ b/api/C_PetJournal.SetPetSortParameter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.SetPetSortParameter() end diff --git a/api/C_PetJournal.SetPetSourceFilter.lua b/api/C_PetJournal.SetPetSourceFilter.lua index 985050a..965d2f8 100644 --- a/api/C_PetJournal.SetPetSourceFilter.lua +++ b/api/C_PetJournal.SetPetSourceFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.SetPetSourceFilter() end diff --git a/api/C_PetJournal.SetPetTypeFilter.lua b/api/C_PetJournal.SetPetTypeFilter.lua index 134de68..864d658 100644 --- a/api/C_PetJournal.SetPetTypeFilter.lua +++ b/api/C_PetJournal.SetPetTypeFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.SetPetTypeFilter() end diff --git a/api/C_PetJournal.SetSearchFilter.lua b/api/C_PetJournal.SetSearchFilter.lua index b90551e..c963384 100644 --- a/api/C_PetJournal.SetSearchFilter.lua +++ b/api/C_PetJournal.SetSearchFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.SetSearchFilter() end diff --git a/api/C_PetJournal.SummonPetByGUID.lua b/api/C_PetJournal.SummonPetByGUID.lua index 257b075..1fde781 100644 --- a/api/C_PetJournal.SummonPetByGUID.lua +++ b/api/C_PetJournal.SummonPetByGUID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.SummonPetByGUID() end diff --git a/api/C_PetJournal.SummonRandomPet.lua b/api/C_PetJournal.SummonRandomPet.lua index 0bf311d..c0d6a84 100644 --- a/api/C_PetJournal.SummonRandomPet.lua +++ b/api/C_PetJournal.SummonRandomPet.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_PetJournal.SummonRandomPet() end diff --git a/api/C_Questline.GetNumAvailableQuestlines.lua b/api/C_Questline.GetNumAvailableQuestlines.lua index 81692e9..ce60c09 100644 --- a/api/C_Questline.GetNumAvailableQuestlines.lua +++ b/api/C_Questline.GetNumAvailableQuestlines.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Questline.GetNumAvailableQuestlines() end diff --git a/api/C_Questline.GetQuestlineInfoByIndex.lua b/api/C_Questline.GetQuestlineInfoByIndex.lua index 03f28f0..83bc97f 100644 --- a/api/C_Questline.GetQuestlineInfoByIndex.lua +++ b/api/C_Questline.GetQuestlineInfoByIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Questline.GetQuestlineInfoByIndex() end diff --git a/api/C_RecruitAFriend.CheckEmailEnabled.lua b/api/C_RecruitAFriend.CheckEmailEnabled.lua index 7c36f37..382d047 100644 --- a/api/C_RecruitAFriend.CheckEmailEnabled.lua +++ b/api/C_RecruitAFriend.CheckEmailEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_RecruitAFriend.CheckEmailEnabled() end diff --git a/api/C_RecruitAFriend.GetRecruitInfo.lua b/api/C_RecruitAFriend.GetRecruitInfo.lua index ede57a6..ad82e19 100644 --- a/api/C_RecruitAFriend.GetRecruitInfo.lua +++ b/api/C_RecruitAFriend.GetRecruitInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_RecruitAFriend.GetRecruitInfo() end diff --git a/api/C_RecruitAFriend.IsSendingEnabled.lua b/api/C_RecruitAFriend.IsSendingEnabled.lua index fdcba27..e59d3bf 100644 --- a/api/C_RecruitAFriend.IsSendingEnabled.lua +++ b/api/C_RecruitAFriend.IsSendingEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_RecruitAFriend.IsSendingEnabled() end diff --git a/api/C_RecruitAFriend.SendRecruit.lua b/api/C_RecruitAFriend.SendRecruit.lua index 68daaa7..ba966ee 100644 --- a/api/C_RecruitAFriend.SendRecruit.lua +++ b/api/C_RecruitAFriend.SendRecruit.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_RecruitAFriend.SendRecruit() end diff --git a/api/C_Scenario.GetBonusStepRewardQuestID.lua b/api/C_Scenario.GetBonusStepRewardQuestID.lua index bc5caa5..951a0dd 100644 --- a/api/C_Scenario.GetBonusStepRewardQuestID.lua +++ b/api/C_Scenario.GetBonusStepRewardQuestID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Scenario.GetBonusStepRewardQuestID() end diff --git a/api/C_Scenario.GetBonusSteps.lua b/api/C_Scenario.GetBonusSteps.lua index 5739eb6..953223a 100644 --- a/api/C_Scenario.GetBonusSteps.lua +++ b/api/C_Scenario.GetBonusSteps.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Scenario.GetBonusSteps() end diff --git a/api/C_Scenario.GetCriteriaInfo.lua b/api/C_Scenario.GetCriteriaInfo.lua index ff8609f..ff172a6 100644 --- a/api/C_Scenario.GetCriteriaInfo.lua +++ b/api/C_Scenario.GetCriteriaInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Scenario.GetCriteriaInfo() end diff --git a/api/C_Scenario.GetCriteriaInfoByStep.lua b/api/C_Scenario.GetCriteriaInfoByStep.lua index b2d331d..07311d4 100644 --- a/api/C_Scenario.GetCriteriaInfoByStep.lua +++ b/api/C_Scenario.GetCriteriaInfoByStep.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Scenario.GetCriteriaInfoByStep() end diff --git a/api/C_Scenario.GetInfo.lua b/api/C_Scenario.GetInfo.lua index a062173..cba7685 100644 --- a/api/C_Scenario.GetInfo.lua +++ b/api/C_Scenario.GetInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Scenario.GetInfo() end diff --git a/api/C_Scenario.GetProvingGroundsInfo.lua b/api/C_Scenario.GetProvingGroundsInfo.lua index b5e56f8..5b03797 100644 --- a/api/C_Scenario.GetProvingGroundsInfo.lua +++ b/api/C_Scenario.GetProvingGroundsInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Scenario.GetProvingGroundsInfo() end diff --git a/api/C_Scenario.GetScenarioIconInfo.lua b/api/C_Scenario.GetScenarioIconInfo.lua index 84d4b12..3a86b4f 100644 --- a/api/C_Scenario.GetScenarioIconInfo.lua +++ b/api/C_Scenario.GetScenarioIconInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Scenario.GetScenarioIconInfo() end diff --git a/api/C_Scenario.GetStepInfo.lua b/api/C_Scenario.GetStepInfo.lua index 53db2a6..3e0ef6d 100644 --- a/api/C_Scenario.GetStepInfo.lua +++ b/api/C_Scenario.GetStepInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Scenario.GetStepInfo() end diff --git a/api/C_Scenario.GetSupersededObjectives.lua b/api/C_Scenario.GetSupersededObjectives.lua index 7002239..bb3ea42 100644 --- a/api/C_Scenario.GetSupersededObjectives.lua +++ b/api/C_Scenario.GetSupersededObjectives.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Scenario.GetSupersededObjectives() end diff --git a/api/C_Scenario.IsChallengeMode.lua b/api/C_Scenario.IsChallengeMode.lua index 00186cf..03e3fc7 100644 --- a/api/C_Scenario.IsChallengeMode.lua +++ b/api/C_Scenario.IsChallengeMode.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Scenario.IsChallengeMode() end diff --git a/api/C_Scenario.IsInScenario.lua b/api/C_Scenario.IsInScenario.lua index e310b65..525a44b 100644 --- a/api/C_Scenario.IsInScenario.lua +++ b/api/C_Scenario.IsInScenario.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Scenario.IsInScenario() end diff --git a/api/C_Scenario.TreatScenarioAsDungeon.lua b/api/C_Scenario.TreatScenarioAsDungeon.lua index 86fd987..32d8208 100644 --- a/api/C_Scenario.TreatScenarioAsDungeon.lua +++ b/api/C_Scenario.TreatScenarioAsDungeon.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Scenario.TreatScenarioAsDungeon() end diff --git a/api/C_TaskQuest.GetQuestObjectiveStrByQuestID.lua b/api/C_TaskQuest.GetQuestObjectiveStrByQuestID.lua index 92d509c..42462c1 100644 --- a/api/C_TaskQuest.GetQuestObjectiveStrByQuestID.lua +++ b/api/C_TaskQuest.GetQuestObjectiveStrByQuestID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_TaskQuest.GetQuestObjectiveStrByQuestID() end diff --git a/api/C_TaskQuest.GetQuestTitleByQuestID.lua b/api/C_TaskQuest.GetQuestTitleByQuestID.lua index 8ab7b38..db2c225 100644 --- a/api/C_TaskQuest.GetQuestTitleByQuestID.lua +++ b/api/C_TaskQuest.GetQuestTitleByQuestID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return string name diff --git a/api/C_TaskQuest.GetQuestsForPlayerByMapID.lua b/api/C_TaskQuest.GetQuestsForPlayerByMapID.lua index 60424dd..876618c 100644 --- a/api/C_TaskQuest.GetQuestsForPlayerByMapID.lua +++ b/api/C_TaskQuest.GetQuestsForPlayerByMapID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_TaskQuest.GetQuestsForPlayerByMapID() end diff --git a/api/C_Timer.After.lua b/api/C_Timer.After.lua index 8cee8f3..4714d57 100644 --- a/api/C_Timer.After.lua +++ b/api/C_Timer.After.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param duration number ---@param callback function diff --git a/api/C_ToyBox.ClearAllSourceTypesFiltered.lua b/api/C_ToyBox.ClearAllSourceTypesFiltered.lua index 8a141f6..2ae2d94 100644 --- a/api/C_ToyBox.ClearAllSourceTypesFiltered.lua +++ b/api/C_ToyBox.ClearAllSourceTypesFiltered.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.ClearAllSourceTypesFiltered() end diff --git a/api/C_ToyBox.FilterToys.lua b/api/C_ToyBox.FilterToys.lua index 42b8b1f..f39d6eb 100644 --- a/api/C_ToyBox.FilterToys.lua +++ b/api/C_ToyBox.FilterToys.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.FilterToys() end diff --git a/api/C_ToyBox.GetFilterCollected.lua b/api/C_ToyBox.GetFilterCollected.lua index a58cb22..62f9dc7 100644 --- a/api/C_ToyBox.GetFilterCollected.lua +++ b/api/C_ToyBox.GetFilterCollected.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.GetFilterCollected() end diff --git a/api/C_ToyBox.GetFilterUncollected.lua b/api/C_ToyBox.GetFilterUncollected.lua index 8921517..32c8e49 100644 --- a/api/C_ToyBox.GetFilterUncollected.lua +++ b/api/C_ToyBox.GetFilterUncollected.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.GetFilterUncollected() end diff --git a/api/C_ToyBox.GetIsFavorite.lua b/api/C_ToyBox.GetIsFavorite.lua index 7669a7f..a556fba 100644 --- a/api/C_ToyBox.GetIsFavorite.lua +++ b/api/C_ToyBox.GetIsFavorite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.GetIsFavorite() end diff --git a/api/C_ToyBox.GetNumFilteredToys.lua b/api/C_ToyBox.GetNumFilteredToys.lua index 6fd6009..f02a4cb 100644 --- a/api/C_ToyBox.GetNumFilteredToys.lua +++ b/api/C_ToyBox.GetNumFilteredToys.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.GetNumFilteredToys() end diff --git a/api/C_ToyBox.GetNumLearnedDisplayedToys.lua b/api/C_ToyBox.GetNumLearnedDisplayedToys.lua index 18f3eb0..9b67f02 100644 --- a/api/C_ToyBox.GetNumLearnedDisplayedToys.lua +++ b/api/C_ToyBox.GetNumLearnedDisplayedToys.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.GetNumLearnedDisplayedToys() end diff --git a/api/C_ToyBox.GetNumTotalDisplayedToys.lua b/api/C_ToyBox.GetNumTotalDisplayedToys.lua index b783470..99c2a6f 100644 --- a/api/C_ToyBox.GetNumTotalDisplayedToys.lua +++ b/api/C_ToyBox.GetNumTotalDisplayedToys.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.GetNumTotalDisplayedToys() end diff --git a/api/C_ToyBox.GetNumToys.lua b/api/C_ToyBox.GetNumToys.lua index 3782e1f..a23181f 100644 --- a/api/C_ToyBox.GetNumToys.lua +++ b/api/C_ToyBox.GetNumToys.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.GetNumToys() end diff --git a/api/C_ToyBox.GetToyFromIndex.lua b/api/C_ToyBox.GetToyFromIndex.lua index aceb59e..d9ad99d 100644 --- a/api/C_ToyBox.GetToyFromIndex.lua +++ b/api/C_ToyBox.GetToyFromIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.GetToyFromIndex() end diff --git a/api/C_ToyBox.GetToyInfo.lua b/api/C_ToyBox.GetToyInfo.lua index cdcf4c9..2aeb713 100644 --- a/api/C_ToyBox.GetToyInfo.lua +++ b/api/C_ToyBox.GetToyInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@return number itemID diff --git a/api/C_ToyBox.GetToyLink.lua b/api/C_ToyBox.GetToyLink.lua index 58c2889..518456d 100644 --- a/api/C_ToyBox.GetToyLink.lua +++ b/api/C_ToyBox.GetToyLink.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.GetToyLink() end diff --git a/api/C_ToyBox.HasFavorites.lua b/api/C_ToyBox.HasFavorites.lua index fc7456c..c28aa70 100644 --- a/api/C_ToyBox.HasFavorites.lua +++ b/api/C_ToyBox.HasFavorites.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.HasFavorites() end diff --git a/api/C_ToyBox.IsSourceTypeFiltered.lua b/api/C_ToyBox.IsSourceTypeFiltered.lua index 888c6d4..c912844 100644 --- a/api/C_ToyBox.IsSourceTypeFiltered.lua +++ b/api/C_ToyBox.IsSourceTypeFiltered.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.IsSourceTypeFiltered() end diff --git a/api/C_ToyBox.PickupToyBoxItem.lua b/api/C_ToyBox.PickupToyBoxItem.lua index 87e1a5e..98bdd51 100644 --- a/api/C_ToyBox.PickupToyBoxItem.lua +++ b/api/C_ToyBox.PickupToyBoxItem.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.PickupToyBoxItem() end diff --git a/api/C_ToyBox.SetAllSourceTypesFiltered.lua b/api/C_ToyBox.SetAllSourceTypesFiltered.lua index 37a5f51..7506bc4 100644 --- a/api/C_ToyBox.SetAllSourceTypesFiltered.lua +++ b/api/C_ToyBox.SetAllSourceTypesFiltered.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.SetAllSourceTypesFiltered() end diff --git a/api/C_ToyBox.SetFilterCollected.lua b/api/C_ToyBox.SetFilterCollected.lua index 1412343..c8ba7ce 100644 --- a/api/C_ToyBox.SetFilterCollected.lua +++ b/api/C_ToyBox.SetFilterCollected.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.SetFilterCollected() end diff --git a/api/C_ToyBox.SetFilterSourceType.lua b/api/C_ToyBox.SetFilterSourceType.lua index ed436b0..4877026 100644 --- a/api/C_ToyBox.SetFilterSourceType.lua +++ b/api/C_ToyBox.SetFilterSourceType.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.SetFilterSourceType() end diff --git a/api/C_ToyBox.SetFilterString.lua b/api/C_ToyBox.SetFilterString.lua index cd40a11..5ad57fc 100644 --- a/api/C_ToyBox.SetFilterString.lua +++ b/api/C_ToyBox.SetFilterString.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.SetFilterString() end diff --git a/api/C_ToyBox.SetFilterUncollected.lua b/api/C_ToyBox.SetFilterUncollected.lua index d53e49c..0de8f9b 100644 --- a/api/C_ToyBox.SetFilterUncollected.lua +++ b/api/C_ToyBox.SetFilterUncollected.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.SetFilterUncollected() end diff --git a/api/C_ToyBox.SetIsFavorite.lua b/api/C_ToyBox.SetIsFavorite.lua index fd57c70..d2b0b6c 100644 --- a/api/C_ToyBox.SetIsFavorite.lua +++ b/api/C_ToyBox.SetIsFavorite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_ToyBox.SetIsFavorite() end diff --git a/api/C_Trophy.MonumentChangeAppearanceToTrophyID.lua b/api/C_Trophy.MonumentChangeAppearanceToTrophyID.lua index 5145ccf..4cb28c8 100644 --- a/api/C_Trophy.MonumentChangeAppearanceToTrophyID.lua +++ b/api/C_Trophy.MonumentChangeAppearanceToTrophyID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Trophy.MonumentChangeAppearanceToTrophyID() end diff --git a/api/C_Trophy.MonumentCloseMonumentUI.lua b/api/C_Trophy.MonumentCloseMonumentUI.lua index 3361e30..01cd2c5 100644 --- a/api/C_Trophy.MonumentCloseMonumentUI.lua +++ b/api/C_Trophy.MonumentCloseMonumentUI.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Trophy.MonumentCloseMonumentUI() end diff --git a/api/C_Trophy.MonumentGetCount.lua b/api/C_Trophy.MonumentGetCount.lua index 0a62a7a..b0a4c04 100644 --- a/api/C_Trophy.MonumentGetCount.lua +++ b/api/C_Trophy.MonumentGetCount.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Trophy.MonumentGetCount() end diff --git a/api/C_Trophy.MonumentGetSelectedTrophyID.lua b/api/C_Trophy.MonumentGetSelectedTrophyID.lua index b695dfd..d9378dd 100644 --- a/api/C_Trophy.MonumentGetSelectedTrophyID.lua +++ b/api/C_Trophy.MonumentGetSelectedTrophyID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Trophy.MonumentGetSelectedTrophyID() end diff --git a/api/C_Trophy.MonumentGetTrophyInfoByIndex.lua b/api/C_Trophy.MonumentGetTrophyInfoByIndex.lua index 8fc0fea..66bc9e7 100644 --- a/api/C_Trophy.MonumentGetTrophyInfoByIndex.lua +++ b/api/C_Trophy.MonumentGetTrophyInfoByIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Trophy.MonumentGetTrophyInfoByIndex() end diff --git a/api/C_Trophy.MonumentLoadList.lua b/api/C_Trophy.MonumentLoadList.lua index ba3dee3..8b37627 100644 --- a/api/C_Trophy.MonumentLoadList.lua +++ b/api/C_Trophy.MonumentLoadList.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Trophy.MonumentLoadList() end diff --git a/api/C_Trophy.MonumentLoadSelectedTrophyID.lua b/api/C_Trophy.MonumentLoadSelectedTrophyID.lua index 82ab896..c0f848e 100644 --- a/api/C_Trophy.MonumentLoadSelectedTrophyID.lua +++ b/api/C_Trophy.MonumentLoadSelectedTrophyID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Trophy.MonumentLoadSelectedTrophyID() end diff --git a/api/C_Trophy.MonumentRevertAppearanceToSaved.lua b/api/C_Trophy.MonumentRevertAppearanceToSaved.lua index 2eac43c..27edcb1 100644 --- a/api/C_Trophy.MonumentRevertAppearanceToSaved.lua +++ b/api/C_Trophy.MonumentRevertAppearanceToSaved.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Trophy.MonumentRevertAppearanceToSaved() end diff --git a/api/C_Trophy.MonumentSaveSelection.lua b/api/C_Trophy.MonumentSaveSelection.lua index dc0247f..188bbe9 100644 --- a/api/C_Trophy.MonumentSaveSelection.lua +++ b/api/C_Trophy.MonumentSaveSelection.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function C_Trophy.MonumentSaveSelection() end diff --git a/api/CalculateAuctionDeposit.lua b/api/CalculateAuctionDeposit.lua index e40c98f..fa65587 100644 --- a/api/CalculateAuctionDeposit.lua +++ b/api/CalculateAuctionDeposit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param runTime 2880 ---@param 720 diff --git a/api/CalendarAddEvent.lua b/api/CalendarAddEvent.lua index c7af96b..6fc9b23 100644 --- a/api/CalendarAddEvent.lua +++ b/api/CalendarAddEvent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Saves the event recently created (and selected for editing) to the calendar. Until this function is called, an event created with CalendarNewEvent(), CalendarNewGuildEvent(), or CalendarNewGuildAnnouncement() will not exist on the calendar -- that is, guild members or invitees will not see it, and it will not persist if the player closes the calendar, reloads the UI, or goes to view or edit another event. function CalendarAddEvent() end diff --git a/api/CalendarCanAddEvent.lua b/api/CalendarCanAddEvent.lua index 1c418dd..797caa1 100644 --- a/api/CalendarCanAddEvent.lua +++ b/api/CalendarCanAddEvent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean canAdd ---Returns whether the player can add an event to the calendar diff --git a/api/CalendarCanSendInvite.lua b/api/CalendarCanSendInvite.lua index 3deabc4..2f970ed 100644 --- a/api/CalendarCanSendInvite.lua +++ b/api/CalendarCanSendInvite.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean canInvite ---Returns whether the player can invite others to a calendar event diff --git a/api/CalendarCloseEvent.lua b/api/CalendarCloseEvent.lua index 3da3b4b..6d3db0d 100644 --- a/api/CalendarCloseEvent.lua +++ b/api/CalendarCloseEvent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Deselects (ends viewing/editing on) an event. After calling this function, results of attempting to query or change event information are not guaranteed until a new event is created or another existing event is opened. function CalendarCloseEvent() end diff --git a/api/CalendarContextDeselectEvent.lua b/api/CalendarContextDeselectEvent.lua index b5a6207..3f5822a 100644 --- a/api/CalendarContextDeselectEvent.lua +++ b/api/CalendarContextDeselectEvent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Clears the event selection used only for CalendarContext functions. The selection state cleared by this function is used only by other CalendarContext functions; other calendar event functions use the selection state set by CalendarOpenEvent, CalendarNewEvent, CalendarNewGuildEvent, or CalendarNewGuildAnnouncement (if they use a selection state at all). function CalendarContextDeselectEvent() end diff --git a/api/CalendarContextEventCanComplain.lua b/api/CalendarContextEventCanComplain.lua index 47032d6..4329aef 100644 --- a/api/CalendarContextEventCanComplain.lua +++ b/api/CalendarContextEventCanComplain.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarContextEventCanEdit.lua b/api/CalendarContextEventCanEdit.lua index d03747f..afb2972 100644 --- a/api/CalendarContextEventCanEdit.lua +++ b/api/CalendarContextEventCanEdit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarContextEventCanRemove.lua b/api/CalendarContextEventCanRemove.lua index fccf886..18aa851 100644 --- a/api/CalendarContextEventCanRemove.lua +++ b/api/CalendarContextEventCanRemove.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CalendarContextEventCanRemove() end diff --git a/api/CalendarContextEventClipboard.lua b/api/CalendarContextEventClipboard.lua index d473a0c..c52c1d5 100644 --- a/api/CalendarContextEventClipboard.lua +++ b/api/CalendarContextEventClipboard.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean canPaste ---Returns whether the player can paste an event diff --git a/api/CalendarContextEventComplain.lua b/api/CalendarContextEventComplain.lua index 43f823b..70d6ba5 100644 --- a/api/CalendarContextEventComplain.lua +++ b/api/CalendarContextEventComplain.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarContextEventCopy.lua b/api/CalendarContextEventCopy.lua index 94c565c..e8971f7 100644 --- a/api/CalendarContextEventCopy.lua +++ b/api/CalendarContextEventCopy.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarContextEventGetCalendarType.lua b/api/CalendarContextEventGetCalendarType.lua index 8c2e48b..5204252 100644 --- a/api/CalendarContextEventGetCalendarType.lua +++ b/api/CalendarContextEventGetCalendarType.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarContextEventPaste.lua b/api/CalendarContextEventPaste.lua index 8bc76cc..2870f92 100644 --- a/api/CalendarContextEventPaste.lua +++ b/api/CalendarContextEventPaste.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset 1 ---@param -1 diff --git a/api/CalendarContextEventRemove.lua b/api/CalendarContextEventRemove.lua index 35136d2..4bab186 100644 --- a/api/CalendarContextEventRemove.lua +++ b/api/CalendarContextEventRemove.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarContextEventSignUp.lua b/api/CalendarContextEventSignUp.lua index b6751fc..b9d9430 100644 --- a/api/CalendarContextEventSignUp.lua +++ b/api/CalendarContextEventSignUp.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarContextGetEventIndex.lua b/api/CalendarContextGetEventIndex.lua index b7d2d34..8b584e1 100644 --- a/api/CalendarContextGetEventIndex.lua +++ b/api/CalendarContextGetEventIndex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1 monthOffset ---@return -1 diff --git a/api/CalendarContextInviteAvailable.lua b/api/CalendarContextInviteAvailable.lua index a8e6881..ffad1c6 100644 --- a/api/CalendarContextInviteAvailable.lua +++ b/api/CalendarContextInviteAvailable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarContextInviteDecline.lua b/api/CalendarContextInviteDecline.lua index 6e56481..e7692b3 100644 --- a/api/CalendarContextInviteDecline.lua +++ b/api/CalendarContextInviteDecline.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarContextInviteIsPending.lua b/api/CalendarContextInviteIsPending.lua index f39f7e0..8fcabbb 100644 --- a/api/CalendarContextInviteIsPending.lua +++ b/api/CalendarContextInviteIsPending.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarContextInviteModeratorStatus.lua b/api/CalendarContextInviteModeratorStatus.lua index 01a4b4f..7ad5f2e 100644 --- a/api/CalendarContextInviteModeratorStatus.lua +++ b/api/CalendarContextInviteModeratorStatus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarContextInviteRemove.lua b/api/CalendarContextInviteRemove.lua index 2324de1..25d8efb 100644 --- a/api/CalendarContextInviteRemove.lua +++ b/api/CalendarContextInviteRemove.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarContextInviteStatus.lua b/api/CalendarContextInviteStatus.lua index fb9d1eb..3693a3e 100644 --- a/api/CalendarContextInviteStatus.lua +++ b/api/CalendarContextInviteStatus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarContextInviteTentative.lua b/api/CalendarContextInviteTentative.lua index dc5ec10..ee46a2b 100644 --- a/api/CalendarContextInviteTentative.lua +++ b/api/CalendarContextInviteTentative.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CalendarContextInviteTentative() end diff --git a/api/CalendarContextInviteType.lua b/api/CalendarContextInviteType.lua index 51845e2..97d59b3 100644 --- a/api/CalendarContextInviteType.lua +++ b/api/CalendarContextInviteType.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarContextSelectEvent.lua b/api/CalendarContextSelectEvent.lua index d2851e8..24be35a 100644 --- a/api/CalendarContextSelectEvent.lua +++ b/api/CalendarContextSelectEvent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset CalendarContextSelectEvent ---@param -1 diff --git a/api/CalendarDefaultGuildFilter.lua b/api/CalendarDefaultGuildFilter.lua index 90e7f80..d4a1227 100644 --- a/api/CalendarDefaultGuildFilter.lua +++ b/api/CalendarDefaultGuildFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number minLevel ---@return number maxLevel diff --git a/api/CalendarEventAvailable.lua b/api/CalendarEventAvailable.lua index b92e508..665e359 100644 --- a/api/CalendarEventAvailable.lua +++ b/api/CalendarEventAvailable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts invitation to the selected calendar event. Only applies to player-created events and invitations sent by other players; has no effect if the current calendar event is of another type. function CalendarEventAvailable() end diff --git a/api/CalendarEventCanEdit.lua b/api/CalendarEventCanEdit.lua index af87d08..4dca14b 100644 --- a/api/CalendarEventCanEdit.lua +++ b/api/CalendarEventCanEdit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean canEdit ---Returns whether the player can edit the selected calendar event diff --git a/api/CalendarEventCanModerate.lua b/api/CalendarEventCanModerate.lua index 5010dae..59bcc37 100644 --- a/api/CalendarEventCanModerate.lua +++ b/api/CalendarEventCanModerate.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return boolean canModerate diff --git a/api/CalendarEventClearAutoApprove.lua b/api/CalendarEventClearAutoApprove.lua index 8eec137..9e239e5 100644 --- a/api/CalendarEventClearAutoApprove.lua +++ b/api/CalendarEventClearAutoApprove.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Disables the auto-approve feature (currently unused) for the selected calendar event function CalendarEventClearAutoApprove() end diff --git a/api/CalendarEventClearLocked.lua b/api/CalendarEventClearLocked.lua index 164cad1..d67f911 100644 --- a/api/CalendarEventClearLocked.lua +++ b/api/CalendarEventClearLocked.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Unlocks the selected calendar event. Locked events do not allow invitees to respond or guild members to sign up, but can still be edited. function CalendarEventClearLocked() end diff --git a/api/CalendarEventClearModerator.lua b/api/CalendarEventClearModerator.lua index a23043d..9bcf683 100644 --- a/api/CalendarEventClearModerator.lua +++ b/api/CalendarEventClearModerator.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Removes moderator status from a character on the selected event's invite/signup list. Moderators can change the status of characters on the invite/signup list and invite more characters, but cannot otherwise edit the event. diff --git a/api/CalendarEventDecline.lua b/api/CalendarEventDecline.lua index ff69494..5c2318e 100644 --- a/api/CalendarEventDecline.lua +++ b/api/CalendarEventDecline.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Declines invitation to the selected calendar event. Only applies to player-created events and invitations sent by other players; has no effect if the current calendar event is of another type. function CalendarEventDecline() end diff --git a/api/CalendarEventGetCalendarType.lua b/api/CalendarEventGetCalendarType.lua index 9d7ab13..c9f45cd 100644 --- a/api/CalendarEventGetCalendarType.lua +++ b/api/CalendarEventGetCalendarType.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return PLAYER calendarType ---@return GUILD_ANNOUNCEMENT diff --git a/api/CalendarEventGetInvite.lua b/api/CalendarEventGetInvite.lua index 74842c0..bc1d21d 100644 --- a/api/CalendarEventGetInvite.lua +++ b/api/CalendarEventGetInvite.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/CalendarEventGetInviteResponseTime.lua b/api/CalendarEventGetInviteResponseTime.lua index bde5dc6..f9622cd 100644 --- a/api/CalendarEventGetInviteResponseTime.lua +++ b/api/CalendarEventGetInviteResponseTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number weekday diff --git a/api/CalendarEventGetInviteSortCriterion.lua b/api/CalendarEventGetInviteSortCriterion.lua index f76186b..8199a9b 100644 --- a/api/CalendarEventGetInviteSortCriterion.lua +++ b/api/CalendarEventGetInviteSortCriterion.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return status criterion ---@return CLASS_SORT_ORDER class diff --git a/api/CalendarEventGetNumInvites.lua b/api/CalendarEventGetNumInvites.lua index 3fbdeed..e573b71 100644 --- a/api/CalendarEventGetNumInvites.lua +++ b/api/CalendarEventGetNumInvites.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numInvites ---Returns the number of characters on the selected calendar event's invite/signup list diff --git a/api/CalendarEventGetRepeatOptions.lua b/api/CalendarEventGetRepeatOptions.lua index 5941236..69e129d 100644 --- a/api/CalendarEventGetRepeatOptions.lua +++ b/api/CalendarEventGetRepeatOptions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns a list of localized event repetition option labels (currently unused) diff --git a/api/CalendarEventGetSelectedInvite.lua b/api/CalendarEventGetSelectedInvite.lua index 4543f7e..e17b7f1 100644 --- a/api/CalendarEventGetSelectedInvite.lua +++ b/api/CalendarEventGetSelectedInvite.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the index of the selected entry on the selected event's invite/signup list. In the current default UI, selection behavior in the invite list is implemented but disabled; selecting an invite list entry has no effect on the behavior of other APIs. diff --git a/api/CalendarEventGetStatusOptions.lua b/api/CalendarEventGetStatusOptions.lua index 8a5e51d..d9faa72 100644 --- a/api/CalendarEventGetStatusOptions.lua +++ b/api/CalendarEventGetStatusOptions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns a list of localized invite status labels diff --git a/api/CalendarEventGetTextures.lua b/api/CalendarEventGetTextures.lua index dd86cdd..2119c95 100644 --- a/api/CalendarEventGetTextures.lua +++ b/api/CalendarEventGetTextures.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param eventType 2 ---@param 1 diff --git a/api/CalendarEventGetTypes.lua b/api/CalendarEventGetTypes.lua index 111799b..94553fe 100644 --- a/api/CalendarEventGetTypes.lua +++ b/api/CalendarEventGetTypes.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns a list of event display style labels diff --git a/api/CalendarEventGetTypesDisplayOrdered.lua b/api/CalendarEventGetTypesDisplayOrdered.lua index 9638c8f..3d1b738 100644 --- a/api/CalendarEventGetTypesDisplayOrdered.lua +++ b/api/CalendarEventGetTypesDisplayOrdered.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CalendarEventGetTypesDisplayOrdered() end diff --git a/api/CalendarEventHasPendingInvite.lua b/api/CalendarEventHasPendingInvite.lua index d340b8a..f3a6e49 100644 --- a/api/CalendarEventHasPendingInvite.lua +++ b/api/CalendarEventHasPendingInvite.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean pendingInvite ---Returns whether the player has been invited to the selected event and not yet responded diff --git a/api/CalendarEventHaveSettingsChanged.lua b/api/CalendarEventHaveSettingsChanged.lua index a721213..627789a 100644 --- a/api/CalendarEventHaveSettingsChanged.lua +++ b/api/CalendarEventHaveSettingsChanged.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean settingsChanged ---Returns whether the selected event has unsaved changes diff --git a/api/CalendarEventInvite.lua b/api/CalendarEventInvite.lua index 42348d8..b2570be 100644 --- a/api/CalendarEventInvite.lua +++ b/api/CalendarEventInvite.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Attempts to invite a character to the selected event. If successful, the CALENDAR_UPDATE_INVITE_LIST event fires indicating the character has been added to the invite list; otherwise the CALENDAR_UPDATE_ERROR event fires containing a localized error message. diff --git a/api/CalendarEventIsModerator.lua b/api/CalendarEventIsModerator.lua index 949819f..d82b26e 100644 --- a/api/CalendarEventIsModerator.lua +++ b/api/CalendarEventIsModerator.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isModerator ---Returns whether the player has moderator status for the selected calendar event. Also returns true if the player is the event's creator. diff --git a/api/CalendarEventRemoveInvite.lua b/api/CalendarEventRemoveInvite.lua index 84ea61f..023293e 100644 --- a/api/CalendarEventRemoveInvite.lua +++ b/api/CalendarEventRemoveInvite.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Removes a character from the selected event's invite/signup list. Cannot be used to remove the event's creator (fires a CALENDAR_UPDATE_ERROR event with nil error message if such is attempted). diff --git a/api/CalendarEventSelectInvite.lua b/api/CalendarEventSelectInvite.lua index 77473d5..f792925 100644 --- a/api/CalendarEventSelectInvite.lua +++ b/api/CalendarEventSelectInvite.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Selects an entry in the selected event's invite/signup list. In the current default UI, selection behavior in the invite list is implemented but disabled; selecting an invite list entry has no effect on the behavior of other APIs. diff --git a/api/CalendarEventSetAutoApprove.lua b/api/CalendarEventSetAutoApprove.lua index 87622a0..b5a40aa 100644 --- a/api/CalendarEventSetAutoApprove.lua +++ b/api/CalendarEventSetAutoApprove.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Enables the auto-approve feature (currently unused) for the selected calendar event function CalendarEventSetAutoApprove() end diff --git a/api/CalendarEventSetDate.lua b/api/CalendarEventSetDate.lua index d2eb061..a7ba4f4 100644 --- a/api/CalendarEventSetDate.lua +++ b/api/CalendarEventSetDate.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param month number ---@param day number diff --git a/api/CalendarEventSetDescription.lua b/api/CalendarEventSetDescription.lua index d079e9c..e2e3c52 100644 --- a/api/CalendarEventSetDescription.lua +++ b/api/CalendarEventSetDescription.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param description string ---Changes the descriptive text for the selected event diff --git a/api/CalendarEventSetLocked.lua b/api/CalendarEventSetLocked.lua index 8217317..dfa02a1 100644 --- a/api/CalendarEventSetLocked.lua +++ b/api/CalendarEventSetLocked.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Locks the selected calendar event. Locked events do not allow invitees to respond or guild members to sign up, but can still be edited. function CalendarEventSetLocked() end diff --git a/api/CalendarEventSetLockoutDate.lua b/api/CalendarEventSetLockoutDate.lua index 9bb339a..82fbc7b 100644 --- a/api/CalendarEventSetLockoutDate.lua +++ b/api/CalendarEventSetLockoutDate.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param month number ---@param day number diff --git a/api/CalendarEventSetLockoutTime.lua b/api/CalendarEventSetLockoutTime.lua index 78617a6..63cd9a1 100644 --- a/api/CalendarEventSetLockoutTime.lua +++ b/api/CalendarEventSetLockoutTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param hour number ---@param minute number diff --git a/api/CalendarEventSetModerator.lua b/api/CalendarEventSetModerator.lua index 65ff229..67aa584 100644 --- a/api/CalendarEventSetModerator.lua +++ b/api/CalendarEventSetModerator.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Grants moderator status to a character on the selected event's invite/signup list. Moderators can change the status of characters on the invite/signup list and invite more characters, but cannot otherwise edit the event. diff --git a/api/CalendarEventSetRepeatOption.lua b/api/CalendarEventSetRepeatOption.lua index ed36f63..64d1d91 100644 --- a/api/CalendarEventSetRepeatOption.lua +++ b/api/CalendarEventSetRepeatOption.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param title number ---Changes the repetition option for the selected event (currently unused). This feature is not enabled in the current version of World of Warcraft; saving an event in which the repeat option has been changed will revert it to its default of 1 (Never). diff --git a/api/CalendarEventSetSize.lua b/api/CalendarEventSetSize.lua index 0e49377..3e5752a 100644 --- a/api/CalendarEventSetSize.lua +++ b/api/CalendarEventSetSize.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param size number ---Changes the maximum number of invites/signups for the selected event (currently unused). This feature is not enabled in the current version of World of Warcraft; saving an event in which the max size has been changed will revert it to its default of 100. diff --git a/api/CalendarEventSetStatus.lua b/api/CalendarEventSetStatus.lua index 2cf0d27..37d956f 100644 --- a/api/CalendarEventSetStatus.lua +++ b/api/CalendarEventSetStatus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param inviteStatus 8 diff --git a/api/CalendarEventSetTextureID.lua b/api/CalendarEventSetTextureID.lua index 31268fc..1483426 100644 --- a/api/CalendarEventSetTextureID.lua +++ b/api/CalendarEventSetTextureID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Changes the raid or dungeon instance for the selected event. Only applicable if the event's eventType is set to 1 or 2 (see CalendarEventSetType). A list of dungeon or raid instances can be found by calling CalendarEventGetTextures with the current eventType. That function returns three values (name, icon, and expansion) for each instance in the list; e.g. to get the index for use with this function, find the index of the instance's name in that list and divide by 3. diff --git a/api/CalendarEventSetTime.lua b/api/CalendarEventSetTime.lua index 55514a0..d601e0a 100644 --- a/api/CalendarEventSetTime.lua +++ b/api/CalendarEventSetTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param hour number ---@param minute number diff --git a/api/CalendarEventSetTitle.lua b/api/CalendarEventSetTitle.lua index 3c0cb82..0cc4176 100644 --- a/api/CalendarEventSetTitle.lua +++ b/api/CalendarEventSetTitle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param title string ---Changes the title for the selected event diff --git a/api/CalendarEventSetType.lua b/api/CalendarEventSetType.lua index de554f9..fea14d2 100644 --- a/api/CalendarEventSetType.lua +++ b/api/CalendarEventSetType.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param eventType 5 ---@param 1 diff --git a/api/CalendarEventSignUp.lua b/api/CalendarEventSignUp.lua index ba1c7e0..5d6bba8 100644 --- a/api/CalendarEventSignUp.lua +++ b/api/CalendarEventSignUp.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Signs the player up for the selected calendar event. Only applies to guild events; has no effect if called when the current calendar event is not a guild event. function CalendarEventSignUp() end diff --git a/api/CalendarEventSortInvites.lua b/api/CalendarEventSortInvites.lua index 7d8169f..b51ed87 100644 --- a/api/CalendarEventSortInvites.lua +++ b/api/CalendarEventSortInvites.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param criterion status ---@param class CLASS_SORT_ORDER diff --git a/api/CalendarEventTentative.lua b/api/CalendarEventTentative.lua index e363e66..244810b 100644 --- a/api/CalendarEventTentative.lua +++ b/api/CalendarEventTentative.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CalendarEventTentative() end diff --git a/api/CalendarGetAbsMonth.lua b/api/CalendarGetAbsMonth.lua index 24b38dc..ef1b21c 100644 --- a/api/CalendarGetAbsMonth.lua +++ b/api/CalendarGetAbsMonth.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param month number ---@param year number diff --git a/api/CalendarGetDate.lua b/api/CalendarGetDate.lua index b0bd16a..e129200 100644 --- a/api/CalendarGetDate.lua +++ b/api/CalendarGetDate.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number weekday ---@return number month diff --git a/api/CalendarGetDayEvent.lua b/api/CalendarGetDayEvent.lua index 1b41f9c..b3c71fe 100644 --- a/api/CalendarGetDayEvent.lua +++ b/api/CalendarGetDayEvent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset 1 ---@param -1 diff --git a/api/CalendarGetDayEventSequenceInfo.lua b/api/CalendarGetDayEventSequenceInfo.lua index fa916fa..591eca2 100644 --- a/api/CalendarGetDayEventSequenceInfo.lua +++ b/api/CalendarGetDayEventSequenceInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CalendarGetDayEventSequenceInfo() end diff --git a/api/CalendarGetEventIndex.lua b/api/CalendarGetEventIndex.lua index db7f952..d246197 100644 --- a/api/CalendarGetEventIndex.lua +++ b/api/CalendarGetEventIndex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1 monthOffset ---@return -1 diff --git a/api/CalendarGetEventInfo.lua b/api/CalendarGetEventInfo.lua index e7a2029..4f81673 100644 --- a/api/CalendarGetEventInfo.lua +++ b/api/CalendarGetEventInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string title ---@return string description diff --git a/api/CalendarGetFirstPendingInvite.lua b/api/CalendarGetFirstPendingInvite.lua index 8506204..4034b01 100644 --- a/api/CalendarGetFirstPendingInvite.lua +++ b/api/CalendarGetFirstPendingInvite.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset number ---@param day number diff --git a/api/CalendarGetGuildEventInfo.lua b/api/CalendarGetGuildEventInfo.lua index 9a7db84..f974f8f 100644 --- a/api/CalendarGetGuildEventInfo.lua +++ b/api/CalendarGetGuildEventInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param eventIndex number ---@return 12 month diff --git a/api/CalendarGetGuildEventSelectionInfo.lua b/api/CalendarGetGuildEventSelectionInfo.lua index 2f67bb8..839e66e 100644 --- a/api/CalendarGetGuildEventSelectionInfo.lua +++ b/api/CalendarGetGuildEventSelectionInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CalendarGetGuildEventSelectionInfo() end diff --git a/api/CalendarGetHolidayInfo.lua b/api/CalendarGetHolidayInfo.lua index 13cc865..c5d28d2 100644 --- a/api/CalendarGetHolidayInfo.lua +++ b/api/CalendarGetHolidayInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset number ---@param day number diff --git a/api/CalendarGetMaxCreateDate.lua b/api/CalendarGetMaxCreateDate.lua index bc644f7..c611e11 100644 --- a/api/CalendarGetMaxCreateDate.lua +++ b/api/CalendarGetMaxCreateDate.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number weekday ---@return number month diff --git a/api/CalendarGetMaxDate.lua b/api/CalendarGetMaxDate.lua index bfde791..2378a93 100644 --- a/api/CalendarGetMaxDate.lua +++ b/api/CalendarGetMaxDate.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number weekday ---@return number month diff --git a/api/CalendarGetMinDate.lua b/api/CalendarGetMinDate.lua index 7271171..9fc5d8d 100644 --- a/api/CalendarGetMinDate.lua +++ b/api/CalendarGetMinDate.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number weekday ---@return number month diff --git a/api/CalendarGetMinHistoryDate.lua b/api/CalendarGetMinHistoryDate.lua index c7f6e29..87c40b0 100644 --- a/api/CalendarGetMinHistoryDate.lua +++ b/api/CalendarGetMinHistoryDate.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number weekday ---@return number month diff --git a/api/CalendarGetMonth.lua b/api/CalendarGetMonth.lua index 45aca29..edc8dee 100644 --- a/api/CalendarGetMonth.lua +++ b/api/CalendarGetMonth.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset number ---@return number month diff --git a/api/CalendarGetMonthNames.lua b/api/CalendarGetMonthNames.lua index 97bbc2c..a56d2e1 100644 --- a/api/CalendarGetMonthNames.lua +++ b/api/CalendarGetMonthNames.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns a list of localized month names diff --git a/api/CalendarGetNumDayEvents.lua b/api/CalendarGetNumDayEvents.lua index 7edb4bc..35f4c9c 100644 --- a/api/CalendarGetNumDayEvents.lua +++ b/api/CalendarGetNumDayEvents.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset number ---@param day number diff --git a/api/CalendarGetNumGuildEvents.lua b/api/CalendarGetNumGuildEvents.lua index 323daa7..10e7fdd 100644 --- a/api/CalendarGetNumGuildEvents.lua +++ b/api/CalendarGetNumGuildEvents.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numEvents ---Returns the number of guild events in your calendar diff --git a/api/CalendarGetNumPendingInvites.lua b/api/CalendarGetNumPendingInvites.lua index ef4fa20..e29d7c8 100644 --- a/api/CalendarGetNumPendingInvites.lua +++ b/api/CalendarGetNumPendingInvites.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numInvites ---Returns the number of calendar invitations to which the player has yet to respond diff --git a/api/CalendarGetRaidInfo.lua b/api/CalendarGetRaidInfo.lua index 50c2a3c..63e7a83 100644 --- a/api/CalendarGetRaidInfo.lua +++ b/api/CalendarGetRaidInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset number ---@param day number diff --git a/api/CalendarGetWeekdayNames.lua b/api/CalendarGetWeekdayNames.lua index 081a235..fb7cd92 100644 --- a/api/CalendarGetWeekdayNames.lua +++ b/api/CalendarGetWeekdayNames.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns a list of localized weekday names diff --git a/api/CalendarIsActionPending.lua b/api/CalendarIsActionPending.lua index 60fe247..32eea02 100644 --- a/api/CalendarIsActionPending.lua +++ b/api/CalendarIsActionPending.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isPending ---Returns whether an update to calendar information is in progress. Returns true while the client is synchronizing its calendar information from the server; e.g. after calling CalendarOpenEvent, CalendarAddEvent, or CalendarUpdateEvent. During such periods, using other calendar API functions to query or change event information may not have valid orexpected results. diff --git a/api/CalendarMassInviteGuild.lua b/api/CalendarMassInviteGuild.lua index 5537332..ffc4ae1 100644 --- a/api/CalendarMassInviteGuild.lua +++ b/api/CalendarMassInviteGuild.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param minLevel number ---@param maxLevel number diff --git a/api/CalendarNewEvent.lua b/api/CalendarNewEvent.lua index d263f64..b7703b8 100644 --- a/api/CalendarNewEvent.lua +++ b/api/CalendarNewEvent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Creates a new event and selects it for viewing/editing function CalendarNewEvent() end diff --git a/api/CalendarNewGuildAnnouncement.lua b/api/CalendarNewGuildAnnouncement.lua index 0a40eac..b5508bd 100644 --- a/api/CalendarNewGuildAnnouncement.lua +++ b/api/CalendarNewGuildAnnouncement.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Creates a new guild announcement and selects it for viewing/editing. Guild announcements are visible to all guild members but do not allow signups or invitations. function CalendarNewGuildAnnouncement() end diff --git a/api/CalendarNewGuildEvent.lua b/api/CalendarNewGuildEvent.lua index 827d308..69cfa9e 100644 --- a/api/CalendarNewGuildEvent.lua +++ b/api/CalendarNewGuildEvent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Creates a new guild event and selects it for viewing/editing. Guild events are visible to all guild members and allow members to sign up (or non-members to be invited). function CalendarNewGuildEvent() end diff --git a/api/CalendarOpenEvent.lua b/api/CalendarOpenEvent.lua index 1619985..10da0f8 100644 --- a/api/CalendarOpenEvent.lua +++ b/api/CalendarOpenEvent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset number ---@param day number diff --git a/api/CalendarRemoveEvent.lua b/api/CalendarRemoveEvent.lua index 31b864f..e4f90eb 100644 --- a/api/CalendarRemoveEvent.lua +++ b/api/CalendarRemoveEvent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Removes the selected event invitation from the player's calendar or removes the player from the selected guild event's signup list. NOTE: May disconnect the player if called when the selected calendar event is not a received invitation or a guild event. function CalendarRemoveEvent() end diff --git a/api/CalendarSetAbsMonth.lua b/api/CalendarSetAbsMonth.lua index 19bf361..9c25e79 100644 --- a/api/CalendarSetAbsMonth.lua +++ b/api/CalendarSetAbsMonth.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param month number ---@param year number diff --git a/api/CalendarSetMonth.lua b/api/CalendarSetMonth.lua index a914cc0..4604214 100644 --- a/api/CalendarSetMonth.lua +++ b/api/CalendarSetMonth.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monthOffset 1 ---@param -1 diff --git a/api/CalendarUpdateEvent.lua b/api/CalendarUpdateEvent.lua index 63f599d..30fc51c 100644 --- a/api/CalendarUpdateEvent.lua +++ b/api/CalendarUpdateEvent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Saves changes made to the selected event. Until this function is called, changes made to an event will not be saved -- they will not propagate to guild members or invitees, and the event will revert to its previous state if the player closes the calendar, reloads the UI, or goes to view or edit another event. Only applies to existing events; for newly created events use CalendarAddEvent() once the event's attributes and initial invite list are set. function CalendarUpdateEvent() end diff --git a/api/CallCompanion.lua b/api/CallCompanion.lua index d97dce7..74bb121 100644 --- a/api/CallCompanion.lua +++ b/api/CallCompanion.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param type MOUNT ---@param CRITTER diff --git a/api/CameraOrSelectOrMoveStart.lua b/api/CameraOrSelectOrMoveStart.lua index 3506fb6..6d0bdc8 100644 --- a/api/CameraOrSelectOrMoveStart.lua +++ b/api/CameraOrSelectOrMoveStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins camera movement or selection (equivalent to left-clicking in the 3-D world). After calling this function (i.e. while the left mouse button is held), cursor movement rotates the camera. Final results vary by context and are determined when calling CameraOrSelectOrMoveStop() (i.e. releasing the left mouse button). Used by the CAMERAORSELECTORMOVE binding (not customizable in the default UI), which is bound to the left mouse button by default. function CameraOrSelectOrMoveStart() end diff --git a/api/CameraOrSelectOrMoveStop.lua b/api/CameraOrSelectOrMoveStop.lua index a647d93..72c0674 100644 --- a/api/CameraOrSelectOrMoveStop.lua +++ b/api/CameraOrSelectOrMoveStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param isSticky 1nil ---Ends action initiated by CameraOrSelectOrMoveStart. After calling this function (i.e. releasing the left mouse button), camera movement stops and normal cursor movement resumes. If the cursor has not moved significantly since calling CameraOrSelectOrMoveStart() (i.e. pressing the left mouse button) and is over a unit, that unit becomes the player's target; if the cursor has not moved significantly and is not over a unit, clears the player's target unless the "Sticky Targeting" option is enabled (i.e. the "deselectOnClick" CVar is 0). Used by the CAMERAORSELECTORMOVE binding (not customizable in the default UI), which is bound to the left mouse button by default. diff --git a/api/CameraZoomIn.lua b/api/CameraZoomIn.lua index d2524f4..b4bb4e4 100644 --- a/api/CameraZoomIn.lua +++ b/api/CameraZoomIn.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param distance number ---Zooms the camera in by a specified distance. The max distance of the camera is set in the Interface Options screen, and the maximum distance allowed is enforced by this setting, and the game client. Depending on the setting, this is between 15.0 and 24.0 in the current version of the client. diff --git a/api/CameraZoomOut.lua b/api/CameraZoomOut.lua index e25a755..57ba6a0 100644 --- a/api/CameraZoomOut.lua +++ b/api/CameraZoomOut.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param distance number ---Zooms the camera out by a specified distance. This function is used to zoom the camera out. The max distance of the camera is set in the Interface Options screen, and the maximum distance allowed is enforced by this setting, and the game client. Depending on the setting, this is between 15.0 and 24.0 in the current version of the client. diff --git a/api/CanAbandonQuest.lua b/api/CanAbandonQuest.lua index b908b1e..0816e52 100644 --- a/api/CanAbandonQuest.lua +++ b/api/CanAbandonQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questID number ---@return boolean CanAbandon diff --git a/api/CanAlterSkin.lua b/api/CanAlterSkin.lua index 9f8708e..00f5863 100644 --- a/api/CanAlterSkin.lua +++ b/api/CanAlterSkin.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean canAlter ---Lets you check if the player can change their skin color. Returns true if the player can change their skin color while using the barbershop. diff --git a/api/CanBeRaidTarget.lua b/api/CanBeRaidTarget.lua index 1de13bc..b28384f 100644 --- a/api/CanBeRaidTarget.lua +++ b/api/CanBeRaidTarget.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return boolean canMark diff --git a/api/CanCancelAuction.lua b/api/CanCancelAuction.lua index b0f9f57..c12b825 100644 --- a/api/CanCancelAuction.lua +++ b/api/CanCancelAuction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return 1nil canCancel diff --git a/api/CanComplainChat.lua b/api/CanComplainChat.lua index 3491639..f11b025 100644 --- a/api/CanComplainChat.lua +++ b/api/CanComplainChat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param lineID number ---@return 1nil canComplain diff --git a/api/CanComplainInboxItem.lua b/api/CanComplainInboxItem.lua index acbe2e7..b5b6a22 100644 --- a/api/CanComplainInboxItem.lua +++ b/api/CanComplainInboxItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param mailID number ---@return 1nil complain diff --git a/api/CanEditGuildBankTabInfo.lua b/api/CanEditGuildBankTabInfo.lua index f8cc708..964f8bf 100644 --- a/api/CanEditGuildBankTabInfo.lua +++ b/api/CanEditGuildBankTabInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CanEditGuildBankTabInfo() end diff --git a/api/CanEditGuildEvent.lua b/api/CanEditGuildEvent.lua index 4b2fb18..4302fcb 100644 --- a/api/CanEditGuildEvent.lua +++ b/api/CanEditGuildEvent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canEdit ---Returns whether the player is allowed to edit guild-wide calendar events diff --git a/api/CanEditGuildInfo.lua b/api/CanEditGuildInfo.lua index 3bdd857..5f7e069 100644 --- a/api/CanEditGuildInfo.lua +++ b/api/CanEditGuildInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canEdit ---Returns whether the player is allowed to edit the guild information text. This text appears when clicking the "Guild Information" button in the default UI's Guild window. diff --git a/api/CanEditGuildTabInfo.lua b/api/CanEditGuildTabInfo.lua index 93b1f96..a3e7390 100644 --- a/api/CanEditGuildTabInfo.lua +++ b/api/CanEditGuildTabInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@return 1nil canEdit diff --git a/api/CanEditMOTD.lua b/api/CanEditMOTD.lua index 6c2974d..88ef789 100644 --- a/api/CanEditMOTD.lua +++ b/api/CanEditMOTD.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canEdit ---Returns whether the player is allowed to edit the guild Message of the Day diff --git a/api/CanEditOfficerNote.lua b/api/CanEditOfficerNote.lua index f200df8..06e85fb 100644 --- a/api/CanEditOfficerNote.lua +++ b/api/CanEditOfficerNote.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canEdit ---Returns whether the player is allowed to edit guild officer notes diff --git a/api/CanEditPublicNote.lua b/api/CanEditPublicNote.lua index 765f627..bb45852 100644 --- a/api/CanEditPublicNote.lua +++ b/api/CanEditPublicNote.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canEdit ---Returns whether the player is allowed to edit guild public notes diff --git a/api/CanEjectPassengerFromSeat.lua b/api/CanEjectPassengerFromSeat.lua index c7fade8..bce2085 100644 --- a/api/CanEjectPassengerFromSeat.lua +++ b/api/CanEjectPassengerFromSeat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param seat number ---@return boolean canEject diff --git a/api/CanExitVehicle.lua b/api/CanExitVehicle.lua index 0a7d480..a6fa421 100644 --- a/api/CanExitVehicle.lua +++ b/api/CanExitVehicle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canExit ---Returns whether the player is in a vehicle. Used in the default UI to determine whether to show the "Leave Vehicle" button while controlling siege vehicles, turrets, and certain special mounts and quest entities. diff --git a/api/CanGrantLevel.lua b/api/CanGrantLevel.lua index 2bafe10..e9a4a14 100644 --- a/api/CanGrantLevel.lua +++ b/api/CanGrantLevel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil canGrant diff --git a/api/CanGuildBankRepair.lua b/api/CanGuildBankRepair.lua index 43a2b2a..e5ed5c1 100644 --- a/api/CanGuildBankRepair.lua +++ b/api/CanGuildBankRepair.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canRepair ---Returns whether the player is allowed to pay for repairs using guild bank funds diff --git a/api/CanGuildDemote.lua b/api/CanGuildDemote.lua index aea11c6..a477134 100644 --- a/api/CanGuildDemote.lua +++ b/api/CanGuildDemote.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canDemote ---Returns whether the player is allowed to demote lower ranked guild members diff --git a/api/CanGuildInvite.lua b/api/CanGuildInvite.lua index 7ac0cc6..97c573a 100644 --- a/api/CanGuildInvite.lua +++ b/api/CanGuildInvite.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canInvite ---Returns whether the player is allowed to invite new members to his or her guild diff --git a/api/CanGuildPromote.lua b/api/CanGuildPromote.lua index eb8c5ba..2d1be8e 100644 --- a/api/CanGuildPromote.lua +++ b/api/CanGuildPromote.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canPromote ---Returns whether the player is allowed to promote other guild members. The player may promote other members only up to the rank below his or her own. diff --git a/api/CanGuildRemove.lua b/api/CanGuildRemove.lua index 60098a1..cd2ba93 100644 --- a/api/CanGuildRemove.lua +++ b/api/CanGuildRemove.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canRemove ---Returns whether the player is allowed to remove members from his or her guild. The player may only remove lower ranked members from the guild. diff --git a/api/CanHearthAndResurrectFromArea.lua b/api/CanHearthAndResurrectFromArea.lua index 7383fff..5148313 100644 --- a/api/CanHearthAndResurrectFromArea.lua +++ b/api/CanHearthAndResurrectFromArea.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil status ---Returns whether the player is in a world PvP zone offering an exit option. Used by the default UI to show the MiniMapBattlefieldFrame and provide a menu option for leaving if the player is in a world PvP combat zone (i.e. Wintergrasp). diff --git a/api/CanInitiateWarGame.lua b/api/CanInitiateWarGame.lua index 6debb03..a18f014 100644 --- a/api/CanInitiateWarGame.lua +++ b/api/CanInitiateWarGame.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CanInitiateWarGame() end diff --git a/api/CanInspect.lua b/api/CanInspect.lua index 5cc8c2a..bccc71c 100644 --- a/api/CanInspect.lua +++ b/api/CanInspect.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param showError boolean diff --git a/api/CanItemBeSocketedToArtifact.lua b/api/CanItemBeSocketedToArtifact.lua index 53a5921..ebe4d3e 100644 --- a/api/CanItemBeSocketedToArtifact.lua +++ b/api/CanItemBeSocketedToArtifact.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CanItemBeSocketedToArtifact() end diff --git a/api/CanJoinBattlefieldAsGroup.lua b/api/CanJoinBattlefieldAsGroup.lua index e5097d6..7b3c75c 100644 --- a/api/CanJoinBattlefieldAsGroup.lua +++ b/api/CanJoinBattlefieldAsGroup.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canGroupJoin ---Returns whether the battleground for which the player is queueing supports joining as a group diff --git a/api/CanLootUnit.lua b/api/CanLootUnit.lua index 3318283..f97fda5 100644 --- a/api/CanLootUnit.lua +++ b/api/CanLootUnit.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CanLootUnit() end diff --git a/api/CanMapChangeDifficulty.lua b/api/CanMapChangeDifficulty.lua index d1c30cc..0da6efa 100644 --- a/api/CanMapChangeDifficulty.lua +++ b/api/CanMapChangeDifficulty.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CanMapChangeDifficulty() end diff --git a/api/CanMerchantRepair.lua b/api/CanMerchantRepair.lua index 675cbe2..d67c8c4 100644 --- a/api/CanMerchantRepair.lua +++ b/api/CanMerchantRepair.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canRepair ---Returns whether the vendor with whom the player is currently interacting can repair equipment diff --git a/api/CanPartyLFGBackfill.lua b/api/CanPartyLFGBackfill.lua index 940afe7..71f19e3 100644 --- a/api/CanPartyLFGBackfill.lua +++ b/api/CanPartyLFGBackfill.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CanPartyLFGBackfill() end diff --git a/api/CanQueueForWintergrasp.lua b/api/CanQueueForWintergrasp.lua index f6c0a7b..5492b08 100644 --- a/api/CanQueueForWintergrasp.lua +++ b/api/CanQueueForWintergrasp.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean canQueue ---Returns whether the player can queue for Wintergrasp diff --git a/api/CanReplaceGuildMaster.lua b/api/CanReplaceGuildMaster.lua index 4007758..570444f 100644 --- a/api/CanReplaceGuildMaster.lua +++ b/api/CanReplaceGuildMaster.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CanReplaceGuildMaster() end diff --git a/api/CanResetTutorials.lua b/api/CanResetTutorials.lua index fcfeb37..5f094cd 100644 --- a/api/CanResetTutorials.lua +++ b/api/CanResetTutorials.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CanResetTutorials() end diff --git a/api/CanSendAuctionQuery.lua b/api/CanSendAuctionQuery.lua index c20c4a4..f1ed1f5 100644 --- a/api/CanSendAuctionQuery.lua +++ b/api/CanSendAuctionQuery.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param list owner ---@param bidder diff --git a/api/CanShowAchievementUI.lua b/api/CanShowAchievementUI.lua index fc53cd8..42b73c8 100644 --- a/api/CanShowAchievementUI.lua +++ b/api/CanShowAchievementUI.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean canShow ---Returns whether the Achievements UI should be enabled. Used by the default UI to determine whether to show or hide the menu button for Achievements (as it also does for Talents); currently always returns true. diff --git a/api/CanShowResetInstances.lua b/api/CanShowResetInstances.lua index 23a3f17..d3470d2 100644 --- a/api/CanShowResetInstances.lua +++ b/api/CanShowResetInstances.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canResetInstances ---Returns whether the player can reset instances. Used to determine whether to display the "Reset Instance" option in the unit popup menu for the player. Only instances to which the player is not saved may be reset (i.e. normal 5-man dungeons, not heroic dungeons or raids), and only by a solo player or group leader. diff --git a/api/CanSignPetition.lua b/api/CanSignPetition.lua index af8b77d..9e40579 100644 --- a/api/CanSignPetition.lua +++ b/api/CanSignPetition.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canSign ---Returns whether the player can sign the currently offered petition. Petitions can only be signed once per account, rather than once per character. diff --git a/api/CanSolveArtifact.lua b/api/CanSolveArtifact.lua index 51979f5..8994364 100644 --- a/api/CanSolveArtifact.lua +++ b/api/CanSolveArtifact.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canSolve ---Returns whether the player can solve the selected artifact. diff --git a/api/CanSummonFriend.lua b/api/CanSummonFriend.lua index 4b69b7d..e71aaeb 100644 --- a/api/CanSummonFriend.lua +++ b/api/CanSummonFriend.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param unit string diff --git a/api/CanSwitchVehicleSeat.lua b/api/CanSwitchVehicleSeat.lua index 2962b12..34ebd97 100644 --- a/api/CanSwitchVehicleSeat.lua +++ b/api/CanSwitchVehicleSeat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean canSwitch ---Returns whether the player can change vehicle seats. Tells you if the player can switch seats in general, whereas UnitVehicleSeatInfo() tells you if the player can switch into a specific seat. diff --git a/api/CanSwitchVehicleSeats.lua b/api/CanSwitchVehicleSeats.lua index 2246424..4505d66 100644 --- a/api/CanSwitchVehicleSeats.lua +++ b/api/CanSwitchVehicleSeats.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canSwitch ---Returns whether the player is in a vehicle with multiple seats diff --git a/api/CanTrackBattlePets.lua b/api/CanTrackBattlePets.lua index d83d574..48b9516 100644 --- a/api/CanTrackBattlePets.lua +++ b/api/CanTrackBattlePets.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CanTrackBattlePets() end diff --git a/api/CanTransmogrifyItemWithItem.lua b/api/CanTransmogrifyItemWithItem.lua index a1befde..d2d228b 100644 --- a/api/CanTransmogrifyItemWithItem.lua +++ b/api/CanTransmogrifyItemWithItem.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CanTransmogrifyItemWithItem() end diff --git a/api/CanUpgradeExpansion.lua b/api/CanUpgradeExpansion.lua index 9079479..1fef81a 100644 --- a/api/CanUpgradeExpansion.lua +++ b/api/CanUpgradeExpansion.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns true if the user is not on the latest expansion function CanUpgradeExpansion() end diff --git a/api/CanUseEquipmentSets.lua b/api/CanUseEquipmentSets.lua index 5ce932d..f02aca1 100644 --- a/api/CanUseEquipmentSets.lua +++ b/api/CanUseEquipmentSets.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean enabled ---Returns whether the player has enabled the equipment manager. Despite the name, this returns true when the player has enabled the use of the equipment manager through the interface or CVars. diff --git a/api/CanUseVoidStorage.lua b/api/CanUseVoidStorage.lua index f936c26..c1760ca 100644 --- a/api/CanUseVoidStorage.lua +++ b/api/CanUseVoidStorage.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CanUseVoidStorage() end diff --git a/api/CanViewGuildRecipes.lua b/api/CanViewGuildRecipes.lua index a2a5acf..2e2a676 100644 --- a/api/CanViewGuildRecipes.lua +++ b/api/CanViewGuildRecipes.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CanViewGuildRecipes() end diff --git a/api/CanViewOfficerNote.lua b/api/CanViewOfficerNote.lua index 4c47df7..3feb028 100644 --- a/api/CanViewOfficerNote.lua +++ b/api/CanViewOfficerNote.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canView ---Returns whether the player is allowed to view guild officer notes diff --git a/api/CanWithdrawGuildBankMoney.lua b/api/CanWithdrawGuildBankMoney.lua index 6ac2d8d..b97d576 100644 --- a/api/CanWithdrawGuildBankMoney.lua +++ b/api/CanWithdrawGuildBankMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canWithdraw ---Returns whether the player is allowed to withdraw money from the guild bank diff --git a/api/CancelAreaSpiritHeal.lua b/api/CancelAreaSpiritHeal.lua index 2602635..c968c8e 100644 --- a/api/CancelAreaSpiritHeal.lua +++ b/api/CancelAreaSpiritHeal.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Declines the next upcoming periodic resurrection from a battleground spirit healer. Usable in response to the AREA_SPIRIT_HEALER_IN_RANGE event which fires when the player's ghost is near a battleground spirit healer. function CancelAreaSpiritHeal() end diff --git a/api/CancelAuction.lua b/api/CancelAuction.lua index 29a7e98..6fb6a6e 100644 --- a/api/CancelAuction.lua +++ b/api/CancelAuction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Cancels an auction created by the player. When canceling an auction, the deposit amount is not refunded. diff --git a/api/CancelBarberShop.lua b/api/CancelBarberShop.lua index c2c6526..330b52f 100644 --- a/api/CancelBarberShop.lua +++ b/api/CancelBarberShop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Exits a barber shop session. Causes the player character to stand up, returning to the normal world, and fires the BARBER_SHOP_CLOSE event. Any style changes already paid for (with ApplyBarberShopStyle()) are kept; any changes since are discarded. function CancelBarberShop() end diff --git a/api/CancelDuel.lua b/api/CancelDuel.lua index 3d3885e..5f3f9f1 100644 --- a/api/CancelDuel.lua +++ b/api/CancelDuel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Cancels an ongoing duel, or declines an offered duel function CancelDuel() end diff --git a/api/CancelEmote.lua b/api/CancelEmote.lua index 54d1c42..40c576e 100644 --- a/api/CancelEmote.lua +++ b/api/CancelEmote.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CancelEmote() end diff --git a/api/CancelGuildMembershipRequest.lua b/api/CancelGuildMembershipRequest.lua index 0bdd213..f229e40 100644 --- a/api/CancelGuildMembershipRequest.lua +++ b/api/CancelGuildMembershipRequest.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CancelGuildMembershipRequest() end diff --git a/api/CancelItemTempEnchantment.lua b/api/CancelItemTempEnchantment.lua index 75d0392..90a10b7 100644 --- a/api/CancelItemTempEnchantment.lua +++ b/api/CancelItemTempEnchantment.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---Cancels a temporary weapon enchant. Examples of temporary enchants include mana oils, sharpening stones, and Shaman weapon enhancements. diff --git a/api/CancelLogout.lua b/api/CancelLogout.lua index 9001188..d55b34a 100644 --- a/api/CancelLogout.lua +++ b/api/CancelLogout.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Cancels a pending logout or quit. Only has effect if logout or quit is pending (following the PLAYER_CAMPING or PLAYER_QUITING event). function CancelLogout() end diff --git a/api/CancelMasterLootRoll.lua b/api/CancelMasterLootRoll.lua index 0cc68f9..9175bbd 100644 --- a/api/CancelMasterLootRoll.lua +++ b/api/CancelMasterLootRoll.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CancelMasterLootRoll() end diff --git a/api/CancelPendingEquip.lua b/api/CancelPendingEquip.lua index d7542af..866d3a7 100644 --- a/api/CancelPendingEquip.lua +++ b/api/CancelPendingEquip.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Cancels equipping a bind-on-equip item. When the player attempts to equip a bind-on-equip item, the default UI displays a dialog warning that equipping the item will cause it to become soulbound; this function is called when canceling that dialog. diff --git a/api/CancelPreloadingMovie.lua b/api/CancelPreloadingMovie.lua index 3239352..e5f5d66 100644 --- a/api/CancelPreloadingMovie.lua +++ b/api/CancelPreloadingMovie.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CancelPreloadingMovie() end diff --git a/api/CancelSell.lua b/api/CancelSell.lua index 1fa0815..f0f18a6 100644 --- a/api/CancelSell.lua +++ b/api/CancelSell.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CancelSell() end diff --git a/api/CancelShapeshiftForm.lua b/api/CancelShapeshiftForm.lua index 7ae529b..bfe6b37 100644 --- a/api/CancelShapeshiftForm.lua +++ b/api/CancelShapeshiftForm.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Cancels the current shapeshift form. Unlike other Shapeshift APIs, this function refers specifically to shapeshifting -- therefore including some abilities not found on the default UI's ShapeshiftBar and excluding some which are. For example, cancels shaman Ghost Wolf form and druid shapeshifts but not warrior stances, paladin auras, or rogue stealth. function CancelShapeshiftForm() end diff --git a/api/CancelSummon.lua b/api/CancelSummon.lua index 99e446b..20cf804 100644 --- a/api/CancelSummon.lua +++ b/api/CancelSummon.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Declines an offered summons. Usable between when the CONFIRM_SUMMON event fires (due to a summoning spell cast by another player) and when the value returned by GetSummonConfirmTimeLeft() reaches zero. function CancelSummon() end diff --git a/api/CancelTrade.lua b/api/CancelTrade.lua index 97c466e..8b928b8 100644 --- a/api/CancelTrade.lua +++ b/api/CancelTrade.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Cancels a trade in progress. Can be used if either party has accepted the trade, but not once both have. function CancelTrade() end diff --git a/api/CancelTradeAccept.lua b/api/CancelTradeAccept.lua index e18f6e8..03f3611 100644 --- a/api/CancelTradeAccept.lua +++ b/api/CancelTradeAccept.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Cancels the player's acceptance of a trade. If the player has accepted the trade but the target has not, reverts the player to the pre-acceptance state but does not end the trade. function CancelTradeAccept() end diff --git a/api/CancelUnitBuff.lua b/api/CancelUnitBuff.lua index 3b56e1e..c350f7c 100644 --- a/api/CancelUnitBuff.lua +++ b/api/CancelUnitBuff.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@alias auraFilter ---| 'RAID' diff --git a/api/CastGlyph.lua b/api/CastGlyph.lua index bfb187d..5d36ddb 100644 --- a/api/CastGlyph.lua +++ b/api/CastGlyph.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CastGlyph() end diff --git a/api/CastGlyphByID.lua b/api/CastGlyphByID.lua index 19c7d34..0cbfaaf 100644 --- a/api/CastGlyphByID.lua +++ b/api/CastGlyphByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CastGlyphByID() end diff --git a/api/CastGlyphByName.lua b/api/CastGlyphByName.lua index 34a3c8f..a7e44eb 100644 --- a/api/CastGlyphByName.lua +++ b/api/CastGlyphByName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CastGlyphByName() end diff --git a/api/CastPetAction.lua b/api/CastPetAction.lua index 4b3e8cf..f57a3c7 100644 --- a/api/CastPetAction.lua +++ b/api/CastPetAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param unit string diff --git a/api/CastShapeshiftForm.lua b/api/CastShapeshiftForm.lua index 7e41d2e..d5fd409 100644 --- a/api/CastShapeshiftForm.lua +++ b/api/CastShapeshiftForm.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Casts an ability on the stance/shapeshift bar diff --git a/api/CastSpell.lua b/api/CastSpell.lua index 9c1953f..0404e41 100644 --- a/api/CastSpell.lua +++ b/api/CastSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@param bookType spell diff --git a/api/CastSpellByID.lua b/api/CastSpellByID.lua index 0a2a165..d4d5fa5 100644 --- a/api/CastSpellByID.lua +++ b/api/CastSpellByID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param spellID number ---@param target string diff --git a/api/CastSpellByName.lua b/api/CastSpellByName.lua index 44b41ba..bbac374 100644 --- a/api/CastSpellByName.lua +++ b/api/CastSpellByName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param target string diff --git a/api/ChangeActionBarPage.lua b/api/ChangeActionBarPage.lua index ce04632..4d34dc6 100644 --- a/api/ChangeActionBarPage.lua +++ b/api/ChangeActionBarPage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param page number ---Changes the current action bar page diff --git a/api/ChangeChatColor.lua b/api/ChangeChatColor.lua index 3ee1254..002f3e6 100644 --- a/api/ChangeChatColor.lua +++ b/api/ChangeChatColor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param messageGroup string ---@param red number diff --git a/api/ChannelBan.lua b/api/ChannelBan.lua index 99a3fc7..770fedb 100644 --- a/api/ChannelBan.lua +++ b/api/ChannelBan.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel string ---@param fullname string diff --git a/api/ChannelInvite.lua b/api/ChannelInvite.lua index 2b09c46..96df421 100644 --- a/api/ChannelInvite.lua +++ b/api/ChannelInvite.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel string ---@param name string diff --git a/api/ChannelKick.lua b/api/ChannelKick.lua index ca4f25f..76e2c6d 100644 --- a/api/ChannelKick.lua +++ b/api/ChannelKick.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel string ---@param fullname string diff --git a/api/ChannelModerator.lua b/api/ChannelModerator.lua index 9802ebe..b002dac 100644 --- a/api/ChannelModerator.lua +++ b/api/ChannelModerator.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel string ---@param fullname string diff --git a/api/ChannelMute.lua b/api/ChannelMute.lua index 2fb164d..a6c0e7e 100644 --- a/api/ChannelMute.lua +++ b/api/ChannelMute.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channelName string ---@param channelId number diff --git a/api/ChannelSilenceAll.lua b/api/ChannelSilenceAll.lua index db3848b..fbae791 100644 --- a/api/ChannelSilenceAll.lua +++ b/api/ChannelSilenceAll.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channelName string ---@param channelId number diff --git a/api/ChannelSilenceVoice.lua b/api/ChannelSilenceVoice.lua index 3579ee2..f490d7f 100644 --- a/api/ChannelSilenceVoice.lua +++ b/api/ChannelSilenceVoice.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channelName string ---@param channelId number diff --git a/api/ChannelToggleAnnouncements.lua b/api/ChannelToggleAnnouncements.lua index e7f1505..7cfd952 100644 --- a/api/ChannelToggleAnnouncements.lua +++ b/api/ChannelToggleAnnouncements.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel string ---Enables or disables printing of join/leave announcements for a channel diff --git a/api/ChannelUnSilenceAll.lua b/api/ChannelUnSilenceAll.lua index cd3270e..6326c6c 100644 --- a/api/ChannelUnSilenceAll.lua +++ b/api/ChannelUnSilenceAll.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channelName string ---@param channelId number diff --git a/api/ChannelUnSilenceVoice.lua b/api/ChannelUnSilenceVoice.lua index 2f0f2c9..fcad59d 100644 --- a/api/ChannelUnSilenceVoice.lua +++ b/api/ChannelUnSilenceVoice.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channelName string ---@param channelId number diff --git a/api/ChannelUnban.lua b/api/ChannelUnban.lua index b5be5ac..078b8f0 100644 --- a/api/ChannelUnban.lua +++ b/api/ChannelUnban.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel string ---@param fullname string diff --git a/api/ChannelUnmoderator.lua b/api/ChannelUnmoderator.lua index cf0ae7c..2915697 100644 --- a/api/ChannelUnmoderator.lua +++ b/api/ChannelUnmoderator.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel string ---@param fullname string diff --git a/api/ChannelUnmute.lua b/api/ChannelUnmute.lua index 43cda74..3b94fde 100644 --- a/api/ChannelUnmute.lua +++ b/api/ChannelUnmute.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channelName string ---@param channelId number diff --git a/api/ChannelVoiceOff.lua b/api/ChannelVoiceOff.lua index db21f3e..f61de3a 100644 --- a/api/ChannelVoiceOff.lua +++ b/api/ChannelVoiceOff.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel string ---@param channelIndex number diff --git a/api/ChannelVoiceOn.lua b/api/ChannelVoiceOn.lua index ce46c96..312be30 100644 --- a/api/ChannelVoiceOn.lua +++ b/api/ChannelVoiceOn.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel string ---@param channelIndex number diff --git a/api/ChatFrame_AddMessageEventFilter.lua b/api/ChatFrame_AddMessageEventFilter.lua index c1724c0..9fb2f21 100644 --- a/api/ChatFrame_AddMessageEventFilter.lua +++ b/api/ChatFrame_AddMessageEventFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param event string ---@param filter function diff --git a/api/ChatFrame_GetMessageEventFilters.lua b/api/ChatFrame_GetMessageEventFilters.lua index b0c0a6b..ac5382e 100644 --- a/api/ChatFrame_GetMessageEventFilters.lua +++ b/api/ChatFrame_GetMessageEventFilters.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param event string ---@return table filterTable diff --git a/api/ChatFrame_RemoveMessageEventFilter.lua b/api/ChatFrame_RemoveMessageEventFilter.lua index 6ac6604..54fad01 100644 --- a/api/ChatFrame_RemoveMessageEventFilter.lua +++ b/api/ChatFrame_RemoveMessageEventFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param event string ---@param filter function diff --git a/api/ChatHistory_GetAccessID.lua b/api/ChatHistory_GetAccessID.lua index 4406d19..3a4e48e 100644 --- a/api/ChatHistory_GetAccessID.lua +++ b/api/ChatHistory_GetAccessID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param chatType string ---@param chatTarget string diff --git a/api/ChatHistory_GetChatType.lua b/api/ChatHistory_GetChatType.lua index d83caa5..48e67ec 100644 --- a/api/ChatHistory_GetChatType.lua +++ b/api/ChatHistory_GetChatType.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param accessID number ---@return string chatType diff --git a/api/CheckBinderDist.lua b/api/CheckBinderDist.lua index e43dcc4..b428970 100644 --- a/api/CheckBinderDist.lua +++ b/api/CheckBinderDist.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil inRange ---Returns whether the player is in range of an NPC that can set the Hearthstone location. Usable following the CONFIRM_BINDER event which fires when the player speaks to an Innkeeper (or similar) NPC and chooses to set his or her Hearthstone location. Used in the default UI to hide the confirmation window for such if the player moves too far away from the NPC. diff --git a/api/CheckInbox.lua b/api/CheckInbox.lua index 1edd4bb..50532ad 100644 --- a/api/CheckInbox.lua +++ b/api/CheckInbox.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests information on the player's mailbox contents from the server. Information is not returned immediately; the MAIL_INBOX_UPDATE event fires when data becomes available for use by other Mail/Inbox API functions. function CheckInbox() end diff --git a/api/CheckInteractDistance.lua b/api/CheckInteractDistance.lua index 0dcad90..dfcae2f 100644 --- a/api/CheckInteractDistance.lua +++ b/api/CheckInteractDistance.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param distIndex 4 diff --git a/api/CheckSpiritHealerDist.lua b/api/CheckSpiritHealerDist.lua index 68ccd81..1cbc29a 100644 --- a/api/CheckSpiritHealerDist.lua +++ b/api/CheckSpiritHealerDist.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil inRange ---Returns whether the player is in range of a spirit healer. Usable following the CONFIRM_XP_LOSS event which fires upon speaking to a spirit healer while dead and choosing the option to immediately resurrect. Used in the default UI to hide the confirmation window for such if the player moves too far away from the spirit healer. diff --git a/api/CheckTalentMasterDist.lua b/api/CheckTalentMasterDist.lua index a59c63a..c7fa6de 100644 --- a/api/CheckTalentMasterDist.lua +++ b/api/CheckTalentMasterDist.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil inRange ---Returns whether the player is in range of an NPC that can reset talents. Usable following the CONFIRM_TALENT_WIPE event which fires when the player speaks to an trainer NPC and chooses to reset his or her talents. Used in the default UI to hide the confirmation window for such if the player moves too far away from the NPC. diff --git a/api/ClearAchievementComparisonUnit.lua b/api/ClearAchievementComparisonUnit.lua index 463a235..221562d 100644 --- a/api/ClearAchievementComparisonUnit.lua +++ b/api/ClearAchievementComparisonUnit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Disables comparing achievements/statistics with another player function ClearAchievementComparisonUnit() end diff --git a/api/ClearAllLFGDungeons.lua b/api/ClearAllLFGDungeons.lua index f2b01e7..15f8ed3 100644 --- a/api/ClearAllLFGDungeons.lua +++ b/api/ClearAllLFGDungeons.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Removes the player from all LFD queues. function ClearAllLFGDungeons() end diff --git a/api/ClearAllTracking.lua b/api/ClearAllTracking.lua index bdac15d..7f0c0fb 100644 --- a/api/ClearAllTracking.lua +++ b/api/ClearAllTracking.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ClearAllTracking() end diff --git a/api/ClearAutoAcceptQuestSound.lua b/api/ClearAutoAcceptQuestSound.lua index eebd0ed..2d77ecd 100644 --- a/api/ClearAutoAcceptQuestSound.lua +++ b/api/ClearAutoAcceptQuestSound.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ClearAutoAcceptQuestSound() end diff --git a/api/ClearBlacklistMap.lua b/api/ClearBlacklistMap.lua index 46675a3..9027917 100644 --- a/api/ClearBlacklistMap.lua +++ b/api/ClearBlacklistMap.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param BGMapID number ---Remove battleground from blacklist. diff --git a/api/ClearCursor.lua b/api/ClearCursor.lua index 2847531..7af6747 100644 --- a/api/ClearCursor.lua +++ b/api/ClearCursor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Clears any contents attached to the cursor. If the cursor contains an item picked up from inventory (equipment slots) or a container, the item returns to its point of origin and the inventory or container slot is unlocked. (To destroy an item, see DeleteCursorItem()). If the cursor contains an action, that action is deleted (but not the spell, item, macro, etc that it represents). If the cursor contains any other data type, nothing happens other than the cursor being reverted to its default state -- picking up such objects has no effect on their points of origin. function ClearCursor() end diff --git a/api/ClearFocus.lua b/api/ClearFocus.lua index 44ff7b3..6f0cb13 100644 --- a/api/ClearFocus.lua +++ b/api/ClearFocus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Clears the player's focus unit function ClearFocus() end diff --git a/api/ClearInspectPlayer.lua b/api/ClearInspectPlayer.lua index 85c0909..0624091 100644 --- a/api/ClearInspectPlayer.lua +++ b/api/ClearInspectPlayer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends inspection of another character. After this function is called, data about the inspected unit may not be available or valid. Used in the default UI when the InspectFrame is hidden. function ClearInspectPlayer() end diff --git a/api/ClearItemUpgrade.lua b/api/ClearItemUpgrade.lua index 39076a5..ca05537 100644 --- a/api/ClearItemUpgrade.lua +++ b/api/ClearItemUpgrade.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Removes the item from the upgrade dialog. This function can currently only be called when at the upgrade merchant function ClearItemUpgrade() end diff --git a/api/ClearMissingLootDisplay.lua b/api/ClearMissingLootDisplay.lua index 4605951..739116c 100644 --- a/api/ClearMissingLootDisplay.lua +++ b/api/ClearMissingLootDisplay.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ClearMissingLootDisplay() end diff --git a/api/ClearOverrideBindings.lua b/api/ClearOverrideBindings.lua index b6178cd..098dbfc 100644 --- a/api/ClearOverrideBindings.lua +++ b/api/ClearOverrideBindings.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner table ---Clears any registered override bindings for a given owner. An override binding is a temporary key or click binding that can be used to override the default bindings. The bound key will revert to its normal setting once the override has been removed. diff --git a/api/ClearPartyAssignment.lua b/api/ClearPartyAssignment.lua index 6e9c838..5476c29 100644 --- a/api/ClearPartyAssignment.lua +++ b/api/ClearPartyAssignment.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param assignment MAINTANK ---@param MAINASSIST diff --git a/api/ClearRaidMarker.lua b/api/ClearRaidMarker.lua index 870f62d..31d50b1 100644 --- a/api/ClearRaidMarker.lua +++ b/api/ClearRaidMarker.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ClearRaidMarker() end diff --git a/api/ClearSendMail.lua b/api/ClearSendMail.lua index 624bdbe..0de6f30 100644 --- a/api/ClearSendMail.lua +++ b/api/ClearSendMail.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Clears any text, items, or money from the mail to be sent function ClearSendMail() end diff --git a/api/ClearTarget.lua b/api/ClearTarget.lua index c98dcfa..025c648 100644 --- a/api/ClearTarget.lua +++ b/api/ClearTarget.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Clears the player's current target function ClearTarget() end diff --git a/api/ClearTransmogrifySlot.lua b/api/ClearTransmogrifySlot.lua index 427287e..445320c 100644 --- a/api/ClearTransmogrifySlot.lua +++ b/api/ClearTransmogrifySlot.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ClearTransmogrifySlot() end diff --git a/api/ClearTutorials.lua b/api/ClearTutorials.lua index 70fb609..0110805 100644 --- a/api/ClearTutorials.lua +++ b/api/ClearTutorials.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Disables contextual tutorial display function ClearTutorials() end diff --git a/api/ClearVoidTransferDepositSlot.lua b/api/ClearVoidTransferDepositSlot.lua index 03d51d2..1186b3e 100644 --- a/api/ClearVoidTransferDepositSlot.lua +++ b/api/ClearVoidTransferDepositSlot.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ClearVoidTransferDepositSlot() end diff --git a/api/ClickAuctionSellItemButton.lua b/api/ClickAuctionSellItemButton.lua index 0e28890..046989d 100644 --- a/api/ClickAuctionSellItemButton.lua +++ b/api/ClickAuctionSellItemButton.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Picks up an item from or puts an item into the "Create Auction" slot. If the cursor is empty and the slot contains an item, that item is put onto the cursor. If the cursor contains an item and the slot is empty, the item is placed into the slot. If both the cursor and the slot contain items, the contents of the cursor and the slot are exchanged. Only has effect if the player is interacting with an auctioneer (i.e. between the AUCTION_HOUSE_SHOW and AUCTION_HOUSE_CLOSED events). Causes an error message (UI_ERROR_MESSAGE) if the item on the cursor cannot be put up for auction (e.g. if the item is soulbound). function ClickAuctionSellItemButton() end diff --git a/api/ClickLandmark.lua b/api/ClickLandmark.lua index 82bcf3d..e13d60f 100644 --- a/api/ClickLandmark.lua +++ b/api/ClickLandmark.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param mapLinkID number ---Processes a hyperlink associated with a map landmark. Possible landmarks include PvP objectives (both in battlegrounds and in world PvP areas), town and city markers on continent maps, and special markers such as those used during the Scourge Invasion world event. Some landmarks (such as those for towns on a zone map) exist but are not visible in the default UI. Hyperlinks are not used for any of the landmarks currently in the game; this function does nothing when called with a landmark which does not have a hyperlink. diff --git a/api/ClickSendMailItemButton.lua b/api/ClickSendMailItemButton.lua index 472caa9..2f4b356 100644 --- a/api/ClickSendMailItemButton.lua +++ b/api/ClickSendMailItemButton.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param autoReturn boolean diff --git a/api/ClickSocketButton.lua b/api/ClickSocketButton.lua index 4c55c4f..6bbae51 100644 --- a/api/ClickSocketButton.lua +++ b/api/ClickSocketButton.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Picks up or places a gem in the Item Socketing UI. If the Item Socketing UI is open and the cursor contains a socketable gem, places the gem into socket index. If the cursor does not hold an item and socket index is not locked, picks up the gem in that socket. Only has an effect while the Item Socketing UI is open (i.e. between the SOCKET_INFO_UPDATE and SOCKET_INFO_CLOSE events). diff --git a/api/ClickTargetTradeButton.lua b/api/ClickTargetTradeButton.lua index 4b0d0ed..86e95ff 100644 --- a/api/ClickTargetTradeButton.lua +++ b/api/ClickTargetTradeButton.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Interacts with an item in a slot offered for trade by the target. Only meaningful when used with the last (7th) trade slot: if an enchantment-type spell is currently awaiting a target (i.e. the glowing hand cursor is showing), targets the item in the given trade slot for the enchantment. (The enchantment to be applied then shows for both parties in the trade, but is not actually performed until both parties accept the trade.) diff --git a/api/ClickTradeButton.lua b/api/ClickTradeButton.lua index 0ff2390..dca7d61 100644 --- a/api/ClickTradeButton.lua +++ b/api/ClickTradeButton.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Picks up an item from or puts an item in a slot offered for trade by the player. Results vary by context: If an item is on the cursor and no item is in the trade slot, the item is put into the trade slot and the cursor becomes empty If no item is on the cursor and an item is in the trade slot, the item is put on the cursor and removed from the trade slot If an item is on the cursor and an item is in the trade slot, the item from the cursor is put into the trade slot and the item from the trade slot is put on the cursor If both cursor and trade slot are empty, nothing happens diff --git a/api/ClickTransmogrifySlot.lua b/api/ClickTransmogrifySlot.lua index 6fe7fcb..2e988f9 100644 --- a/api/ClickTransmogrifySlot.lua +++ b/api/ClickTransmogrifySlot.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ClickTransmogrifySlot() end diff --git a/api/ClickVoidStorageSlot.lua b/api/ClickVoidStorageSlot.lua index 1b1fcbb..c80b594 100644 --- a/api/ClickVoidStorageSlot.lua +++ b/api/ClickVoidStorageSlot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param isRightClick 1nil diff --git a/api/ClickVoidTransferDepositSlot.lua b/api/ClickVoidTransferDepositSlot.lua index cffbc69..5dcddad 100644 --- a/api/ClickVoidTransferDepositSlot.lua +++ b/api/ClickVoidTransferDepositSlot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param isRightClick 1nil diff --git a/api/ClickVoidTransferWithdrawalSlot.lua b/api/ClickVoidTransferWithdrawalSlot.lua index 984c8f9..64c3f40 100644 --- a/api/ClickVoidTransferWithdrawalSlot.lua +++ b/api/ClickVoidTransferWithdrawalSlot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param isRightClick 1nil diff --git a/api/CloseAuctionHouse.lua b/api/CloseAuctionHouse.lua index a203723..65ea262 100644 --- a/api/CloseAuctionHouse.lua +++ b/api/CloseAuctionHouse.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with the Auction House UI. Causes the AUCTION_HOUSE_CLOSED event to fire, indicating that Auction-related APIs may be unavailable or no longer return valid data. function CloseAuctionHouse() end diff --git a/api/CloseBankFrame.lua b/api/CloseBankFrame.lua index f1b1ece..78b9afa 100644 --- a/api/CloseBankFrame.lua +++ b/api/CloseBankFrame.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with the bank. Causes the BANKFRAME_CLOSED event to fire, indicating that APIs querying bank contents may no longer return valid results. function CloseBankFrame() end diff --git a/api/CloseGossip.lua b/api/CloseGossip.lua index 2d18fae..c8435df 100644 --- a/api/CloseGossip.lua +++ b/api/CloseGossip.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends an NPC "gossip" interaction. Causes the GOSSIP_CLOSED event to fire, indicating that Gossip APIs may no longer have effects or return valid data. function CloseGossip() end diff --git a/api/CloseGuildBankFrame.lua b/api/CloseGuildBankFrame.lua index 96a2380..547e8c6 100644 --- a/api/CloseGuildBankFrame.lua +++ b/api/CloseGuildBankFrame.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with the guild bank vault. Fires the GUILDBANKFRAME_CLOSED event, indicating that APIs related to the Guild Bank vault may no longer have effects or return valid data. (APIs related to guild bank permissions are still usable.) function CloseGuildBankFrame() end diff --git a/api/CloseGuildRegistrar.lua b/api/CloseGuildRegistrar.lua index 7fb2c28..286d2bd 100644 --- a/api/CloseGuildRegistrar.lua +++ b/api/CloseGuildRegistrar.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with a guild registrar. Fires the GUILD_REGISTRAR_CLOSED event, indicating that guild registrar APIs may no longer have effects or return valid data. function CloseGuildRegistrar() end diff --git a/api/CloseGuildRoster.lua b/api/CloseGuildRoster.lua index 98e9242..d82254b 100644 --- a/api/CloseGuildRoster.lua +++ b/api/CloseGuildRoster.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CloseGuildRoster() end diff --git a/api/CloseItemText.lua b/api/CloseItemText.lua index a9936cd..996a84e 100644 --- a/api/CloseItemText.lua +++ b/api/CloseItemText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with a text object or item. Causes the ITEM_TEXT_CLOSED event to fire, indicating that ItemText APIs are no longer valid. Called by the default UI when closing the ItemTextFrame, which is used for both readable world objects (books, plaques, gravestones, etc) and readable items (looted books, various quest-related scrolls and parchments, saved mail messages, etc). function CloseItemText() end diff --git a/api/CloseItemUpgrade.lua b/api/CloseItemUpgrade.lua index 2a0f38d..27dcd81 100644 --- a/api/CloseItemUpgrade.lua +++ b/api/CloseItemUpgrade.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CloseItemUpgrade() end diff --git a/api/CloseLoot.lua b/api/CloseLoot.lua index 34b7da2..f5bab51 100644 --- a/api/CloseLoot.lua +++ b/api/CloseLoot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with a lootable corpse or object. Causes the LOOT_CLOSED event to fire, indicating that Loot APIs may no longer have effects or return valid data. If the corpse was designated as the player's loot (via the Round Robin, Group Loot, or Need Before Greed loot methods), the corpse's loot becomes available to the rest of the group. If (and only if) the loot was generated from Disenchanting, Prospecting, Milling or similar, all loot items are automatically picked up. function CloseLoot() end diff --git a/api/CloseMail.lua b/api/CloseMail.lua index 0887b13..888e4e6 100644 --- a/api/CloseMail.lua +++ b/api/CloseMail.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with a mailbox. Fires the MAIL_CLOSED event, indicating that Mail/Inbox APIs may no longer have effects or return valid data. function CloseMail() end diff --git a/api/CloseMerchant.lua b/api/CloseMerchant.lua index 603b477..c5ebd8d 100644 --- a/api/CloseMerchant.lua +++ b/api/CloseMerchant.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with a vendor. Causes the MERCHANT_CLOSED event to fire, indicating that Merchant APIs may no longer have effects or return valid data. function CloseMerchant() end diff --git a/api/ClosePetStables.lua b/api/ClosePetStables.lua index b6aabf2..88efd4b 100644 --- a/api/ClosePetStables.lua +++ b/api/ClosePetStables.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends use of the Pet Stables UI/API. Causes the PET_STABLE_CLOSED event to fire, indicating that stables-related APIs are no longer valid. function ClosePetStables() end diff --git a/api/ClosePetition.lua b/api/ClosePetition.lua index db9f997..4f89669 100644 --- a/api/ClosePetition.lua +++ b/api/ClosePetition.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with a petition. Fires the PETITION_CLOSED event, indicating that Petition APIs may no longer have effects or return valid data. function ClosePetition() end diff --git a/api/CloseQuest.lua b/api/CloseQuest.lua index bdfebda..911b999 100644 --- a/api/CloseQuest.lua +++ b/api/CloseQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with a questgiver. Fires the QUEST_FINISHED event, indicating that questgiver-related APIs may no longer have effects or return valid data. function CloseQuest() end diff --git a/api/CloseQuestChoice.lua b/api/CloseQuestChoice.lua index 2b3b3e6..94e932e 100644 --- a/api/CloseQuestChoice.lua +++ b/api/CloseQuestChoice.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CloseQuestChoice() end diff --git a/api/CloseSocketInfo.lua b/api/CloseSocketInfo.lua index 70322a4..0a66f63 100644 --- a/api/CloseSocketInfo.lua +++ b/api/CloseSocketInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with the Item Socketing UI, discarding any changes made. Causes the SOCKET_INFO_CLOSE event to fire, indicating that Socket API functions may no longer have effects or return valid data. function CloseSocketInfo() end diff --git a/api/CloseTabardCreation.lua b/api/CloseTabardCreation.lua index 1872641..766fa37 100644 --- a/api/CloseTabardCreation.lua +++ b/api/CloseTabardCreation.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with the guild tabard creator. Fires the CLOSE_TABARD_FRAME event, indicating that tabard creation APIs may no longer have effects or return valid data. function CloseTabardCreation() end diff --git a/api/CloseTaxiMap.lua b/api/CloseTaxiMap.lua index b43a930..312081f 100644 --- a/api/CloseTaxiMap.lua +++ b/api/CloseTaxiMap.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with the Taxi (flight master) UI. Causes the TAXIMAP_CLOSED event to fire, indicating that Taxi APIs may no longer have effects or return valid data. function CloseTaxiMap() end diff --git a/api/CloseTrade.lua b/api/CloseTrade.lua index 1fa25e6..a8ad946 100644 --- a/api/CloseTrade.lua +++ b/api/CloseTrade.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with the Trade UI, canceling any trade in progress. Causes the TRADE_CLOSED event to fire, indicating that Trade APIs may no longer have effects or return valid data. function CloseTrade() end diff --git a/api/CloseTradeSkill.lua b/api/CloseTradeSkill.lua index d04cd29..5aa3f73 100644 --- a/api/CloseTradeSkill.lua +++ b/api/CloseTradeSkill.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with the Trade Skill UI. Fires the TRADE_SKILL_CLOSE event, indicating that TradeSkill APIs may no longer have effects or return valid data. function CloseTradeSkill() end diff --git a/api/CloseTrainer.lua b/api/CloseTrainer.lua index 7147df5..0ca217a 100644 --- a/api/CloseTrainer.lua +++ b/api/CloseTrainer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends interaction with a trainer. Fires the TRAINER_CLOSED event, indicating that Trainer APIs may no longer have effects or return valid data. function CloseTrainer() end diff --git a/api/CloseTransmogrifyFrame.lua b/api/CloseTransmogrifyFrame.lua index bcb426e..1c957cf 100644 --- a/api/CloseTransmogrifyFrame.lua +++ b/api/CloseTransmogrifyFrame.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CloseTransmogrifyFrame() end diff --git a/api/CloseVoidStorageFrame.lua b/api/CloseVoidStorageFrame.lua index b5b80d7..92def67 100644 --- a/api/CloseVoidStorageFrame.lua +++ b/api/CloseVoidStorageFrame.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CloseVoidStorageFrame() end diff --git a/api/ClosestUnitPosition.lua b/api/ClosestUnitPosition.lua index e82303f..4aa59f2 100644 --- a/api/ClosestUnitPosition.lua +++ b/api/ClosestUnitPosition.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ClosestUnitPosition() end diff --git a/api/CollapseAllFactionHeaders.lua b/api/CollapseAllFactionHeaders.lua index 61e5880..328e367 100644 --- a/api/CollapseAllFactionHeaders.lua +++ b/api/CollapseAllFactionHeaders.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Collapses all headers and sub-headers in the Reputation UI. This function works for both major groups (Classic, Burning Crusade, Wrath of the Lich King, Inactive, etc.) and the sub-groups within them (Alliance Forces, Steamwheedle Cartel, Horde Expedition, Shattrath City, etc.). function CollapseAllFactionHeaders() end diff --git a/api/CollapseChannelHeader.lua b/api/CollapseChannelHeader.lua index 1747bd7..ce92607 100644 --- a/api/CollapseChannelHeader.lua +++ b/api/CollapseChannelHeader.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Collapses a group header in the chat channel listing diff --git a/api/CollapseFactionHeader.lua b/api/CollapseFactionHeader.lua index 918743b..74a0608 100644 --- a/api/CollapseFactionHeader.lua +++ b/api/CollapseFactionHeader.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Collapses a given faction header or sub-header in the Reputation UI. Faction headers include both major groups (Classic, Burning Crusade, Wrath of the Lich King, Inactive, etc.) and the sub-groups within them (Alliance Forces, Steamwheedle Cartel, Horde Expedition, Shattrath City, etc.). diff --git a/api/CollapseGuildTradeSkillHeader.lua b/api/CollapseGuildTradeSkillHeader.lua index 501f911..de5a4e3 100644 --- a/api/CollapseGuildTradeSkillHeader.lua +++ b/api/CollapseGuildTradeSkillHeader.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param professionID 773 ---@param 164 diff --git a/api/CollapseQuestHeader.lua b/api/CollapseQuestHeader.lua index e1fdaa3..d96f78d 100644 --- a/api/CollapseQuestHeader.lua +++ b/api/CollapseQuestHeader.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questIndex number ---Collapses a header in the quest log diff --git a/api/CollapseTradeSkillSubClass.lua b/api/CollapseTradeSkillSubClass.lua index 18756af..b8c908b 100644 --- a/api/CollapseTradeSkillSubClass.lua +++ b/api/CollapseTradeSkillSubClass.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Collapses a group header in the trade skill listing. Causes an error if index does not refer to a header. diff --git a/api/CollapseWarGameHeader.lua b/api/CollapseWarGameHeader.lua index 814df99..0876d73 100644 --- a/api/CollapseWarGameHeader.lua +++ b/api/CollapseWarGameHeader.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CollapseWarGameHeader() end diff --git a/api/CombatLogAddFilter.lua b/api/CombatLogAddFilter.lua index 8da235f..2f3ee34 100644 --- a/api/CombatLogAddFilter.lua +++ b/api/CombatLogAddFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param events string ---@param srcGUID string diff --git a/api/CombatLogAdvanceEntry.lua b/api/CombatLogAdvanceEntry.lua index 52eaaf4..c996463 100644 --- a/api/CombatLogAdvanceEntry.lua +++ b/api/CombatLogAdvanceEntry.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param count number ---@param ignoreFilter boolean diff --git a/api/CombatLogClearEntries.lua b/api/CombatLogClearEntries.lua index 89c2101..2f9b6ab 100644 --- a/api/CombatLogClearEntries.lua +++ b/api/CombatLogClearEntries.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Removes all entries from the combat log function CombatLogClearEntries() end diff --git a/api/CombatLogGetCurrentEntry.lua b/api/CombatLogGetCurrentEntry.lua index 87671f8..6f4f142 100644 --- a/api/CombatLogGetCurrentEntry.lua +++ b/api/CombatLogGetCurrentEntry.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param ignoreFilter boolean ---@return number timestamp diff --git a/api/CombatLogGetNumEntries.lua b/api/CombatLogGetNumEntries.lua index 3d3f17c..078f680 100644 --- a/api/CombatLogGetNumEntries.lua +++ b/api/CombatLogGetNumEntries.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param ignoreFilter boolean ---Returns the number of available combat log events diff --git a/api/CombatLogGetRetentionTime.lua b/api/CombatLogGetRetentionTime.lua index 470e454..eb7ae8a 100644 --- a/api/CombatLogGetRetentionTime.lua +++ b/api/CombatLogGetRetentionTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number seconds ---Returns the amount of time combat log entries are stored diff --git a/api/CombatLogResetFilter.lua b/api/CombatLogResetFilter.lua index e627418..ed17d79 100644 --- a/api/CombatLogResetFilter.lua +++ b/api/CombatLogResetFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Removes any filters applied to the combat log function CombatLogResetFilter() end diff --git a/api/CombatLogSetCurrentEntry.lua b/api/CombatLogSetCurrentEntry.lua index 7aea951..acd2cbb 100644 --- a/api/CombatLogSetCurrentEntry.lua +++ b/api/CombatLogSetCurrentEntry.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param ignoreFilter boolean diff --git a/api/CombatLogSetRetentionTime.lua b/api/CombatLogSetRetentionTime.lua index 9f18f79..1684900 100644 --- a/api/CombatLogSetRetentionTime.lua +++ b/api/CombatLogSetRetentionTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param seconds number ---Sets the amount of time combat log entries will be stored diff --git a/api/CombatLog_Object_IsA.lua b/api/CombatLog_Object_IsA.lua index 687ef46..54411b4 100644 --- a/api/CombatLog_Object_IsA.lua +++ b/api/CombatLog_Object_IsA.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unitFlags number ---@param mask COMBATLOG_FILTER_UNKNOWN_UNITS diff --git a/api/CombatTextSetActiveUnit.lua b/api/CombatTextSetActiveUnit.lua index ec1e22a..8e8aead 100644 --- a/api/CombatTextSetActiveUnit.lua +++ b/api/CombatTextSetActiveUnit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit unitid ---Sets the main unit for display of floating combat text. Certain types of floating combat text are only displayed for the "active" unit (normally the player): incoming damage, incoming heals, mana/energy/power gains, low health/mana warnings, etc. This function is used by the default UI to allow the player's vehicle to "stand in" for the player for purposes of combat text; using this function with units other than "player" or "vehicle" has no effect. diff --git a/api/CommentatorEnterInstance.lua b/api/CommentatorEnterInstance.lua index e783756..e62142c 100644 --- a/api/CommentatorEnterInstance.lua +++ b/api/CommentatorEnterInstance.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorEnterInstance() end diff --git a/api/CommentatorExitInstance.lua b/api/CommentatorExitInstance.lua index 669ad22..f1b667f 100644 --- a/api/CommentatorExitInstance.lua +++ b/api/CommentatorExitInstance.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorExitInstance() end diff --git a/api/CommentatorFollowPlayer.lua b/api/CommentatorFollowPlayer.lua index ff241ba..1a903c7 100644 --- a/api/CommentatorFollowPlayer.lua +++ b/api/CommentatorFollowPlayer.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorFollowPlayer() end diff --git a/api/CommentatorFollowUnit.lua b/api/CommentatorFollowUnit.lua index 922dcff..a9d6964 100644 --- a/api/CommentatorFollowUnit.lua +++ b/api/CommentatorFollowUnit.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorFollowUnit() end diff --git a/api/CommentatorGetCamera.lua b/api/CommentatorGetCamera.lua index 5810776..cc573f2 100644 --- a/api/CommentatorGetCamera.lua +++ b/api/CommentatorGetCamera.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorGetCamera() end diff --git a/api/CommentatorGetCurrentMapID.lua b/api/CommentatorGetCurrentMapID.lua index db36061..a1d00f6 100644 --- a/api/CommentatorGetCurrentMapID.lua +++ b/api/CommentatorGetCurrentMapID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorGetCurrentMapID() end diff --git a/api/CommentatorGetInstanceInfo.lua b/api/CommentatorGetInstanceInfo.lua index 006dc48..318c405 100644 --- a/api/CommentatorGetInstanceInfo.lua +++ b/api/CommentatorGetInstanceInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorGetInstanceInfo() end diff --git a/api/CommentatorGetMapInfo.lua b/api/CommentatorGetMapInfo.lua index 72c98a3..59a8515 100644 --- a/api/CommentatorGetMapInfo.lua +++ b/api/CommentatorGetMapInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorGetMapInfo() end diff --git a/api/CommentatorGetMode.lua b/api/CommentatorGetMode.lua index cfb08c1..5ae4eda 100644 --- a/api/CommentatorGetMode.lua +++ b/api/CommentatorGetMode.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorGetMode() end diff --git a/api/CommentatorGetNumMaps.lua b/api/CommentatorGetNumMaps.lua index e4391e1..b122860 100644 --- a/api/CommentatorGetNumMaps.lua +++ b/api/CommentatorGetNumMaps.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorGetNumMaps() end diff --git a/api/CommentatorGetNumPlayers.lua b/api/CommentatorGetNumPlayers.lua index 2df3ca6..d70377b 100644 --- a/api/CommentatorGetNumPlayers.lua +++ b/api/CommentatorGetNumPlayers.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorGetNumPlayers() end diff --git a/api/CommentatorGetPlayerInfo.lua b/api/CommentatorGetPlayerInfo.lua index a6cbc8a..39907c6 100644 --- a/api/CommentatorGetPlayerInfo.lua +++ b/api/CommentatorGetPlayerInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorGetPlayerInfo() end diff --git a/api/CommentatorLookatPlayer.lua b/api/CommentatorLookatPlayer.lua index d2a15e4..36fb5b1 100644 --- a/api/CommentatorLookatPlayer.lua +++ b/api/CommentatorLookatPlayer.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorLookatPlayer() end diff --git a/api/CommentatorSetCamera.lua b/api/CommentatorSetCamera.lua index cd9d766..b420f37 100644 --- a/api/CommentatorSetCamera.lua +++ b/api/CommentatorSetCamera.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorSetCamera() end diff --git a/api/CommentatorSetCameraCollision.lua b/api/CommentatorSetCameraCollision.lua index c34d928..45cf02a 100644 --- a/api/CommentatorSetCameraCollision.lua +++ b/api/CommentatorSetCameraCollision.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorSetCameraCollision() end diff --git a/api/CommentatorSetMapAndInstanceIndex.lua b/api/CommentatorSetMapAndInstanceIndex.lua index ab9f2f4..4d47e99 100644 --- a/api/CommentatorSetMapAndInstanceIndex.lua +++ b/api/CommentatorSetMapAndInstanceIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorSetMapAndInstanceIndex() end diff --git a/api/CommentatorSetMode.lua b/api/CommentatorSetMode.lua index e22ee20..b09b0cc 100644 --- a/api/CommentatorSetMode.lua +++ b/api/CommentatorSetMode.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorSetMode() end diff --git a/api/CommentatorSetMoveSpeed.lua b/api/CommentatorSetMoveSpeed.lua index 2a7e7d7..af8089e 100644 --- a/api/CommentatorSetMoveSpeed.lua +++ b/api/CommentatorSetMoveSpeed.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorSetMoveSpeed() end diff --git a/api/CommentatorSetTargetHeightOffset.lua b/api/CommentatorSetTargetHeightOffset.lua index 24d4943..7086df7 100644 --- a/api/CommentatorSetTargetHeightOffset.lua +++ b/api/CommentatorSetTargetHeightOffset.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorSetTargetHeightOffset() end diff --git a/api/CommentatorStartWargame.lua b/api/CommentatorStartWargame.lua index 7fec573..a1b651c 100644 --- a/api/CommentatorStartWargame.lua +++ b/api/CommentatorStartWargame.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorStartWargame() end diff --git a/api/CommentatorToggleMode.lua b/api/CommentatorToggleMode.lua index 985a321..75bd9bb 100644 --- a/api/CommentatorToggleMode.lua +++ b/api/CommentatorToggleMode.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorToggleMode() end diff --git a/api/CommentatorUpdateMapInfo.lua b/api/CommentatorUpdateMapInfo.lua index 8ca4098..eb7d61b 100644 --- a/api/CommentatorUpdateMapInfo.lua +++ b/api/CommentatorUpdateMapInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorUpdateMapInfo() end diff --git a/api/CommentatorUpdatePlayerInfo.lua b/api/CommentatorUpdatePlayerInfo.lua index 1189cf2..86c5b04 100644 --- a/api/CommentatorUpdatePlayerInfo.lua +++ b/api/CommentatorUpdatePlayerInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorUpdatePlayerInfo() end diff --git a/api/CommentatorZoomIn.lua b/api/CommentatorZoomIn.lua index f259e17..5c0685d 100644 --- a/api/CommentatorZoomIn.lua +++ b/api/CommentatorZoomIn.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorZoomIn() end diff --git a/api/CommentatorZoomOut.lua b/api/CommentatorZoomOut.lua index b165fb4..db96ce6 100644 --- a/api/CommentatorZoomOut.lua +++ b/api/CommentatorZoomOut.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CommentatorZoomOut() end diff --git a/api/ComplainInboxItem.lua b/api/ComplainInboxItem.lua index 2a93480..565d5c2 100644 --- a/api/ComplainInboxItem.lua +++ b/api/ComplainInboxItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param mailID number ---Reports a mail as spam diff --git a/api/CompleteLFGRoleCheck.lua b/api/CompleteLFGRoleCheck.lua index 55751eb..cfa8d36 100644 --- a/api/CompleteLFGRoleCheck.lua +++ b/api/CompleteLFGRoleCheck.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CompleteLFGRoleCheck() end diff --git a/api/CompleteQuest.lua b/api/CompleteQuest.lua index b27940c..e7a3b2e 100644 --- a/api/CompleteQuest.lua +++ b/api/CompleteQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins turning in a quest to a questgiver. Usable following the QUEST_PROGRESS event in which it is determined whether the player can complete the quest. Does not complete the quest turn-in process; after calling this function, the QUEST_COMPLETE event fires as the questgiver presents rewards (or sometimes only closure to the quest narrative); following that event, the GetQuestReward() function finishes the turn-in. function CompleteQuest() end diff --git a/api/ConfirmAcceptQuest.lua b/api/ConfirmAcceptQuest.lua index b42db06..59d1669 100644 --- a/api/ConfirmAcceptQuest.lua +++ b/api/ConfirmAcceptQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts a quest started by another group member. Usable following the QUEST_ACCEPT_CONFIRM event which fires when another member of the player's party or raid starts certain quests (e.g. escort quests). function ConfirmAcceptQuest() end diff --git a/api/ConfirmBindOnUse.lua b/api/ConfirmBindOnUse.lua index f9aef59..609c2c2 100644 --- a/api/ConfirmBindOnUse.lua +++ b/api/ConfirmBindOnUse.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Confirms using an item, if using the item causes it to become soulbound. Usable in response to the USE_BIND_CONFIRM which fires when the player attempts to use a "Bind on Use" item. function ConfirmBindOnUse() end diff --git a/api/ConfirmBinder.lua b/api/ConfirmBinder.lua index b9c6f51..8132a51 100644 --- a/api/ConfirmBinder.lua +++ b/api/ConfirmBinder.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Sets the player's Hearthstone to the current location. Usable in response to the CONFIRM_BINDER event which fires upon speaking to an Innkeeper (or similar NPC) and choosing the Hearthstone option. function ConfirmBinder() end diff --git a/api/ConfirmLootRoll.lua b/api/ConfirmLootRoll.lua index a9251c9..28fa1be 100644 --- a/api/ConfirmLootRoll.lua +++ b/api/ConfirmLootRoll.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@param rollType 2 diff --git a/api/ConfirmLootSlot.lua b/api/ConfirmLootSlot.lua index 2c79a10..5bdf4fd 100644 --- a/api/ConfirmLootSlot.lua +++ b/api/ConfirmLootSlot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---Confirms picking up an item available as loot. Usable after the LOOT_BIND_CONFIRM event fires, warning that an item binds on pickup. diff --git a/api/ConfirmReadyCheck.lua b/api/ConfirmReadyCheck.lua index ca49304..22b9b2d 100644 --- a/api/ConfirmReadyCheck.lua +++ b/api/ConfirmReadyCheck.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param ready true ---Responds to a ready check diff --git a/api/ConfirmSummon.lua b/api/ConfirmSummon.lua index 2f68d21..cc46748 100644 --- a/api/ConfirmSummon.lua +++ b/api/ConfirmSummon.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts an offered summons, teleporting the player to the summoner's location. Usable between when the CONFIRM_SUMMON event fires (due to a summoning spell cast by another player) and when the value returned by GetSummonConfirmTimeLeft() reaches zero. function ConfirmSummon() end diff --git a/api/ConfirmTalentWipe.lua b/api/ConfirmTalentWipe.lua index 78e9be8..ab36826 100644 --- a/api/ConfirmTalentWipe.lua +++ b/api/ConfirmTalentWipe.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Resets the player's talents. Usable following the CONFIRM_TALENT_WIPE event which fires when the player speaks to an trainer NPC and chooses to reset his or her talents. function ConfirmTalentWipe() end diff --git a/api/ConsoleAddMessage.lua b/api/ConsoleAddMessage.lua index c8495c5..51ffaa6 100644 --- a/api/ConsoleAddMessage.lua +++ b/api/ConsoleAddMessage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Prints text to the debug console. The debugging console can be activated by launching WoW from the command line with the "-console" option, then pressing the "`" (backtick/tilde) key ingame. Its usefulness outside of Blizzard internal environments is limited. function ConsoleAddMessage() end diff --git a/api/ConsoleExec.lua b/api/ConsoleExec.lua index c155375..3a2e31f 100644 --- a/api/ConsoleExec.lua +++ b/api/ConsoleExec.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param console_command string ---Runs a console command. Used by the default UI to handle /console commands. diff --git a/api/ContainerIDToInventoryID.lua b/api/ContainerIDToInventoryID.lua index 8f214e3..58248b3 100644 --- a/api/ContainerIDToInventoryID.lua +++ b/api/ContainerIDToInventoryID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@return number inventoryID diff --git a/api/ContainerRefundItemPurchase.lua b/api/ContainerRefundItemPurchase.lua index ad52065..fbbd390 100644 --- a/api/ContainerRefundItemPurchase.lua +++ b/api/ContainerRefundItemPurchase.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param slot number diff --git a/api/ConvertToParty.lua b/api/ConvertToParty.lua index f2e7d20..ba89443 100644 --- a/api/ConvertToParty.lua +++ b/api/ConvertToParty.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Converts a raid to a party. Only has effect if the player is in a raid of a maximum of 5 players and is the raid leader. function ConvertToParty() end diff --git a/api/ConvertToRaid.lua b/api/ConvertToRaid.lua index 8e5f36d..b58b694 100644 --- a/api/ConvertToRaid.lua +++ b/api/ConvertToRaid.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Converts a party to a raid. Only has effect if the player is in a party and the party leader. function ConvertToRaid() end diff --git a/api/CreateFont.lua b/api/CreateFont.lua index 008ba2d..87fb1f7 100644 --- a/api/CreateFont.lua +++ b/api/CreateFont.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@return table fontObject diff --git a/api/CreateFrame.lua b/api/CreateFrame.lua index 97b178e..0fdda74 100644 --- a/api/CreateFrame.lua +++ b/api/CreateFrame.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@overload fun(frameType: string): table ---@overload fun(frameType: string, name: string): table diff --git a/api/CreateMacro.lua b/api/CreateMacro.lua index d873b46..267ef7b 100644 --- a/api/CreateMacro.lua +++ b/api/CreateMacro.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param iconTexture string diff --git a/api/CreateNewRaidProfile.lua b/api/CreateNewRaidProfile.lua index f7a4eea..42a72b8 100644 --- a/api/CreateNewRaidProfile.lua +++ b/api/CreateNewRaidProfile.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function CreateNewRaidProfile() end diff --git a/api/CursorCanGoInSlot.lua b/api/CursorCanGoInSlot.lua index 0a8ee01..da3a674 100644 --- a/api/CursorCanGoInSlot.lua +++ b/api/CursorCanGoInSlot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return 1nil canBePlaced diff --git a/api/CursorHasItem.lua b/api/CursorHasItem.lua index 3ce9e69..b932a7a 100644 --- a/api/CursorHasItem.lua +++ b/api/CursorHasItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasItem ---Returns whether an item belonging to the player is on the cursor. See GetCursorInfo() for more detailed information. diff --git a/api/CursorHasMacro.lua b/api/CursorHasMacro.lua index bc5be21..a87a279 100644 --- a/api/CursorHasMacro.lua +++ b/api/CursorHasMacro.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasMacro ---Returns whether a macro is on the cursor. See GetCursorInfo() for more detailed information. diff --git a/api/CursorHasMoney.lua b/api/CursorHasMoney.lua index 47b0552..1998276 100644 --- a/api/CursorHasMoney.lua +++ b/api/CursorHasMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasMoney ---Returns whether an amount of the player's money is on the cursor. Returns nil if the cursor holds guild bank money. See GetCursorInfo() for more detailed information. diff --git a/api/CursorHasSpell.lua b/api/CursorHasSpell.lua index b8ad755..b1d19be 100644 --- a/api/CursorHasSpell.lua +++ b/api/CursorHasSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasSpell ---Returns whether a spell is on the cursor. See GetCursorInfo() for more detailed information. diff --git a/api/DeclineChannelInvite.lua b/api/DeclineChannelInvite.lua index 6194fdc..2308e33 100644 --- a/api/DeclineChannelInvite.lua +++ b/api/DeclineChannelInvite.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function DeclineChannelInvite() end diff --git a/api/DeclineGroup.lua b/api/DeclineGroup.lua index 40a1336..985a20a 100644 --- a/api/DeclineGroup.lua +++ b/api/DeclineGroup.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Declines an invitation to join a party or raid. Usable in response to the PARTY_INVITE_REQUEST event which fires when the player is invited to join a group. function DeclineGroup() end diff --git a/api/DeclineGuild.lua b/api/DeclineGuild.lua index fc1b64b..afe54e3 100644 --- a/api/DeclineGuild.lua +++ b/api/DeclineGuild.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Declines an offered guild invitation. Usable in response to the GUILD_INVITE_REQUEST event which fires when the player is invited to join a guild. function DeclineGuild() end diff --git a/api/DeclineGuildApplicant.lua b/api/DeclineGuildApplicant.lua index 1171af5..ef1b372 100644 --- a/api/DeclineGuildApplicant.lua +++ b/api/DeclineGuildApplicant.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function DeclineGuildApplicant() end diff --git a/api/DeclineLevelGrant.lua b/api/DeclineLevelGrant.lua index b86fad9..b3a808b 100644 --- a/api/DeclineLevelGrant.lua +++ b/api/DeclineLevelGrant.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Refuses a level offered by the player's Recruit-a-Friend partner function DeclineLevelGrant() end diff --git a/api/DeclineName.lua b/api/DeclineName.lua index 6b15ce2..2994315 100644 --- a/api/DeclineName.lua +++ b/api/DeclineName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param gender 3 diff --git a/api/DeclineQuest.lua b/api/DeclineQuest.lua index 873f2b1..0a747cf 100644 --- a/api/DeclineQuest.lua +++ b/api/DeclineQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Declines a quest.. Usable following the QUEST_DETAIL event in which the questgiver presents the player with the details of a quest and the option to accept or decline. function DeclineQuest() end diff --git a/api/DeclineResurrect.lua b/api/DeclineResurrect.lua index b1a64a0..bf77907 100644 --- a/api/DeclineResurrect.lua +++ b/api/DeclineResurrect.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Declines an offered resurrection spell. Usable following the RESURRECT_REQUEST event which fires when the player is offered resurrection by another unit. function DeclineResurrect() end diff --git a/api/DeclineSpellConfirmationPrompt.lua b/api/DeclineSpellConfirmationPrompt.lua index f6dbc6c..d8e7f59 100644 --- a/api/DeclineSpellConfirmationPrompt.lua +++ b/api/DeclineSpellConfirmationPrompt.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function DeclineSpellConfirmationPrompt() end diff --git a/api/DelIgnore.lua b/api/DelIgnore.lua index 6064407..57b736c 100644 --- a/api/DelIgnore.lua +++ b/api/DelIgnore.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Removes a player from the ignore list diff --git a/api/DelMute.lua b/api/DelMute.lua index 98b94d9..4a0d2a5 100644 --- a/api/DelMute.lua +++ b/api/DelMute.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Removes a character from the muted list for voice chat. The Muted list acts for voice chat as the Ignore list does for text chat: muted characters will never be heard regardless of which voice channels they join the player in. diff --git a/api/DeleteCursorItem.lua b/api/DeleteCursorItem.lua index 038c71a..0cae532 100644 --- a/api/DeleteCursorItem.lua +++ b/api/DeleteCursorItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Destroys the item on the cursor. Used in the default UI when accepting the confirmation prompt that appears when dragging and dropping an item to an empty area of the screen. function DeleteCursorItem() end diff --git a/api/DeleteEquipmentSet.lua b/api/DeleteEquipmentSet.lua index 6a72214..53e1363 100644 --- a/api/DeleteEquipmentSet.lua +++ b/api/DeleteEquipmentSet.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Deletes an equipment set diff --git a/api/DeleteGMTicket.lua b/api/DeleteGMTicket.lua index 41a137b..72addd8 100644 --- a/api/DeleteGMTicket.lua +++ b/api/DeleteGMTicket.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Abandons the currently pending GM ticket function DeleteGMTicket() end diff --git a/api/DeleteInboxItem.lua b/api/DeleteInboxItem.lua index 70137e5..e57cead 100644 --- a/api/DeleteInboxItem.lua +++ b/api/DeleteInboxItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param mailID number ---Deletes a mail from the player's inbox diff --git a/api/DeleteMacro.lua b/api/DeleteMacro.lua index 888b370..8aa336b 100644 --- a/api/DeleteMacro.lua +++ b/api/DeleteMacro.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param name string diff --git a/api/DeleteRaidProfile.lua b/api/DeleteRaidProfile.lua index 341d404..520bbbe 100644 --- a/api/DeleteRaidProfile.lua +++ b/api/DeleteRaidProfile.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function DeleteRaidProfile() end diff --git a/api/DemoteAssistant.lua b/api/DemoteAssistant.lua index 1d05541..93cb283 100644 --- a/api/DemoteAssistant.lua +++ b/api/DemoteAssistant.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/DepositGuildBankMoney.lua b/api/DepositGuildBankMoney.lua index e5a64dc..98d6b55 100644 --- a/api/DepositGuildBankMoney.lua +++ b/api/DepositGuildBankMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param money number ---Deposits money into the guild bank diff --git a/api/DepositReagentBank.lua b/api/DepositReagentBank.lua index 34105c1..bff7534 100644 --- a/api/DepositReagentBank.lua +++ b/api/DepositReagentBank.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Deposits Reagents in to Reagent Bank function DepositReagentBank() end diff --git a/api/DescendStop.lua b/api/DescendStop.lua index d48d312..2782bd4 100644 --- a/api/DescendStop.lua +++ b/api/DescendStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Stops movement initiated by SitStandOrDescendStart. Used by the SITORSTAND binding, which also controls descent when swimming or flying. Has no meaningful effect if called while sitting/standing. function DescendStop() end diff --git a/api/DestroyTotem.lua b/api/DestroyTotem.lua index d4aa95c..756a8a8 100644 --- a/api/DestroyTotem.lua +++ b/api/DestroyTotem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot 4 ---@param 1 diff --git a/api/DetectWowMouse.lua b/api/DetectWowMouse.lua index 80b5d38..45e3a07 100644 --- a/api/DetectWowMouse.lua +++ b/api/DetectWowMouse.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Detects the presence of a "WoW" compatible multi-button mouse. This function is used by the default user interface to enable or disable the configuration option for a many buttoned WoW mouse. If the mouse is not found, the WOW_MOUSE_NOT_FOUND event will fire. function DetectWowMouse() end diff --git a/api/DisableAddOn.lua b/api/DisableAddOn.lua index 36e5992..ca9df1d 100644 --- a/api/DisableAddOn.lua +++ b/api/DisableAddOn.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param index number diff --git a/api/DisableAllAddOns.lua b/api/DisableAllAddOns.lua index d93dcf6..66d874c 100644 --- a/api/DisableAllAddOns.lua +++ b/api/DisableAllAddOns.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param character string ---Marks all addons as disabled. Addons will remain active until the player logs out and back in or reloads the UI (see ReloadUI()). Changes to the enabled/disabled state of addons while in-game are saved on a per-character basis. diff --git a/api/DisableSpellAutocast.lua b/api/DisableSpellAutocast.lua index ec27bff..5265ed8 100644 --- a/api/DisableSpellAutocast.lua +++ b/api/DisableSpellAutocast.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param spell string ---Disables automatic casting of a pet spell diff --git a/api/DismissCompanion.lua b/api/DismissCompanion.lua index 230130b..36b1437 100644 --- a/api/DismissCompanion.lua +++ b/api/DismissCompanion.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param type MOUNT ---@param CRITTER diff --git a/api/Dismount.lua b/api/Dismount.lua index f0fc9bb..2ff98c1 100644 --- a/api/Dismount.lua +++ b/api/Dismount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Dismounts from the player's summoned mount function Dismount() end diff --git a/api/DisplayChannelOwner.lua b/api/DisplayChannelOwner.lua index 6e57a41..639fba2 100644 --- a/api/DisplayChannelOwner.lua +++ b/api/DisplayChannelOwner.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel string ---@param channelIndex number diff --git a/api/DisplayChannelVoiceOff.lua b/api/DisplayChannelVoiceOff.lua index 2a95241..1815a85 100644 --- a/api/DisplayChannelVoiceOff.lua +++ b/api/DisplayChannelVoiceOff.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Disables voice in a channel specified by its position in the channel list display diff --git a/api/DisplayChannelVoiceOn.lua b/api/DisplayChannelVoiceOn.lua index 3ca0eb5..58450f8 100644 --- a/api/DisplayChannelVoiceOn.lua +++ b/api/DisplayChannelVoiceOn.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Enables voice in a channel specified by its position in the channel list display diff --git a/api/DoEmote.lua b/api/DoEmote.lua index 7489191..29301d4 100644 --- a/api/DoEmote.lua +++ b/api/DoEmote.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param emote string ---Performs a preset emote (with optional target). The list of built-in emote tokens can be found in global variables whose names follow the format "EMOTE"..num.."_TOKEN", where num is a number between 1 and MAXEMOTEINDEX (a variable local to ChatFrame.lua.) For custom emotes (as performed using the /emote or /me commands in the default UI), see SendChatMessage(). diff --git a/api/DoMasterLootRoll.lua b/api/DoMasterLootRoll.lua index 8abd111..c99f77e 100644 --- a/api/DoMasterLootRoll.lua +++ b/api/DoMasterLootRoll.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function DoMasterLootRoll() end diff --git a/api/DoReadyCheck.lua b/api/DoReadyCheck.lua index e1e885c..431ca16 100644 --- a/api/DoReadyCheck.lua +++ b/api/DoReadyCheck.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Initiates a ready check. Only has effect if the player is the party/raid leader or a raid assistant. function DoReadyCheck() end diff --git a/api/DoTradeSkill.lua b/api/DoTradeSkill.lua index 0a9f85d..ba9a942 100644 --- a/api/DoTradeSkill.lua +++ b/api/DoTradeSkill.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param repeat number diff --git a/api/DropCursorMoney.lua b/api/DropCursorMoney.lua index e4b954c..b581bdb 100644 --- a/api/DropCursorMoney.lua +++ b/api/DropCursorMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Drops any money currently on the cursor, returning it to where it was taken from function DropCursorMoney() end diff --git a/api/DropItemOnUnit.lua b/api/DropItemOnUnit.lua index d2f49a9..346382c 100644 --- a/api/DropItemOnUnit.lua +++ b/api/DropItemOnUnit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/DungeonUsesTerrainMap.lua b/api/DungeonUsesTerrainMap.lua index 21effeb..235a5c6 100644 --- a/api/DungeonUsesTerrainMap.lua +++ b/api/DungeonUsesTerrainMap.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function DungeonUsesTerrainMap() end diff --git a/api/EJ_ClearSearch.lua b/api/EJ_ClearSearch.lua index 3776664..b744627 100644 --- a/api/EJ_ClearSearch.lua +++ b/api/EJ_ClearSearch.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_ClearSearch() end diff --git a/api/EJ_GetCreatureInfo.lua b/api/EJ_GetCreatureInfo.lua index c8bc592..3ea55ef 100644 --- a/api/EJ_GetCreatureInfo.lua +++ b/api/EJ_GetCreatureInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetCreatureInfo() end diff --git a/api/EJ_GetCurrentInstance.lua b/api/EJ_GetCurrentInstance.lua index bd98d63..943c116 100644 --- a/api/EJ_GetCurrentInstance.lua +++ b/api/EJ_GetCurrentInstance.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetCurrentInstance() end diff --git a/api/EJ_GetCurrentTier.lua b/api/EJ_GetCurrentTier.lua index 4fea700..ee91589 100644 --- a/api/EJ_GetCurrentTier.lua +++ b/api/EJ_GetCurrentTier.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetCurrentTier() end diff --git a/api/EJ_GetDifficulty.lua b/api/EJ_GetDifficulty.lua index 0b791cd..a880dc5 100644 --- a/api/EJ_GetDifficulty.lua +++ b/api/EJ_GetDifficulty.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetDifficulty() end diff --git a/api/EJ_GetEncounterInfo.lua b/api/EJ_GetEncounterInfo.lua index ea271be..e290b89 100644 --- a/api/EJ_GetEncounterInfo.lua +++ b/api/EJ_GetEncounterInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param encounterID number ---@return string name diff --git a/api/EJ_GetEncounterInfoByIndex.lua b/api/EJ_GetEncounterInfoByIndex.lua index cafb479..7995f65 100644 --- a/api/EJ_GetEncounterInfoByIndex.lua +++ b/api/EJ_GetEncounterInfoByIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetEncounterInfoByIndex() end diff --git a/api/EJ_GetInstanceByIndex.lua b/api/EJ_GetInstanceByIndex.lua index 1b3dbd4..c6ddee7 100644 --- a/api/EJ_GetInstanceByIndex.lua +++ b/api/EJ_GetInstanceByIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetInstanceByIndex() end diff --git a/api/EJ_GetInstanceInfo.lua b/api/EJ_GetInstanceInfo.lua index 8ca2006..155342a 100644 --- a/api/EJ_GetInstanceInfo.lua +++ b/api/EJ_GetInstanceInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param instanceID number ---@return string instanceName diff --git a/api/EJ_GetLootFilter.lua b/api/EJ_GetLootFilter.lua index 4a757fa..3e90aa9 100644 --- a/api/EJ_GetLootFilter.lua +++ b/api/EJ_GetLootFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetLootFilter() end diff --git a/api/EJ_GetLootInfo.lua b/api/EJ_GetLootInfo.lua index cd4caa0..80d58de 100644 --- a/api/EJ_GetLootInfo.lua +++ b/api/EJ_GetLootInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetLootInfo() end diff --git a/api/EJ_GetLootInfoByIndex.lua b/api/EJ_GetLootInfoByIndex.lua index 61d455f..2cff2b3 100644 --- a/api/EJ_GetLootInfoByIndex.lua +++ b/api/EJ_GetLootInfoByIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetLootInfoByIndex() end diff --git a/api/EJ_GetMapEncounter.lua b/api/EJ_GetMapEncounter.lua index 4f5fcd7..eb91384 100644 --- a/api/EJ_GetMapEncounter.lua +++ b/api/EJ_GetMapEncounter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetMapEncounter() end diff --git a/api/EJ_GetNumLoot.lua b/api/EJ_GetNumLoot.lua index fb78658..7d7a1aa 100644 --- a/api/EJ_GetNumLoot.lua +++ b/api/EJ_GetNumLoot.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetNumLoot() end diff --git a/api/EJ_GetNumSearchResults.lua b/api/EJ_GetNumSearchResults.lua index 68dd4b9..1212cbd 100644 --- a/api/EJ_GetNumSearchResults.lua +++ b/api/EJ_GetNumSearchResults.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetNumSearchResults() end diff --git a/api/EJ_GetNumTiers.lua b/api/EJ_GetNumTiers.lua index 41250c3..b8b9f7b 100644 --- a/api/EJ_GetNumTiers.lua +++ b/api/EJ_GetNumTiers.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetNumTiers() end diff --git a/api/EJ_GetSearchResult.lua b/api/EJ_GetSearchResult.lua index 2a30bcf..557908f 100644 --- a/api/EJ_GetSearchResult.lua +++ b/api/EJ_GetSearchResult.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetSearchResult() end diff --git a/api/EJ_GetSectionInfo.lua b/api/EJ_GetSectionInfo.lua index 0a961d9..198aa4d 100644 --- a/api/EJ_GetSectionInfo.lua +++ b/api/EJ_GetSectionInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param sectionID number ---@return string name diff --git a/api/EJ_GetSectionPath.lua b/api/EJ_GetSectionPath.lua index 073bc03..26a1660 100644 --- a/api/EJ_GetSectionPath.lua +++ b/api/EJ_GetSectionPath.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetSectionPath() end diff --git a/api/EJ_GetTierInfo.lua b/api/EJ_GetTierInfo.lua index 1572153..8c4721b 100644 --- a/api/EJ_GetTierInfo.lua +++ b/api/EJ_GetTierInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_GetTierInfo() end diff --git a/api/EJ_HandleLinkPath.lua b/api/EJ_HandleLinkPath.lua index 00f2c9a..179b2c1 100644 --- a/api/EJ_HandleLinkPath.lua +++ b/api/EJ_HandleLinkPath.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_HandleLinkPath() end diff --git a/api/EJ_InstanceIsRaid.lua b/api/EJ_InstanceIsRaid.lua index 4c62fc5..7c8b3a5 100644 --- a/api/EJ_InstanceIsRaid.lua +++ b/api/EJ_InstanceIsRaid.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_InstanceIsRaid() end diff --git a/api/EJ_IsValidInstanceDifficulty.lua b/api/EJ_IsValidInstanceDifficulty.lua index 18f3a66..135fbe8 100644 --- a/api/EJ_IsValidInstanceDifficulty.lua +++ b/api/EJ_IsValidInstanceDifficulty.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_IsValidInstanceDifficulty() end diff --git a/api/EJ_ResetLootFilter.lua b/api/EJ_ResetLootFilter.lua index 519d2be..5ea3ea4 100644 --- a/api/EJ_ResetLootFilter.lua +++ b/api/EJ_ResetLootFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_ResetLootFilter() end diff --git a/api/EJ_SelectEncounter.lua b/api/EJ_SelectEncounter.lua index 061c3fd..97a205c 100644 --- a/api/EJ_SelectEncounter.lua +++ b/api/EJ_SelectEncounter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_SelectEncounter() end diff --git a/api/EJ_SelectInstance.lua b/api/EJ_SelectInstance.lua index 9c5c8b1..56b431b 100644 --- a/api/EJ_SelectInstance.lua +++ b/api/EJ_SelectInstance.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_SelectInstance() end diff --git a/api/EJ_SelectTier.lua b/api/EJ_SelectTier.lua index 2108a39..4b45fd0 100644 --- a/api/EJ_SelectTier.lua +++ b/api/EJ_SelectTier.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_SelectTier() end diff --git a/api/EJ_SetDifficulty.lua b/api/EJ_SetDifficulty.lua index 45aaf20..f3bb633 100644 --- a/api/EJ_SetDifficulty.lua +++ b/api/EJ_SetDifficulty.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param difficulty number ---Set the dungeon difficulty of the Encounter Journal. List op usable IDs: 1: (5) Normal 2: (5) Heroic 3: (10) Normal 4: (25) Normal 5: (10) Heroic 6: (25) Heroic 7: (25) Raid Finder 14: Normal 15: Heroic 16: Mythic 17: Raid Finder 23: (5) Mythic 24: (5) Timewalking diff --git a/api/EJ_SetLootFilter.lua b/api/EJ_SetLootFilter.lua index ac5cbfb..268b9dd 100644 --- a/api/EJ_SetLootFilter.lua +++ b/api/EJ_SetLootFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_SetLootFilter() end diff --git a/api/EJ_SetSearch.lua b/api/EJ_SetSearch.lua index 27f7e53..6711f53 100644 --- a/api/EJ_SetSearch.lua +++ b/api/EJ_SetSearch.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function EJ_SetSearch() end diff --git a/api/EditMacro.lua b/api/EditMacro.lua index 6e3f76e..0840258 100644 --- a/api/EditMacro.lua +++ b/api/EditMacro.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param name string diff --git a/api/EjectPassengerFromSeat.lua b/api/EjectPassengerFromSeat.lua index d4bd9f2..e7954eb 100644 --- a/api/EjectPassengerFromSeat.lua +++ b/api/EjectPassengerFromSeat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param seat number ---Ejects the occupant of a seat in the player's vehicle diff --git a/api/EnableAddOn.lua b/api/EnableAddOn.lua index c93e743..90b2a30 100644 --- a/api/EnableAddOn.lua +++ b/api/EnableAddOn.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param name string diff --git a/api/EnableAllAddOns.lua b/api/EnableAllAddOns.lua index 445b24f..f59c92e 100644 --- a/api/EnableAllAddOns.lua +++ b/api/EnableAllAddOns.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param character string ---Marks all addons as enabled. Addons will remain inactive until the player logs out and back in or reloads the UI (see ReloadUI()). Changes to the enabled/disabled state of addons while in-game are saved on a per-character basis. diff --git a/api/EnableSpellAutocast.lua b/api/EnableSpellAutocast.lua index 1c78e3c..34b81cb 100644 --- a/api/EnableSpellAutocast.lua +++ b/api/EnableSpellAutocast.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param spell string ---Enables automatic casting of a pet spell diff --git a/api/EndBoundTradeable.lua b/api/EndBoundTradeable.lua index d5c6b92..808ab11 100644 --- a/api/EndBoundTradeable.lua +++ b/api/EndBoundTradeable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---Confirms taking an action which renders a looted Bind on Pickup item non-tradeable. A Bind on Pickup item looted by the player can be traded to other characters who were originally eligible to loot it, but only within a limited time after looting. This period can be ended prematurely if the player attempts certain actions (such as enchanting the item). diff --git a/api/EndRefund.lua b/api/EndRefund.lua index d9b694a..056b59a 100644 --- a/api/EndRefund.lua +++ b/api/EndRefund.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---Confirms taking an action which renders a purchased item non-refundable. Items bought with alternate currency (honor points, arena points, or special items such as Emblems of Heroism and Dalaran Cooking Awards) can be returned to a vendor for a full refund, but only within a limited time after the original purchase. This period can be ended prematurely if the player attempts certain actions (such as enchanting the item). diff --git a/api/EnumerateFrames.lua b/api/EnumerateFrames.lua index abe7279..25e4563 100644 --- a/api/EnumerateFrames.lua +++ b/api/EnumerateFrames.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param currentFrame table ---@return table nextFrame diff --git a/api/EnumerateServerChannels.lua b/api/EnumerateServerChannels.lua index dcabd63..f6c70ba 100644 --- a/api/EnumerateServerChannels.lua +++ b/api/EnumerateServerChannels.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string ... ---Returns the available server channel names diff --git a/api/EquipCursorItem.lua b/api/EquipCursorItem.lua index cddc08d..46dfc22 100644 --- a/api/EquipCursorItem.lua +++ b/api/EquipCursorItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---Puts the item on the cursor into a specific equipment slot. If the item on the cursor can be equipped but does not fit in the given slot, the item is automatically equipped in the first available slot in which it fits (as with AutoEquipCursorItem()). Thus, this function is most useful when dealing with items which can be equipped in more than one slot: containers, rings, trinkets, and (for dual-wielding characters) one-handed weapons. Causes an error message (UI_ERROR_MESSAGE) if the item on the cursor cannot be equipped. Does nothing if the cursor does not contain an item. diff --git a/api/EquipItemByName.lua b/api/EquipItemByName.lua index 03ac3b8..c689e4a 100644 --- a/api/EquipItemByName.lua +++ b/api/EquipItemByName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/EquipPendingItem.lua b/api/EquipPendingItem.lua index ab49095..fdb9079 100644 --- a/api/EquipPendingItem.lua +++ b/api/EquipPendingItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Confirms equipping a bind-on-equip item. Usable following the EQUIP_BIND_CONFIRM or AUTOEQUIP_BIND_CONFIRM, which fires when the player attempts to equip a bind-on-equip item diff --git a/api/EquipmentManagerClearIgnoredSlotsForSave.lua b/api/EquipmentManagerClearIgnoredSlotsForSave.lua index b2911b5..329360b 100644 --- a/api/EquipmentManagerClearIgnoredSlotsForSave.lua +++ b/api/EquipmentManagerClearIgnoredSlotsForSave.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Clears the list of equipment slots to be ignored when saving sets function EquipmentManagerClearIgnoredSlotsForSave() end diff --git a/api/EquipmentManagerIgnoreSlotForSave.lua b/api/EquipmentManagerIgnoreSlotForSave.lua index 79b2773..84c0e9c 100644 --- a/api/EquipmentManagerIgnoreSlotForSave.lua +++ b/api/EquipmentManagerIgnoreSlotForSave.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---Adds an equipment slot to the list of those ignored when saving sets. Creating or saving a set with SaveEquipmentSet() will ignore any slots on the list, allowing the player to create sets which only switch certain items (e.g. to equip a fishing pole and hat while leaving non-fishing-related items equipped). diff --git a/api/EquipmentManagerIsSlotIgnoredForSave.lua b/api/EquipmentManagerIsSlotIgnoredForSave.lua index fe79b0e..25bfe46 100644 --- a/api/EquipmentManagerIsSlotIgnoredForSave.lua +++ b/api/EquipmentManagerIsSlotIgnoredForSave.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return boolean isIgnored diff --git a/api/EquipmentManagerUnignoreSlotForSave.lua b/api/EquipmentManagerUnignoreSlotForSave.lua index 40b49b5..3c38bf9 100644 --- a/api/EquipmentManagerUnignoreSlotForSave.lua +++ b/api/EquipmentManagerUnignoreSlotForSave.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---Removes an equipment slot from the list of those ignored when saving sets. Creating or saving a set with SaveEquipmentSet() will ignore any slots on the list, allowing the player to create sets which only switch certain items (e.g. to equip a fishing pole and hat while leaving non-fishing-related items equipped). diff --git a/api/EquipmentManager_UnpackLocation.lua b/api/EquipmentManager_UnpackLocation.lua index a1d2951..0aea013 100644 --- a/api/EquipmentManager_UnpackLocation.lua +++ b/api/EquipmentManager_UnpackLocation.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param location number ---@return boolean player diff --git a/api/EquipmentSetContainsLockedItems.lua b/api/EquipmentSetContainsLockedItems.lua index ebce0b6..204ba8a 100644 --- a/api/EquipmentSetContainsLockedItems.lua +++ b/api/EquipmentSetContainsLockedItems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@return boolean isLocked diff --git a/api/ExecuteVoidTransfer.lua b/api/ExecuteVoidTransfer.lua index 7c5a9b8..832d4aa 100644 --- a/api/ExecuteVoidTransfer.lua +++ b/api/ExecuteVoidTransfer.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ExecuteVoidTransfer() end diff --git a/api/ExpandAllFactionHeaders.lua b/api/ExpandAllFactionHeaders.lua index 5af4257..3307a35 100644 --- a/api/ExpandAllFactionHeaders.lua +++ b/api/ExpandAllFactionHeaders.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Expands all headers and sub-headers in the Reputation UI. Expands headers for both major groups (Classic, Burning Crusade, Wrath of the Lich King, Inactive, etc.) and the sub-groups within them (Alliance Forces, Steamwheedle Cartel, Horde Expedition, Shattrath City, etc.). function ExpandAllFactionHeaders() end diff --git a/api/ExpandChannelHeader.lua b/api/ExpandChannelHeader.lua index 0496141..1e3124a 100644 --- a/api/ExpandChannelHeader.lua +++ b/api/ExpandChannelHeader.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Expands a group header in the chat channel listing diff --git a/api/ExpandCurrencyList.lua b/api/ExpandCurrencyList.lua index d5a19c3..ceb541d 100644 --- a/api/ExpandCurrencyList.lua +++ b/api/ExpandCurrencyList.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param shouldExpand number diff --git a/api/ExpandFactionHeader.lua b/api/ExpandFactionHeader.lua index e223c8c..febc860 100644 --- a/api/ExpandFactionHeader.lua +++ b/api/ExpandFactionHeader.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Expands a given faction header or sub-header in the Reputation UI. Faction headers include both major groups (Classic, Burning Crusade, Wrath of the Lich King, Inactive, etc.) and the sub-groups within them (Alliance Forces, Steamwheedle Cartel, Horde Expedition, Shattrath City, etc.). diff --git a/api/ExpandGuildTradeSkillHeader.lua b/api/ExpandGuildTradeSkillHeader.lua index e8af6f8..e6c5226 100644 --- a/api/ExpandGuildTradeSkillHeader.lua +++ b/api/ExpandGuildTradeSkillHeader.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param professionID 773 ---@param 164 diff --git a/api/ExpandQuestHeader.lua b/api/ExpandQuestHeader.lua index 200862a..f906cfd 100644 --- a/api/ExpandQuestHeader.lua +++ b/api/ExpandQuestHeader.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questIndex number ---Expands a quest header in the quest log diff --git a/api/ExpandTradeSkillSubClass.lua b/api/ExpandTradeSkillSubClass.lua index b098c49..94d1fe5 100644 --- a/api/ExpandTradeSkillSubClass.lua +++ b/api/ExpandTradeSkillSubClass.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Expands a group header in the trade skill listing. Causes an error if index does not refer to a header. diff --git a/api/ExpandWarGameHeader.lua b/api/ExpandWarGameHeader.lua index a5546d5..0953bfc 100644 --- a/api/ExpandWarGameHeader.lua +++ b/api/ExpandWarGameHeader.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ExpandWarGameHeader() end diff --git a/api/FactionToggleAtWar.lua b/api/FactionToggleAtWar.lua index d107765..4a1a9c4 100644 --- a/api/FactionToggleAtWar.lua +++ b/api/FactionToggleAtWar.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Toggles "at war" status for a faction. "At War" status determines whether members of a faction can be attacked. Normal interactions (as with merchants, questgivers, etc.) are not available if the player is "at war" with an NPC's faction. This function does nothing for faction headers or factions for which changing "at war" status is not currently allowed; i.e., factions for which the eighth (canToggleAtWar) return of GetFactionInfo is false or nil. diff --git a/api/FillLocalizedClassList.lua b/api/FillLocalizedClassList.lua index 739f743..7aeb9ca 100644 --- a/api/FillLocalizedClassList.lua +++ b/api/FillLocalizedClassList.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param table number ---@param female boolean diff --git a/api/FindSpellBookSlotBySpellID.lua b/api/FindSpellBookSlotBySpellID.lua index d554b00..4971561 100644 --- a/api/FindSpellBookSlotBySpellID.lua +++ b/api/FindSpellBookSlotBySpellID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function FindSpellBookSlotBySpellID() end diff --git a/api/FlagTutorial.lua b/api/FlagTutorial.lua index a509d42..e86a112 100644 --- a/api/FlagTutorial.lua +++ b/api/FlagTutorial.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tutorial string ---Marks a contextual tutorial as displayed so it doesn't appear again diff --git a/api/FlipCameraYaw.lua b/api/FlipCameraYaw.lua index a9d8b1b..9be9ac9 100644 --- a/api/FlipCameraYaw.lua +++ b/api/FlipCameraYaw.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param degrees number ---Rotates the camera around the player diff --git a/api/FlyoutHasSpell.lua b/api/FlyoutHasSpell.lua index b470586..9cfd047 100644 --- a/api/FlyoutHasSpell.lua +++ b/api/FlyoutHasSpell.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function FlyoutHasSpell() end diff --git a/api/FocusUnit.lua b/api/FocusUnit.lua index b796974..7b3444e 100644 --- a/api/FocusUnit.lua +++ b/api/FocusUnit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/FollowUnit.lua b/api/FollowUnit.lua index a602bec..d6c783d 100644 --- a/api/FollowUnit.lua +++ b/api/FollowUnit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---Causes the player character to automatically follow another unit. Only friendly player units can be followed. diff --git a/api/ForceGossip.lua b/api/ForceGossip.lua index 89515f8..00dac37 100644 --- a/api/ForceGossip.lua +++ b/api/ForceGossip.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ForceGossip() end diff --git a/api/ForceLogout.lua b/api/ForceLogout.lua index 7f4c564..e7e00a4 100644 --- a/api/ForceLogout.lua +++ b/api/ForceLogout.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Forces the client to logout. Not usable in the current WoW client; causes an error message to be displayed. function ForceLogout() end diff --git a/api/ForceQuit.lua b/api/ForceQuit.lua index e76e297..f0ee9bc 100644 --- a/api/ForceQuit.lua +++ b/api/ForceQuit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Immediately exits World of Warcraft. Unlike Quit(), this function exits the game application regardless of current conditions. Used in the default UI when the player chooses "Exit now" in the dialog that appears if the player attempts to quit while not in an inn, major city, or other "rest" area. function ForceQuit() end diff --git a/api/FrameXML_Debug.lua b/api/FrameXML_Debug.lua index b6050d0..4e79f4c 100644 --- a/api/FrameXML_Debug.lua +++ b/api/FrameXML_Debug.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param enable boolean ---Enables or disables logging of XML loading. When logging is enabled, status and error text will be saved to the file Logs/FrameXML.log (path is relative to the folder containing the World of Warcraft client) as the client parses and loads XML files in the default UI and addons. diff --git a/api/GMEuropaBugsEnabled.lua b/api/GMEuropaBugsEnabled.lua index 63df001..7db2d5e 100644 --- a/api/GMEuropaBugsEnabled.lua +++ b/api/GMEuropaBugsEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GMEuropaBugsEnabled() end diff --git a/api/GMEuropaComplaintsEnabled.lua b/api/GMEuropaComplaintsEnabled.lua index 6ef74b9..8a1b3b8 100644 --- a/api/GMEuropaComplaintsEnabled.lua +++ b/api/GMEuropaComplaintsEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GMEuropaComplaintsEnabled() end diff --git a/api/GMEuropaSuggestionsEnabled.lua b/api/GMEuropaSuggestionsEnabled.lua index 7c33b60..b3eaeed 100644 --- a/api/GMEuropaSuggestionsEnabled.lua +++ b/api/GMEuropaSuggestionsEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GMEuropaSuggestionsEnabled() end diff --git a/api/GMEuropaTicketsEnabled.lua b/api/GMEuropaTicketsEnabled.lua index 619db82..ab1a2f9 100644 --- a/api/GMEuropaTicketsEnabled.lua +++ b/api/GMEuropaTicketsEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GMEuropaTicketsEnabled() end diff --git a/api/GMItemRestorationButtonEnabled.lua b/api/GMItemRestorationButtonEnabled.lua index 4e4b395..dd61088 100644 --- a/api/GMItemRestorationButtonEnabled.lua +++ b/api/GMItemRestorationButtonEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GMItemRestorationButtonEnabled() end diff --git a/api/GMQuickTicketSystemEnabled.lua b/api/GMQuickTicketSystemEnabled.lua index d6325e5..4741dc9 100644 --- a/api/GMQuickTicketSystemEnabled.lua +++ b/api/GMQuickTicketSystemEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GMQuickTicketSystemEnabled() end diff --git a/api/GMQuickTicketSystemThrottled.lua b/api/GMQuickTicketSystemThrottled.lua index 5880432..4981e0f 100644 --- a/api/GMQuickTicketSystemThrottled.lua +++ b/api/GMQuickTicketSystemThrottled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GMQuickTicketSystemThrottled() end diff --git a/api/GMReportLag.lua b/api/GMReportLag.lua index ef3c645..987bda6 100644 --- a/api/GMReportLag.lua +++ b/api/GMReportLag.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GMReportLag() end diff --git a/api/GMRequestPlayerInfo.lua b/api/GMRequestPlayerInfo.lua index 59bb1ec..dc53323 100644 --- a/api/GMRequestPlayerInfo.lua +++ b/api/GMRequestPlayerInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GMRequestPlayerInfo() end diff --git a/api/GMResponseNeedMoreHelp.lua b/api/GMResponseNeedMoreHelp.lua index e16fea1..20ac5f0 100644 --- a/api/GMResponseNeedMoreHelp.lua +++ b/api/GMResponseNeedMoreHelp.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests further GM interaction on a ticket to which a GM has already responded function GMResponseNeedMoreHelp() end diff --git a/api/GMResponseResolve.lua b/api/GMResponseResolve.lua index a2354cf..f5f5644 100644 --- a/api/GMResponseResolve.lua +++ b/api/GMResponseResolve.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Notifies the server that the player's GM ticket issue has been resolved function GMResponseResolve() end diff --git a/api/GMSubmitBug.lua b/api/GMSubmitBug.lua index 8d69d5c..af1ba0a 100644 --- a/api/GMSubmitBug.lua +++ b/api/GMSubmitBug.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GMSubmitBug() end diff --git a/api/GMSubmitSuggestion.lua b/api/GMSubmitSuggestion.lua index 293ca2e..adc87a9 100644 --- a/api/GMSubmitSuggestion.lua +++ b/api/GMSubmitSuggestion.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GMSubmitSuggestion() end diff --git a/api/GMSurveyAnswer.lua b/api/GMSurveyAnswer.lua index 212ecfd..7fc4690 100644 --- a/api/GMSurveyAnswer.lua +++ b/api/GMSurveyAnswer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questionIndex number ---@param answerIndex number diff --git a/api/GMSurveyAnswerSubmit.lua b/api/GMSurveyAnswerSubmit.lua index 1da4b18..73343d8 100644 --- a/api/GMSurveyAnswerSubmit.lua +++ b/api/GMSurveyAnswerSubmit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param question number ---@param rank number diff --git a/api/GMSurveyCommentSubmit.lua b/api/GMSurveyCommentSubmit.lua index 722459b..d78df5a 100644 --- a/api/GMSurveyCommentSubmit.lua +++ b/api/GMSurveyCommentSubmit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param comment string ---Submits a comment to the current GM survey diff --git a/api/GMSurveyNumAnswers.lua b/api/GMSurveyNumAnswers.lua index c852f5b..abe3e2e 100644 --- a/api/GMSurveyNumAnswers.lua +++ b/api/GMSurveyNumAnswers.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questionIndex number ---@return number numAnswers diff --git a/api/GMSurveyQuestion.lua b/api/GMSurveyQuestion.lua index 6679ccc..9045d99 100644 --- a/api/GMSurveyQuestion.lua +++ b/api/GMSurveyQuestion.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string surveyQuestion diff --git a/api/GMSurveySubmit.lua b/api/GMSurveySubmit.lua index 77b76aa..a9bfd51 100644 --- a/api/GMSurveySubmit.lua +++ b/api/GMSurveySubmit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Submits the current GM survey function GMSurveySubmit() end diff --git a/api/GameMovieFinished.lua b/api/GameMovieFinished.lua index 720b810..cfe8bc5 100644 --- a/api/GameMovieFinished.lua +++ b/api/GameMovieFinished.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends in-game movie playback function GameMovieFinished() end diff --git a/api/GetAbandonQuestItems.lua b/api/GetAbandonQuestItems.lua index 1b51909..2855eae 100644 --- a/api/GetAbandonQuestItems.lua +++ b/api/GetAbandonQuestItems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string items ---Returns information about items that would be destroyed by abandoning a quest. Usable after calling SetAbandonQuest() but before calling AbandonQuest(). diff --git a/api/GetAbandonQuestName.lua b/api/GetAbandonQuestName.lua index e8c2748..ff5caa1 100644 --- a/api/GetAbandonQuestName.lua +++ b/api/GetAbandonQuestName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string name ---Returns the name of the quest being abandoned. Usable after calling SetAbandonQuest() but before calling AbandonQuest(). diff --git a/api/GetAccountExpansionLevel.lua b/api/GetAccountExpansionLevel.lua index 90f1bb0..3a793a6 100644 --- a/api/GetAccountExpansionLevel.lua +++ b/api/GetAccountExpansionLevel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 5 expansionLevel ---@return 0 diff --git a/api/GetAchievementCategory.lua b/api/GetAchievementCategory.lua index 10820ba..56127f8 100644 --- a/api/GetAchievementCategory.lua +++ b/api/GetAchievementCategory.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param achievementID number ---@return number categoryID diff --git a/api/GetAchievementComparisonInfo.lua b/api/GetAchievementComparisonInfo.lua index 0fc6a40..33142ed 100644 --- a/api/GetAchievementComparisonInfo.lua +++ b/api/GetAchievementComparisonInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return boolean completed diff --git a/api/GetAchievementCriteriaInfo.lua b/api/GetAchievementCriteriaInfo.lua index 51b457f..dae89f6 100644 --- a/api/GetAchievementCriteriaInfo.lua +++ b/api/GetAchievementCriteriaInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param achievementID number ---@param index number diff --git a/api/GetAchievementCriteriaInfoByID.lua b/api/GetAchievementCriteriaInfoByID.lua index 97dd8c2..e183c5e 100644 --- a/api/GetAchievementCriteriaInfoByID.lua +++ b/api/GetAchievementCriteriaInfoByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetAchievementCriteriaInfoByID() end diff --git a/api/GetAchievementGuildRep.lua b/api/GetAchievementGuildRep.lua index 137d04e..8cc63e6 100644 --- a/api/GetAchievementGuildRep.lua +++ b/api/GetAchievementGuildRep.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetAchievementGuildRep() end diff --git a/api/GetAchievementInfo.lua b/api/GetAchievementInfo.lua index 6a7b90b..ce73bed 100644 --- a/api/GetAchievementInfo.lua +++ b/api/GetAchievementInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param category number ---@param index number diff --git a/api/GetAchievementLink.lua b/api/GetAchievementLink.lua index bf9997d..031dfa3 100644 --- a/api/GetAchievementLink.lua +++ b/api/GetAchievementLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return string link diff --git a/api/GetAchievementNumCriteria.lua b/api/GetAchievementNumCriteria.lua index 3bdc66b..15ab112 100644 --- a/api/GetAchievementNumCriteria.lua +++ b/api/GetAchievementNumCriteria.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return number count diff --git a/api/GetAchievementNumRewards.lua b/api/GetAchievementNumRewards.lua index c4efedc..29fd202 100644 --- a/api/GetAchievementNumRewards.lua +++ b/api/GetAchievementNumRewards.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return number count diff --git a/api/GetAchievementReward.lua b/api/GetAchievementReward.lua index a6b1da8..a31ce64 100644 --- a/api/GetAchievementReward.lua +++ b/api/GetAchievementReward.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@param index number diff --git a/api/GetActionAutocast.lua b/api/GetActionAutocast.lua index 63d12fa..09109c9 100644 --- a/api/GetActionAutocast.lua +++ b/api/GetActionAutocast.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return 1nil autocastAllowed diff --git a/api/GetActionBarPage.lua b/api/GetActionBarPage.lua index a797f27..9bd33f8 100644 --- a/api/GetActionBarPage.lua +++ b/api/GetActionBarPage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number page ---Returns the current action bar page diff --git a/api/GetActionBarToggles.lua b/api/GetActionBarToggles.lua index 9b2f5cd..de548c0 100644 --- a/api/GetActionBarToggles.lua +++ b/api/GetActionBarToggles.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil showBar1 ---@return 1nil showBar2 diff --git a/api/GetActionCharges.lua b/api/GetActionCharges.lua index 3861b79..6943869 100644 --- a/api/GetActionCharges.lua +++ b/api/GetActionCharges.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetActionCharges() end diff --git a/api/GetActionCooldown.lua b/api/GetActionCooldown.lua index a1f47b4..a86bed2 100644 --- a/api/GetActionCooldown.lua +++ b/api/GetActionCooldown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return number start diff --git a/api/GetActionCount.lua b/api/GetActionCount.lua index 22e0c6a..8df578d 100644 --- a/api/GetActionCount.lua +++ b/api/GetActionCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return number count diff --git a/api/GetActionInfo.lua b/api/GetActionInfo.lua index a9e90f1..5816101 100644 --- a/api/GetActionInfo.lua +++ b/api/GetActionInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return spell type diff --git a/api/GetActionLossOfControlCooldown.lua b/api/GetActionLossOfControlCooldown.lua index 7787a4e..2362484 100644 --- a/api/GetActionLossOfControlCooldown.lua +++ b/api/GetActionLossOfControlCooldown.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetActionLossOfControlCooldown() end diff --git a/api/GetActionText.lua b/api/GetActionText.lua index 56f54f1..98e7270 100644 --- a/api/GetActionText.lua +++ b/api/GetActionText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return string text diff --git a/api/GetActionTexture.lua b/api/GetActionTexture.lua index 289d94a..d2788c9 100644 --- a/api/GetActionTexture.lua +++ b/api/GetActionTexture.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return string texture diff --git a/api/GetActiveArtifactByRace.lua b/api/GetActiveArtifactByRace.lua index a908725..67a3eb6 100644 --- a/api/GetActiveArtifactByRace.lua +++ b/api/GetActiveArtifactByRace.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetActiveArtifactByRace() end diff --git a/api/GetActiveLevel.lua b/api/GetActiveLevel.lua index 224a5b3..34ac210 100644 --- a/api/GetActiveLevel.lua +++ b/api/GetActiveLevel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number level diff --git a/api/GetActiveLootRollIDs.lua b/api/GetActiveLootRollIDs.lua index e84d94a..3a528e3 100644 --- a/api/GetActiveLootRollIDs.lua +++ b/api/GetActiveLootRollIDs.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetActiveLootRollIDs() end diff --git a/api/GetActiveSpecGroup.lua b/api/GetActiveSpecGroup.lua index 15ee9b8..30f6991 100644 --- a/api/GetActiveSpecGroup.lua +++ b/api/GetActiveSpecGroup.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number activeTalentGroup ---Returns the active talent group/specialisation (Dual Talent system). diff --git a/api/GetActiveTitle.lua b/api/GetActiveTitle.lua index f9afa5f..135a9a5 100644 --- a/api/GetActiveTitle.lua +++ b/api/GetActiveTitle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string title diff --git a/api/GetActiveVoiceChannel.lua b/api/GetActiveVoiceChannel.lua index b60df04..f865464 100644 --- a/api/GetActiveVoiceChannel.lua +++ b/api/GetActiveVoiceChannel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the currently active voice channel diff --git a/api/GetAddOnCPUUsage.lua b/api/GetAddOnCPUUsage.lua index 9c44498..fb9dc4b 100644 --- a/api/GetAddOnCPUUsage.lua +++ b/api/GetAddOnCPUUsage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param index number diff --git a/api/GetAddOnDependencies.lua b/api/GetAddOnDependencies.lua index bbd6a23..be48b8a 100644 --- a/api/GetAddOnDependencies.lua +++ b/api/GetAddOnDependencies.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param index number diff --git a/api/GetAddOnEnableState.lua b/api/GetAddOnEnableState.lua index 6479997..7300ad2 100644 --- a/api/GetAddOnEnableState.lua +++ b/api/GetAddOnEnableState.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param character string ---@param index number diff --git a/api/GetAddOnInfo.lua b/api/GetAddOnInfo.lua index 6a46f95..b330be0 100644 --- a/api/GetAddOnInfo.lua +++ b/api/GetAddOnInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param index number diff --git a/api/GetAddOnMemoryUsage.lua b/api/GetAddOnMemoryUsage.lua index db25090..ad01e35 100644 --- a/api/GetAddOnMemoryUsage.lua +++ b/api/GetAddOnMemoryUsage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param index number diff --git a/api/GetAddOnMetadata.lua b/api/GetAddOnMetadata.lua index e02f08b..b3490e0 100644 --- a/api/GetAddOnMetadata.lua +++ b/api/GetAddOnMetadata.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param name string diff --git a/api/GetAddOnOptionalDependencies.lua b/api/GetAddOnOptionalDependencies.lua index b254f8f..a7dcab7 100644 --- a/api/GetAddOnOptionalDependencies.lua +++ b/api/GetAddOnOptionalDependencies.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param index number diff --git a/api/GetAllowLowLevelRaid.lua b/api/GetAllowLowLevelRaid.lua index e194cbe..36de880 100644 --- a/api/GetAllowLowLevelRaid.lua +++ b/api/GetAllowLowLevelRaid.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetAllowLowLevelRaid() end diff --git a/api/GetArchaeologyInfo.lua b/api/GetArchaeologyInfo.lua index d8d9e2a..56abba7 100644 --- a/api/GetArchaeologyInfo.lua +++ b/api/GetArchaeologyInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string name ---Returns information about Archeology diff --git a/api/GetArchaeologyRaceInfo.lua b/api/GetArchaeologyRaceInfo.lua index 15b4edc..f705faf 100644 --- a/api/GetArchaeologyRaceInfo.lua +++ b/api/GetArchaeologyRaceInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param raceIndex number ---@return string raceName diff --git a/api/GetArchaeologyRaceInfoByID.lua b/api/GetArchaeologyRaceInfoByID.lua index 092eb08..4e78bd7 100644 --- a/api/GetArchaeologyRaceInfoByID.lua +++ b/api/GetArchaeologyRaceInfoByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetArchaeologyRaceInfoByID() end diff --git a/api/GetAreaMapInfo.lua b/api/GetAreaMapInfo.lua index c7e99dc..fa25955 100644 --- a/api/GetAreaMapInfo.lua +++ b/api/GetAreaMapInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param areaMapID number ---Get information about map zone based on mapId diff --git a/api/GetAreaMaps.lua b/api/GetAreaMaps.lua index 184b1cd..32bcad5 100644 --- a/api/GetAreaMaps.lua +++ b/api/GetAreaMaps.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param table table ---@return list zoneid1,zoneid2,zoneid3... diff --git a/api/GetAreaSpiritHealerTime.lua b/api/GetAreaSpiritHealerTime.lua index c7b070d..9560b62 100644 --- a/api/GetAreaSpiritHealerTime.lua +++ b/api/GetAreaSpiritHealerTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number timeleft ---Returns the time remaining until a nearby battleground spirit healer resurrects all players in its area diff --git a/api/GetArenaOpponentSpec.lua b/api/GetArenaOpponentSpec.lua index a5b9d94..46eca81 100644 --- a/api/GetArenaOpponentSpec.lua +++ b/api/GetArenaOpponentSpec.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param oppNumber number ---@return number specialisationID diff --git a/api/GetArmorEffectiveness.lua b/api/GetArmorEffectiveness.lua index 7d0965a..78bdd4c 100644 --- a/api/GetArmorEffectiveness.lua +++ b/api/GetArmorEffectiveness.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetArmorEffectiveness() end diff --git a/api/GetArmorPenetration.lua b/api/GetArmorPenetration.lua index 78d0eaf..5597460 100644 --- a/api/GetArmorPenetration.lua +++ b/api/GetArmorPenetration.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number amount ---Returns the percentage of enemy armor ignored due to the player's Armor Penetration Rating diff --git a/api/GetArtifactInfoByRace.lua b/api/GetArtifactInfoByRace.lua index bf101b6..14830c0 100644 --- a/api/GetArtifactInfoByRace.lua +++ b/api/GetArtifactInfoByRace.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetArtifactInfoByRace() end diff --git a/api/GetArtifactProgress.lua b/api/GetArtifactProgress.lua index 09d28a4..65d20dd 100644 --- a/api/GetArtifactProgress.lua +++ b/api/GetArtifactProgress.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number base ---@return number adjusted diff --git a/api/GetAttackPowerForStat.lua b/api/GetAttackPowerForStat.lua index 23870db..cb1e67b 100644 --- a/api/GetAttackPowerForStat.lua +++ b/api/GetAttackPowerForStat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param statIndex 5 ---@param 1 diff --git a/api/GetAuctionHouseDepositRate.lua b/api/GetAuctionHouseDepositRate.lua index 5ae7b1b..b41bdd8 100644 --- a/api/GetAuctionHouseDepositRate.lua +++ b/api/GetAuctionHouseDepositRate.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number rate ---Returns the deposit rate for the current auction house. Obsolete (returns different values for faction and neutral auction houses, but these values do not describe the ratio of auction deposit to an item's vendor buy or sell price); use CalculateAuctionDeposit() instead. diff --git a/api/GetAuctionInvTypes.lua b/api/GetAuctionInvTypes.lua index 84da268..1e77b30 100644 --- a/api/GetAuctionInvTypes.lua +++ b/api/GetAuctionInvTypes.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param classIndex number ---@param subClassIndex 5 diff --git a/api/GetAuctionItemBattlePetInfo.lua b/api/GetAuctionItemBattlePetInfo.lua index 6a9551b..a2e8b39 100644 --- a/api/GetAuctionItemBattlePetInfo.lua +++ b/api/GetAuctionItemBattlePetInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param list owner ---@param bidder diff --git a/api/GetAuctionItemClasses.lua b/api/GetAuctionItemClasses.lua index 5906f6c..997a221 100644 --- a/api/GetAuctionItemClasses.lua +++ b/api/GetAuctionItemClasses.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns a list of localized item class (category) names. Item classes are the first level of hierarchy seen when browsing at the Auction House: Weapon, Armor, Container, Consumable, etc. This function still returns valid information if the player is not interacting with an auctioneer. diff --git a/api/GetAuctionItemInfo.lua b/api/GetAuctionItemInfo.lua index 186067b..ff706fe 100644 --- a/api/GetAuctionItemInfo.lua +++ b/api/GetAuctionItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param list owner ---@param bidder diff --git a/api/GetAuctionItemLink.lua b/api/GetAuctionItemLink.lua index 340f1e5..16fbb7a 100644 --- a/api/GetAuctionItemLink.lua +++ b/api/GetAuctionItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param list owner ---@param bidder diff --git a/api/GetAuctionItemSubClasses.lua b/api/GetAuctionItemSubClasses.lua index 11f113e..5b35277 100644 --- a/api/GetAuctionItemSubClasses.lua +++ b/api/GetAuctionItemSubClasses.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param classIndex number ---@return list ... diff --git a/api/GetAuctionItemTimeLeft.lua b/api/GetAuctionItemTimeLeft.lua index 52668dc..509673a 100644 --- a/api/GetAuctionItemTimeLeft.lua +++ b/api/GetAuctionItemTimeLeft.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param list owner ---@param bidder diff --git a/api/GetAuctionSellItemInfo.lua b/api/GetAuctionSellItemInfo.lua index 5c50545..ccbee6d 100644 --- a/api/GetAuctionSellItemInfo.lua +++ b/api/GetAuctionSellItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string name ---@return string texture diff --git a/api/GetAuctionSort.lua b/api/GetAuctionSort.lua index 21149b3..bdae094 100644 --- a/api/GetAuctionSort.lua +++ b/api/GetAuctionSort.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param list owner ---@param bidder diff --git a/api/GetAutoCompletePresenceID.lua b/api/GetAutoCompletePresenceID.lua index 3909d67..7202dee 100644 --- a/api/GetAutoCompletePresenceID.lua +++ b/api/GetAutoCompletePresenceID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@return number presenceID diff --git a/api/GetAutoCompleteRealms.lua b/api/GetAutoCompleteRealms.lua index 35572ad..260424e 100644 --- a/api/GetAutoCompleteRealms.lua +++ b/api/GetAutoCompleteRealms.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetAutoCompleteRealms() end diff --git a/api/GetAutoCompleteResults.lua b/api/GetAutoCompleteResults.lua index 27b4d29..dc84810 100644 --- a/api/GetAutoCompleteResults.lua +++ b/api/GetAutoCompleteResults.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param inputString string ---@param includeBitfield AUTOCOMPLETE_FLAG_ALL diff --git a/api/GetAutoDeclineGuildInvites.lua b/api/GetAutoDeclineGuildInvites.lua index 99da10c..fa6f2a5 100644 --- a/api/GetAutoDeclineGuildInvites.lua +++ b/api/GetAutoDeclineGuildInvites.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetAutoDeclineGuildInvites() end diff --git a/api/GetAutoQuestPopUp.lua b/api/GetAutoQuestPopUp.lua index 14534b9..33ab1f9 100644 --- a/api/GetAutoQuestPopUp.lua +++ b/api/GetAutoQuestPopUp.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number questId diff --git a/api/GetAvailableLevel.lua b/api/GetAvailableLevel.lua index 302aec9..8e69ba7 100644 --- a/api/GetAvailableLevel.lua +++ b/api/GetAvailableLevel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number level diff --git a/api/GetAvailableLocales.lua b/api/GetAvailableLocales.lua index 2105dfa..ea52a6f 100644 --- a/api/GetAvailableLocales.lua +++ b/api/GetAvailableLocales.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetAvailableLocales() end diff --git a/api/GetAvailableQuestInfo.lua b/api/GetAvailableQuestInfo.lua index f88cd60..61116a6 100644 --- a/api/GetAvailableQuestInfo.lua +++ b/api/GetAvailableQuestInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param availableIndex number ---@return boolean isTrivial diff --git a/api/GetAvailableTitle.lua b/api/GetAvailableTitle.lua index bc98c07..55c12ca 100644 --- a/api/GetAvailableTitle.lua +++ b/api/GetAvailableTitle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string title diff --git a/api/GetAverageItemLevel.lua b/api/GetAverageItemLevel.lua index c8bd339..e18a67a 100644 --- a/api/GetAverageItemLevel.lua +++ b/api/GetAverageItemLevel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number total ---@return number equipped diff --git a/api/GetAvoidance.lua b/api/GetAvoidance.lua index cdd4f04..88e2922 100644 --- a/api/GetAvoidance.lua +++ b/api/GetAvoidance.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetAvoidance() end diff --git a/api/GetBackpackAutosortDisabled.lua b/api/GetBackpackAutosortDisabled.lua index 8c5058f..cd850b4 100644 --- a/api/GetBackpackAutosortDisabled.lua +++ b/api/GetBackpackAutosortDisabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetBackpackAutosortDisabled() end diff --git a/api/GetBackpackCurrencyInfo.lua b/api/GetBackpackCurrencyInfo.lua index 1d231d9..ddf1a3e 100644 --- a/api/GetBackpackCurrencyInfo.lua +++ b/api/GetBackpackCurrencyInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetBagName.lua b/api/GetBagName.lua index 810026a..ec453e6 100644 --- a/api/GetBagName.lua +++ b/api/GetBagName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@return string name diff --git a/api/GetBagSlotFlag.lua b/api/GetBagSlotFlag.lua index a06df04..e8a399a 100644 --- a/api/GetBagSlotFlag.lua +++ b/api/GetBagSlotFlag.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetBagSlotFlag() end diff --git a/api/GetBankAutosortDisabled.lua b/api/GetBankAutosortDisabled.lua index 41eaac7..76cccf4 100644 --- a/api/GetBankAutosortDisabled.lua +++ b/api/GetBankAutosortDisabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetBankAutosortDisabled() end diff --git a/api/GetBankBagSlotFlag.lua b/api/GetBankBagSlotFlag.lua index 37fa0db..6b52e68 100644 --- a/api/GetBankBagSlotFlag.lua +++ b/api/GetBankBagSlotFlag.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetBankBagSlotFlag() end diff --git a/api/GetBankSlotCost.lua b/api/GetBankSlotCost.lua index 5821ad7..316cfeb 100644 --- a/api/GetBankSlotCost.lua +++ b/api/GetBankSlotCost.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number cost ---Returns the cost of the next purchasable bank bag slot. Returns 999999999 if the player owns all available slots. diff --git a/api/GetBarberShopStyleInfo.lua b/api/GetBarberShopStyleInfo.lua index a7ff7a2..71b3e36 100644 --- a/api/GetBarberShopStyleInfo.lua +++ b/api/GetBarberShopStyleInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param styleIndex 3 ---@param 1 diff --git a/api/GetBarberShopTotalCost.lua b/api/GetBarberShopTotalCost.lua index 89305c9..cb0edc3 100644 --- a/api/GetBarberShopTotalCost.lua +++ b/api/GetBarberShopTotalCost.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number cost ---Returns the total price of selected barber shop style changes diff --git a/api/GetBattlefieldArenaFaction.lua b/api/GetBattlefieldArenaFaction.lua index 7e13abd..430c853 100644 --- a/api/GetBattlefieldArenaFaction.lua +++ b/api/GetBattlefieldArenaFaction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns faction. Returns faction in and out of battlegrounds function GetBattlefieldArenaFaction() end diff --git a/api/GetBattlefieldEstimatedWaitTime.lua b/api/GetBattlefieldEstimatedWaitTime.lua index 31daa7e..0040642 100644 --- a/api/GetBattlefieldEstimatedWaitTime.lua +++ b/api/GetBattlefieldEstimatedWaitTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number waitTime diff --git a/api/GetBattlefieldFlagPosition.lua b/api/GetBattlefieldFlagPosition.lua index cf28eec..8a0ea3f 100644 --- a/api/GetBattlefieldFlagPosition.lua +++ b/api/GetBattlefieldFlagPosition.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number flagX diff --git a/api/GetBattlefieldInstanceExpiration.lua b/api/GetBattlefieldInstanceExpiration.lua index dc031ab..b04352e 100644 --- a/api/GetBattlefieldInstanceExpiration.lua +++ b/api/GetBattlefieldInstanceExpiration.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number timeLeft ---Returns the amount of time remaining before all players are removed from the instance, if in a battleground instance where the match has completed diff --git a/api/GetBattlefieldInstanceRunTime.lua b/api/GetBattlefieldInstanceRunTime.lua index d0a4c39..b918f80 100644 --- a/api/GetBattlefieldInstanceRunTime.lua +++ b/api/GetBattlefieldInstanceRunTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number time ---Returns the amount of time since the current battleground instance opened diff --git a/api/GetBattlefieldMapIconScale.lua b/api/GetBattlefieldMapIconScale.lua index 1ed79cc..a6cb3f4 100644 --- a/api/GetBattlefieldMapIconScale.lua +++ b/api/GetBattlefieldMapIconScale.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number scale ---Returns the scale to be used for displaying battleground map icons. Used in the default UI to determine the size of the point of interest icons (towers, graveyards, etc.) on the zone map (the small battle minimap). The default size of the icons is set by DEFAULT_POI_ICON_SIZE and the scale is used to grow or shrink them depending on the size of the map. diff --git a/api/GetBattlefieldPortExpiration.lua b/api/GetBattlefieldPortExpiration.lua index 6400a2d..7aa71ee 100644 --- a/api/GetBattlefieldPortExpiration.lua +++ b/api/GetBattlefieldPortExpiration.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number expiration diff --git a/api/GetBattlefieldScore.lua b/api/GetBattlefieldScore.lua index 8e56cd6..e639342 100644 --- a/api/GetBattlefieldScore.lua +++ b/api/GetBattlefieldScore.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetBattlefieldStatData.lua b/api/GetBattlefieldStatData.lua index 1ab6520..3f35bad 100644 --- a/api/GetBattlefieldStatData.lua +++ b/api/GetBattlefieldStatData.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param statIndex number diff --git a/api/GetBattlefieldStatInfo.lua b/api/GetBattlefieldStatInfo.lua index 629a6f2..cf5bb34 100644 --- a/api/GetBattlefieldStatInfo.lua +++ b/api/GetBattlefieldStatInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param statIndex number ---@return string text diff --git a/api/GetBattlefieldStatus.lua b/api/GetBattlefieldStatus.lua index 552096c..d575d25 100644 --- a/api/GetBattlefieldStatus.lua +++ b/api/GetBattlefieldStatus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return queued status diff --git a/api/GetBattlefieldTeamInfo.lua b/api/GetBattlefieldTeamInfo.lua index c2ed4be..53a957e 100644 --- a/api/GetBattlefieldTeamInfo.lua +++ b/api/GetBattlefieldTeamInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index 1 ---@param 0 diff --git a/api/GetBattlefieldTimeWaited.lua b/api/GetBattlefieldTimeWaited.lua index b348056..1d8a317 100644 --- a/api/GetBattlefieldTimeWaited.lua +++ b/api/GetBattlefieldTimeWaited.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number timeInQueue diff --git a/api/GetBattlefieldVehicleInfo.lua b/api/GetBattlefieldVehicleInfo.lua index 52456aa..d8f932b 100644 --- a/api/GetBattlefieldVehicleInfo.lua +++ b/api/GetBattlefieldVehicleInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number vehicleX diff --git a/api/GetBattlefieldWinner.lua b/api/GetBattlefieldWinner.lua index d53d304..abb6cf2 100644 --- a/api/GetBattlefieldWinner.lua +++ b/api/GetBattlefieldWinner.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 255 winner ---@return 0 diff --git a/api/GetBattlegroundInfo.lua b/api/GetBattlegroundInfo.lua index 40a9cc3..ac02c69 100644 --- a/api/GetBattlegroundInfo.lua +++ b/api/GetBattlegroundInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string localizedName diff --git a/api/GetBattlegroundPoints.lua b/api/GetBattlegroundPoints.lua index 05bbd79..f1015f3 100644 --- a/api/GetBattlegroundPoints.lua +++ b/api/GetBattlegroundPoints.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetBattlegroundPoints() end diff --git a/api/GetBestFlexRaidChoice.lua b/api/GetBestFlexRaidChoice.lua index 226d432..acf19eb 100644 --- a/api/GetBestFlexRaidChoice.lua +++ b/api/GetBestFlexRaidChoice.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetBestFlexRaidChoice() end diff --git a/api/GetBestRFChoice.lua b/api/GetBestRFChoice.lua index 6ab89e8..b28f60c 100644 --- a/api/GetBestRFChoice.lua +++ b/api/GetBestRFChoice.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetBestRFChoice() end diff --git a/api/GetBidderAuctionItems.lua b/api/GetBidderAuctionItems.lua index 152797f..eaf96b8 100644 --- a/api/GetBidderAuctionItems.lua +++ b/api/GetBidderAuctionItems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests data from the server for the list of auctions bid on by the player. The AUCTION_BIDDER_LIST_UPDATE event fires if new data is available; listing information can then be retrieved using GetAuctionItemInfo() or other Auction APIs. function GetBidderAuctionItems() end diff --git a/api/GetBillingTimeRested.lua b/api/GetBillingTimeRested.lua index 39d5459..dfb5189 100644 --- a/api/GetBillingTimeRested.lua +++ b/api/GetBillingTimeRested.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number time ---Returns the amount of time for which the player must be offline in order to lift play time restrictions. After playing for a number of hours, restrictions may be placed on the player's ability to gain loot or XP, complete quests, or use trade skills; if in such a state, the player must log off for the period of time specified by this function in order to return to normal play. Only used in locales where the length of play sessions is restricted (e.g. mainland China). diff --git a/api/GetBindLocation.lua b/api/GetBindLocation.lua index 6eee140..4cc6f93 100644 --- a/api/GetBindLocation.lua +++ b/api/GetBindLocation.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string location ---Returns the name of the player's Hearthstone location diff --git a/api/GetBinding.lua b/api/GetBinding.lua index e82ec7f..1e1cb67 100644 --- a/api/GetBinding.lua +++ b/api/GetBinding.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string commandName diff --git a/api/GetBindingAction.lua b/api/GetBindingAction.lua index c55f87c..2d0cee1 100644 --- a/api/GetBindingAction.lua +++ b/api/GetBindingAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param key string ---@param checkOverride boolean diff --git a/api/GetBindingByKey.lua b/api/GetBindingByKey.lua index 9d13ce4..3e0613d 100644 --- a/api/GetBindingByKey.lua +++ b/api/GetBindingByKey.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param key string ---@return string action diff --git a/api/GetBindingKey.lua b/api/GetBindingKey.lua index 12fc4fb..67993d0 100644 --- a/api/GetBindingKey.lua +++ b/api/GetBindingKey.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param COMMAND string ---@return string key1 diff --git a/api/GetBindingText.lua b/api/GetBindingText.lua index 6cc1d0f..598cb73 100644 --- a/api/GetBindingText.lua +++ b/api/GetBindingText.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetBindingText() end diff --git a/api/GetBlacklistMap.lua b/api/GetBlacklistMap.lua index 251cf82..6acada5 100644 --- a/api/GetBlacklistMap.lua +++ b/api/GetBlacklistMap.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param i number ---@return number bgIndex diff --git a/api/GetBlacklistMapName.lua b/api/GetBlacklistMapName.lua index da21ae9..5f50ef5 100644 --- a/api/GetBlacklistMapName.lua +++ b/api/GetBlacklistMapName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetBlacklistMapName() end diff --git a/api/GetBladedArmorEffect.lua b/api/GetBladedArmorEffect.lua index 099350e..92f0fa8 100644 --- a/api/GetBladedArmorEffect.lua +++ b/api/GetBladedArmorEffect.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetBladedArmorEffect() end diff --git a/api/GetBlockChance.lua b/api/GetBlockChance.lua index f13209d..d028cb4 100644 --- a/api/GetBlockChance.lua +++ b/api/GetBlockChance.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number chance ---Returns the player's percentage chance to block with a shield diff --git a/api/GetBonusBarIndex.lua b/api/GetBonusBarIndex.lua index 91dbd43..51225a5 100644 --- a/api/GetBonusBarIndex.lua +++ b/api/GetBonusBarIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetBonusBarIndex() end diff --git a/api/GetBonusBarOffset.lua b/api/GetBonusBarOffset.lua index 0313689..966c7b1 100644 --- a/api/GetBonusBarOffset.lua +++ b/api/GetBonusBarOffset.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number offset ---Returns the current "stance" offset for use with the bonus action bar. This value corresponds to what "stance" the player is currently in, and more specifically which set of actions correspond to that stance. Action IDs for special stances start on action bar #7 (or NUM_ACTIONBAR_PAGES + 1), so the offset returned by this function corresponds to the number to be added to NUM_ACTIONBAR_PAGES in calculating action IDs for these action bars. Note that the UI definition of "stance" includes not just warrior stances but also druid shapeshift forms, rogue/druid stealth, priest shadowform, and various other cases, but does not necessarily include all states normally presented in the default UI's stance/shapeshift bar (notable exclusions are paladin auras and death knight presences). diff --git a/api/GetBuildInfo.lua b/api/GetBuildInfo.lua index d13927e..9908831 100644 --- a/api/GetBuildInfo.lua +++ b/api/GetBuildInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string version ---@return string internalVersion diff --git a/api/GetBuybackItemInfo.lua b/api/GetBuybackItemInfo.lua index c1d7ef4..9feb0b3 100644 --- a/api/GetBuybackItemInfo.lua +++ b/api/GetBuybackItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetBuybackItemLink.lua b/api/GetBuybackItemLink.lua index 435e176..873d3f7 100644 --- a/api/GetBuybackItemLink.lua +++ b/api/GetBuybackItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string link diff --git a/api/GetCVar.lua b/api/GetCVar.lua index 1e9c130..d0f3132 100644 --- a/api/GetCVar.lua +++ b/api/GetCVar.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param cvar string ---@return any string diff --git a/api/GetCVarBitfield.lua b/api/GetCVarBitfield.lua index e8c4a2b..7f055f5 100644 --- a/api/GetCVarBitfield.lua +++ b/api/GetCVarBitfield.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetCVarBitfield() end diff --git a/api/GetCVarBool.lua b/api/GetCVarBool.lua index 3846ba6..5e4faf5 100644 --- a/api/GetCVarBool.lua +++ b/api/GetCVarBool.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param cvar string ---@return 1nil value diff --git a/api/GetCVarDefault.lua b/api/GetCVarDefault.lua index 73fb250..d99e9d5 100644 --- a/api/GetCVarDefault.lua +++ b/api/GetCVarDefault.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param CVar string ---@return string value diff --git a/api/GetCVarInfo.lua b/api/GetCVarInfo.lua index 30b274c..bcbf31b 100644 --- a/api/GetCVarInfo.lua +++ b/api/GetCVarInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param cvar string ---@return string value diff --git a/api/GetCallPetSpellInfo.lua b/api/GetCallPetSpellInfo.lua index 7393f51..20a0623 100644 --- a/api/GetCallPetSpellInfo.lua +++ b/api/GetCallPetSpellInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetCallPetSpellInfo() end diff --git a/api/GetCategoryAchievementPoints.lua b/api/GetCategoryAchievementPoints.lua index 987017e..63ba91a 100644 --- a/api/GetCategoryAchievementPoints.lua +++ b/api/GetCategoryAchievementPoints.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param categoryID number ---@param includeSubCategories boolean diff --git a/api/GetCategoryInfo.lua b/api/GetCategoryInfo.lua index dac0ef3..cc430c3 100644 --- a/api/GetCategoryInfo.lua +++ b/api/GetCategoryInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return string name diff --git a/api/GetCategoryList.lua b/api/GetCategoryList.lua index 0111829..2a4e200 100644 --- a/api/GetCategoryList.lua +++ b/api/GetCategoryList.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return table categories ---Returns a list of all achievement categories. See GetGuildCategoryList() for the guild version. diff --git a/api/GetCategoryNumAchievements.lua b/api/GetCategoryNumAchievements.lua index 54234b5..f970b55 100644 --- a/api/GetCategoryNumAchievements.lua +++ b/api/GetCategoryNumAchievements.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@param includeSuperseded boolean diff --git a/api/GetCemeteryPreference.lua b/api/GetCemeteryPreference.lua index cd29bbf..b86f705 100644 --- a/api/GetCemeteryPreference.lua +++ b/api/GetCemeteryPreference.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetCemeteryPreference() end diff --git a/api/GetChallengeBestTime.lua b/api/GetChallengeBestTime.lua index 482e4b6..6b033ce 100644 --- a/api/GetChallengeBestTime.lua +++ b/api/GetChallengeBestTime.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChallengeBestTime() end diff --git a/api/GetChallengeBestTimeInfo.lua b/api/GetChallengeBestTimeInfo.lua index 42b40aa..5a9c7f5 100644 --- a/api/GetChallengeBestTimeInfo.lua +++ b/api/GetChallengeBestTimeInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChallengeBestTimeInfo() end diff --git a/api/GetChallengeBestTimeNum.lua b/api/GetChallengeBestTimeNum.lua index ea982b8..939b5c2 100644 --- a/api/GetChallengeBestTimeNum.lua +++ b/api/GetChallengeBestTimeNum.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChallengeBestTimeNum() end diff --git a/api/GetChallengeMapMoney.lua b/api/GetChallengeMapMoney.lua index a85fded..5ab7ce5 100644 --- a/api/GetChallengeMapMoney.lua +++ b/api/GetChallengeMapMoney.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChallengeMapMoney() end diff --git a/api/GetChallengeMapRewardInfo.lua b/api/GetChallengeMapRewardInfo.lua index 9895503..9e9b33e 100644 --- a/api/GetChallengeMapRewardInfo.lua +++ b/api/GetChallengeMapRewardInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChallengeMapRewardInfo() end diff --git a/api/GetChallengeMode.lua b/api/GetChallengeMode.lua index fd865ca..f0690e1 100644 --- a/api/GetChallengeMode.lua +++ b/api/GetChallengeMode.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChallengeMode() end diff --git a/api/GetChallengeModeCompletionInfo.lua b/api/GetChallengeModeCompletionInfo.lua index 3aa54f5..5b25a9b 100644 --- a/api/GetChallengeModeCompletionInfo.lua +++ b/api/GetChallengeModeCompletionInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChallengeModeCompletionInfo() end diff --git a/api/GetChallengeModeCompletionReward.lua b/api/GetChallengeModeCompletionReward.lua index fcda181..0b351b7 100644 --- a/api/GetChallengeModeCompletionReward.lua +++ b/api/GetChallengeModeCompletionReward.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChallengeModeCompletionReward() end diff --git a/api/GetChallengeModeLeaderInfo.lua b/api/GetChallengeModeLeaderInfo.lua index 7d2b452..1cae456 100644 --- a/api/GetChallengeModeLeaderInfo.lua +++ b/api/GetChallengeModeLeaderInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChallengeModeLeaderInfo() end diff --git a/api/GetChallengeModeMapInfo.lua b/api/GetChallengeModeMapInfo.lua index 0436445..7e2a82f 100644 --- a/api/GetChallengeModeMapInfo.lua +++ b/api/GetChallengeModeMapInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChallengeModeMapInfo() end diff --git a/api/GetChallengeModeMapPlayerStats.lua b/api/GetChallengeModeMapPlayerStats.lua index 5722c2d..d09a36f 100644 --- a/api/GetChallengeModeMapPlayerStats.lua +++ b/api/GetChallengeModeMapPlayerStats.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChallengeModeMapPlayerStats() end diff --git a/api/GetChallengeModeMapTable.lua b/api/GetChallengeModeMapTable.lua index 5514acf..f0a883c 100644 --- a/api/GetChallengeModeMapTable.lua +++ b/api/GetChallengeModeMapTable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChallengeModeMapTable() end diff --git a/api/GetChallengeModeMapTimes.lua b/api/GetChallengeModeMapTimes.lua index 834c1cc..c79220b 100644 --- a/api/GetChallengeModeMapTimes.lua +++ b/api/GetChallengeModeMapTimes.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChallengeModeMapTimes() end diff --git a/api/GetChannelDisplayInfo.lua b/api/GetChannelDisplayInfo.lua index 5cce7fe..ea7c4b9 100644 --- a/api/GetChannelDisplayInfo.lua +++ b/api/GetChannelDisplayInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetChannelList.lua b/api/GetChannelList.lua index 4c1968a..a293ebd 100644 --- a/api/GetChannelList.lua +++ b/api/GetChannelList.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---@return string channel diff --git a/api/GetChannelName.lua b/api/GetChannelName.lua index fa9a408..71c2114 100644 --- a/api/GetChannelName.lua +++ b/api/GetChannelName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channelIndex number ---@param channelName string diff --git a/api/GetChannelRosterInfo.lua b/api/GetChannelRosterInfo.lua index c696448..bfd9388 100644 --- a/api/GetChannelRosterInfo.lua +++ b/api/GetChannelRosterInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param rosterIndex number diff --git a/api/GetChatTypeIndex.lua b/api/GetChatTypeIndex.lua index 7d8587e..cecdbba 100644 --- a/api/GetChatTypeIndex.lua +++ b/api/GetChatTypeIndex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param messageGroup string ---@return number index diff --git a/api/GetChatWindowChannels.lua b/api/GetChatWindowChannels.lua index c9db3ab..20efec4 100644 --- a/api/GetChatWindowChannels.lua +++ b/api/GetChatWindowChannels.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string channelName diff --git a/api/GetChatWindowInfo.lua b/api/GetChatWindowInfo.lua index b550afc..e18f69e 100644 --- a/api/GetChatWindowInfo.lua +++ b/api/GetChatWindowInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetChatWindowMessages.lua b/api/GetChatWindowMessages.lua index 2721a71..f150d14 100644 --- a/api/GetChatWindowMessages.lua +++ b/api/GetChatWindowMessages.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return list ... diff --git a/api/GetChatWindowSavedDimensions.lua b/api/GetChatWindowSavedDimensions.lua index 4ce3f6e..b3c1547 100644 --- a/api/GetChatWindowSavedDimensions.lua +++ b/api/GetChatWindowSavedDimensions.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChatWindowSavedDimensions() end diff --git a/api/GetChatWindowSavedPosition.lua b/api/GetChatWindowSavedPosition.lua index debe471..d74e62d 100644 --- a/api/GetChatWindowSavedPosition.lua +++ b/api/GetChatWindowSavedPosition.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetChatWindowSavedPosition() end diff --git a/api/GetClassInfo.lua b/api/GetClassInfo.lua index 5540374..3d237a1 100644 --- a/api/GetClassInfo.lua +++ b/api/GetClassInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetClassInfo() end diff --git a/api/GetClassInfoByID.lua b/api/GetClassInfoByID.lua index 8809688..2747040 100644 --- a/api/GetClassInfoByID.lua +++ b/api/GetClassInfoByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetClassInfoByID() end diff --git a/api/GetClickFrame.lua b/api/GetClickFrame.lua index 4edace2..a14791a 100644 --- a/api/GetClickFrame.lua +++ b/api/GetClickFrame.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@return table frame diff --git a/api/GetCoinIcon.lua b/api/GetCoinIcon.lua index c9c15d5..3abb665 100644 --- a/api/GetCoinIcon.lua +++ b/api/GetCoinIcon.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param amount number ---@return Interface\Icons\INV_Misc_Coin_06 icon diff --git a/api/GetCoinText.lua b/api/GetCoinText.lua index c2b2237..16a5396 100644 --- a/api/GetCoinText.lua +++ b/api/GetCoinText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param amount number ---@param separator string diff --git a/api/GetCoinTextureString.lua b/api/GetCoinTextureString.lua index 1902309..f395429 100644 --- a/api/GetCoinTextureString.lua +++ b/api/GetCoinTextureString.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param amount number ---@param fontSize number diff --git a/api/GetCombatRating.lua b/api/GetCombatRating.lua index c593cd6..e35837a 100644 --- a/api/GetCombatRating.lua +++ b/api/GetCombatRating.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param ratingIndex CR_WEAPON_SKILL_RANGED ---@param CR_BLOCK diff --git a/api/GetCombatRatingBonus.lua b/api/GetCombatRatingBonus.lua index 12ede3b..8aa4163 100644 --- a/api/GetCombatRatingBonus.lua +++ b/api/GetCombatRatingBonus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param ratingIndex CR_WEAPON_SKILL_RANGED ---@param CR_BLOCK diff --git a/api/GetComboPoints.lua b/api/GetComboPoints.lua index 0d8514c..0a6a982 100644 --- a/api/GetComboPoints.lua +++ b/api/GetComboPoints.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param target string diff --git a/api/GetCompanionInfo.lua b/api/GetCompanionInfo.lua index c214a57..1febd26 100644 --- a/api/GetCompanionInfo.lua +++ b/api/GetCompanionInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param type MOUNT ---@param CRITTER diff --git a/api/GetComparisonAchievementPoints.lua b/api/GetComparisonAchievementPoints.lua index 27a12b4..87a2796 100644 --- a/api/GetComparisonAchievementPoints.lua +++ b/api/GetComparisonAchievementPoints.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number points ---Returns the comparison unit's total achievement points earned.   Only accurate once the INSPECT_ACHIEVEMENT_READY event has fired following a call to SetAchievementComparisonUnit(). No longer accurate once ClearAchievementComparisonUnit() is called. diff --git a/api/GetComparisonCategoryNumAchievements.lua b/api/GetComparisonCategoryNumAchievements.lua index 60b035c..852a895 100644 --- a/api/GetComparisonCategoryNumAchievements.lua +++ b/api/GetComparisonCategoryNumAchievements.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return number numCompleted diff --git a/api/GetComparisonStatistic.lua b/api/GetComparisonStatistic.lua index b9ed9eb..63ea886 100644 --- a/api/GetComparisonStatistic.lua +++ b/api/GetComparisonStatistic.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return string info diff --git a/api/GetContainerFreeSlots.lua b/api/GetContainerFreeSlots.lua index 093a4da..2a4c345 100644 --- a/api/GetContainerFreeSlots.lua +++ b/api/GetContainerFreeSlots.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param returnTable table diff --git a/api/GetContainerItemCooldown.lua b/api/GetContainerItemCooldown.lua index 24c808d..955a7a0 100644 --- a/api/GetContainerItemCooldown.lua +++ b/api/GetContainerItemCooldown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param slot number diff --git a/api/GetContainerItemDurability.lua b/api/GetContainerItemDurability.lua index 45b89a2..3329193 100644 --- a/api/GetContainerItemDurability.lua +++ b/api/GetContainerItemDurability.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param slot number diff --git a/api/GetContainerItemEquipmentSetInfo.lua b/api/GetContainerItemEquipmentSetInfo.lua index c5db0c0..eb55386 100644 --- a/api/GetContainerItemEquipmentSetInfo.lua +++ b/api/GetContainerItemEquipmentSetInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param slot number diff --git a/api/GetContainerItemGems.lua b/api/GetContainerItemGems.lua index 626bc59..b93a876 100644 --- a/api/GetContainerItemGems.lua +++ b/api/GetContainerItemGems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container bagID ---@param slot number diff --git a/api/GetContainerItemID.lua b/api/GetContainerItemID.lua index 28d11e3..523baca 100644 --- a/api/GetContainerItemID.lua +++ b/api/GetContainerItemID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param slot number diff --git a/api/GetContainerItemInfo.lua b/api/GetContainerItemInfo.lua index b03863b..75f6ea1 100644 --- a/api/GetContainerItemInfo.lua +++ b/api/GetContainerItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param slot number diff --git a/api/GetContainerItemLink.lua b/api/GetContainerItemLink.lua index 55e446e..2a2bd41 100644 --- a/api/GetContainerItemLink.lua +++ b/api/GetContainerItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param slot number diff --git a/api/GetContainerItemPurchaseCurrency.lua b/api/GetContainerItemPurchaseCurrency.lua index 2b1de68..b987bfb 100644 --- a/api/GetContainerItemPurchaseCurrency.lua +++ b/api/GetContainerItemPurchaseCurrency.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetContainerItemPurchaseCurrency() end diff --git a/api/GetContainerItemPurchaseInfo.lua b/api/GetContainerItemPurchaseInfo.lua index 39cea81..28e9aba 100644 --- a/api/GetContainerItemPurchaseInfo.lua +++ b/api/GetContainerItemPurchaseInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param slot number diff --git a/api/GetContainerItemPurchaseItem.lua b/api/GetContainerItemPurchaseItem.lua index f02e96a..29bcb24 100644 --- a/api/GetContainerItemPurchaseItem.lua +++ b/api/GetContainerItemPurchaseItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param slot number diff --git a/api/GetContainerItemQuestInfo.lua b/api/GetContainerItemQuestInfo.lua index b680850..bc30720 100644 --- a/api/GetContainerItemQuestInfo.lua +++ b/api/GetContainerItemQuestInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param slot number diff --git a/api/GetContainerNumFreeSlots.lua b/api/GetContainerNumFreeSlots.lua index 6bed7dc..f8de86c 100644 --- a/api/GetContainerNumFreeSlots.lua +++ b/api/GetContainerNumFreeSlots.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@return number freeSlots diff --git a/api/GetContainerNumSlots.lua b/api/GetContainerNumSlots.lua index c2af8a5..cfdbb11 100644 --- a/api/GetContainerNumSlots.lua +++ b/api/GetContainerNumSlots.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@return number numSlots diff --git a/api/GetContinentMapInfo.lua b/api/GetContinentMapInfo.lua index 7d13cc2..0656eaf 100644 --- a/api/GetContinentMapInfo.lua +++ b/api/GetContinentMapInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetContinentMapInfo() end diff --git a/api/GetContinentMaps.lua b/api/GetContinentMaps.lua index 8819f0d..236f032 100644 --- a/api/GetContinentMaps.lua +++ b/api/GetContinentMaps.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetContinentMaps() end diff --git a/api/GetCorpseMapPosition.lua b/api/GetCorpseMapPosition.lua index de194ca..d7bb52f 100644 --- a/api/GetCorpseMapPosition.lua +++ b/api/GetCorpseMapPosition.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number corpseX ---@return number corpseY diff --git a/api/GetCorpseRecoveryDelay.lua b/api/GetCorpseRecoveryDelay.lua index 6119c9c..a9c63f2 100644 --- a/api/GetCorpseRecoveryDelay.lua +++ b/api/GetCorpseRecoveryDelay.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number timeLeft ---Returns the amount of time left until the player can recover their corpse. Applies to resurrection spells offered by other units, resurrecting by returning to the player's corpse as a ghost, and to resurrecting at a graveyard's spirit healer, if the player has recently died several times in short succession. diff --git a/api/GetCritChance.lua b/api/GetCritChance.lua index 9b03045..17b73c2 100644 --- a/api/GetCritChance.lua +++ b/api/GetCritChance.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number critChance ---Returns the player's melee critical strike chance diff --git a/api/GetCritChanceFromAgility.lua b/api/GetCritChanceFromAgility.lua index 0be45c4..d71ff23 100644 --- a/api/GetCritChanceFromAgility.lua +++ b/api/GetCritChanceFromAgility.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number critChance diff --git a/api/GetCritChanceProvidesParryEffect.lua b/api/GetCritChanceProvidesParryEffect.lua index 077ba0c..4e73283 100644 --- a/api/GetCritChanceProvidesParryEffect.lua +++ b/api/GetCritChanceProvidesParryEffect.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetCritChanceProvidesParryEffect() end diff --git a/api/GetCriteriaSpell.lua b/api/GetCriteriaSpell.lua index 8434315..25739ef 100644 --- a/api/GetCriteriaSpell.lua +++ b/api/GetCriteriaSpell.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetCriteriaSpell() end diff --git a/api/GetCurrencyInfo.lua b/api/GetCurrencyInfo.lua index 80f0401..08c483a 100644 --- a/api/GetCurrencyInfo.lua +++ b/api/GetCurrencyInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return string name diff --git a/api/GetCurrencyLink.lua b/api/GetCurrencyLink.lua index e398d46..d14405b 100644 --- a/api/GetCurrencyLink.lua +++ b/api/GetCurrencyLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return string link diff --git a/api/GetCurrencyListInfo.lua b/api/GetCurrencyListInfo.lua index 72e801f..3ed46f2 100644 --- a/api/GetCurrencyListInfo.lua +++ b/api/GetCurrencyListInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetCurrencyListLink.lua b/api/GetCurrencyListLink.lua index 8d9484a..4219235 100644 --- a/api/GetCurrencyListLink.lua +++ b/api/GetCurrencyListLink.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetCurrencyListLink() end diff --git a/api/GetCurrencyListSize.lua b/api/GetCurrencyListSize.lua index 6e9237a..e165f77 100644 --- a/api/GetCurrencyListSize.lua +++ b/api/GetCurrencyListSize.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numEntries ---Returns the number of list entries to show in the Currency UI diff --git a/api/GetCurrentArenaSeason.lua b/api/GetCurrentArenaSeason.lua index a700d31..503baf4 100644 --- a/api/GetCurrentArenaSeason.lua +++ b/api/GetCurrentArenaSeason.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number season ---Returns a number identifying the current arena season. New arena seasons begin every few months, resetting team rankings and providing new rewards. diff --git a/api/GetCurrentBindingSet.lua b/api/GetCurrentBindingSet.lua index 02d96b4..4954bbd 100644 --- a/api/GetCurrentBindingSet.lua +++ b/api/GetCurrentBindingSet.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 2 bindingSet ---@return 1 diff --git a/api/GetCurrentGraphicsSetting.lua b/api/GetCurrentGraphicsSetting.lua index 86086bc..6436adb 100644 --- a/api/GetCurrentGraphicsSetting.lua +++ b/api/GetCurrentGraphicsSetting.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetCurrentGraphicsSetting() end diff --git a/api/GetCurrentGuildBankTab.lua b/api/GetCurrentGuildBankTab.lua index 2885b8e..7873c3a 100644 --- a/api/GetCurrentGuildBankTab.lua +++ b/api/GetCurrentGuildBankTab.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the currently selected guild bank tab diff --git a/api/GetCurrentKeyBoardFocus.lua b/api/GetCurrentKeyBoardFocus.lua index 4a07e30..9c99d93 100644 --- a/api/GetCurrentKeyBoardFocus.lua +++ b/api/GetCurrentKeyBoardFocus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return table frame ---Returns the frame currently handling keyboard input. Typically an EditBox diff --git a/api/GetCurrentLevelDraenorTalent.lua b/api/GetCurrentLevelDraenorTalent.lua index b8010ce..d685c87 100644 --- a/api/GetCurrentLevelDraenorTalent.lua +++ b/api/GetCurrentLevelDraenorTalent.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetCurrentLevelDraenorTalent() end diff --git a/api/GetCurrentLevelSpells.lua b/api/GetCurrentLevelSpells.lua index 5dbce97..e315971 100644 --- a/api/GetCurrentLevelSpells.lua +++ b/api/GetCurrentLevelSpells.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetCurrentLevelSpells() end diff --git a/api/GetCurrentMapAreaID.lua b/api/GetCurrentMapAreaID.lua index fb653e4..3729c6e 100644 --- a/api/GetCurrentMapAreaID.lua +++ b/api/GetCurrentMapAreaID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number areaID ---Returns an ID number for the current map zone. Currently only used in the default UI to determine whether the Wintergrasp map is showing (and if so, display the time remaining until the next battle). diff --git a/api/GetCurrentMapContinent.lua b/api/GetCurrentMapContinent.lua index b88fd98..f94af4e 100644 --- a/api/GetCurrentMapContinent.lua +++ b/api/GetCurrentMapContinent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 7 continent ---@return -1 diff --git a/api/GetCurrentMapDungeonLevel.lua b/api/GetCurrentMapDungeonLevel.lua index be08353..14fc932 100644 --- a/api/GetCurrentMapDungeonLevel.lua +++ b/api/GetCurrentMapDungeonLevel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number dungeonLevel ---@return number x1 diff --git a/api/GetCurrentMapHeaderIndex.lua b/api/GetCurrentMapHeaderIndex.lua index 4487f08..834944b 100644 --- a/api/GetCurrentMapHeaderIndex.lua +++ b/api/GetCurrentMapHeaderIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetCurrentMapHeaderIndex() end diff --git a/api/GetCurrentMapLevelRange.lua b/api/GetCurrentMapLevelRange.lua index 62a7f97..7b7f3fc 100644 --- a/api/GetCurrentMapLevelRange.lua +++ b/api/GetCurrentMapLevelRange.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number minLevel ---@return number maxLevel diff --git a/api/GetCurrentMapZone.lua b/api/GetCurrentMapZone.lua index adb938b..6949113 100644 --- a/api/GetCurrentMapZone.lua +++ b/api/GetCurrentMapZone.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number zone ---Returns the current world map zone diff --git a/api/GetCurrentResolution.lua b/api/GetCurrentResolution.lua index f06dec3..beebfdb 100644 --- a/api/GetCurrentResolution.lua +++ b/api/GetCurrentResolution.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the index of the current resolution setting. For the dimensions of a resolution setting, use GetScreenResolutions(). diff --git a/api/GetCurrentTitle.lua b/api/GetCurrentTitle.lua index 55c1af2..b1414ae 100644 --- a/api/GetCurrentTitle.lua +++ b/api/GetCurrentTitle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return integer currentTitle ---Returns the currently selected player title diff --git a/api/GetCursorInfo.lua b/api/GetCursorInfo.lua index 3d26980..7f5c0b0 100644 --- a/api/GetCursorInfo.lua +++ b/api/GetCursorInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return spell type ---@return battlepet diff --git a/api/GetCursorMoney.lua b/api/GetCursorMoney.lua index b0ebf26..f171bc1 100644 --- a/api/GetCursorMoney.lua +++ b/api/GetCursorMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number cursorMoney ---Returns the amount of money currently on the cursor diff --git a/api/GetCursorPosition.lua b/api/GetCursorPosition.lua index 8269218..27f1b6c 100644 --- a/api/GetCursorPosition.lua +++ b/api/GetCursorPosition.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number cursorX ---@return number cursorY diff --git a/api/GetDailyQuestsCompleted.lua b/api/GetDailyQuestsCompleted.lua index 58aec24..13c22f3 100644 --- a/api/GetDailyQuestsCompleted.lua +++ b/api/GetDailyQuestsCompleted.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number dailyQuestsComplete ---Returns the number of daily quests the player has completed today. The daily quest period resets at or around 3:00 AM server time on most realms. diff --git a/api/GetDeathReleasePosition.lua b/api/GetDeathReleasePosition.lua index 16f365c..0353c03 100644 --- a/api/GetDeathReleasePosition.lua +++ b/api/GetDeathReleasePosition.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number graveyardX ---@return number graveyardY diff --git a/api/GetDebugAnimationStats.lua b/api/GetDebugAnimationStats.lua index e90e6cf..f633fd2 100644 --- a/api/GetDebugAnimationStats.lua +++ b/api/GetDebugAnimationStats.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetDebugAnimationStats() end diff --git a/api/GetDebugSpellEffects.lua b/api/GetDebugSpellEffects.lua index 7c5b00c..ae6b790 100644 --- a/api/GetDebugSpellEffects.lua +++ b/api/GetDebugSpellEffects.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetDebugSpellEffects() end diff --git a/api/GetDebugStats.lua b/api/GetDebugStats.lua index c6f357c..afe40ec 100644 --- a/api/GetDebugStats.lua +++ b/api/GetDebugStats.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetDebugStats() end diff --git a/api/GetDebugZoneMap.lua b/api/GetDebugZoneMap.lua index 008a713..08c179f 100644 --- a/api/GetDebugZoneMap.lua +++ b/api/GetDebugZoneMap.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetDebugZoneMap() end diff --git a/api/GetDefaultLanguage.lua b/api/GetDefaultLanguage.lua index a3fdb27..6c383a5 100644 --- a/api/GetDefaultLanguage.lua +++ b/api/GetDefaultLanguage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string language ---Returns the name of the player character's default language. This is the language used in the chat system (Common or Orcish, as opposed to Taurahe, Darnassian, etc), not the real-world language of the client or server. diff --git a/api/GetDefaultVideoOptions.lua b/api/GetDefaultVideoOptions.lua index 92712ff..919b634 100644 --- a/api/GetDefaultVideoOptions.lua +++ b/api/GetDefaultVideoOptions.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetDefaultVideoOptions() end diff --git a/api/GetDefaultVideoQualityOption.lua b/api/GetDefaultVideoQualityOption.lua index e90b480..2318f2e 100644 --- a/api/GetDefaultVideoQualityOption.lua +++ b/api/GetDefaultVideoQualityOption.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetDefaultVideoQualityOption() end diff --git a/api/GetDistanceSqToQuest.lua b/api/GetDistanceSqToQuest.lua index 78a3368..ea64304 100644 --- a/api/GetDistanceSqToQuest.lua +++ b/api/GetDistanceSqToQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number distance diff --git a/api/GetDodgeChance.lua b/api/GetDodgeChance.lua index c3d0e7f..08132fc 100644 --- a/api/GetDodgeChance.lua +++ b/api/GetDodgeChance.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number chance ---Returns the player's chance to dodge melee attacks diff --git a/api/GetDungeonDifficultyID.lua b/api/GetDungeonDifficultyID.lua index 8bae1f4..697954e 100644 --- a/api/GetDungeonDifficultyID.lua +++ b/api/GetDungeonDifficultyID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetDungeonDifficultyID() end diff --git a/api/GetDungeonMapInfo.lua b/api/GetDungeonMapInfo.lua index aa11685..723fab8 100644 --- a/api/GetDungeonMapInfo.lua +++ b/api/GetDungeonMapInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetDungeonMapInfo() end diff --git a/api/GetDungeonMaps.lua b/api/GetDungeonMaps.lua index 8308c09..89a5a61 100644 --- a/api/GetDungeonMaps.lua +++ b/api/GetDungeonMaps.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetDungeonMaps() end diff --git a/api/GetEclipseDirection.lua b/api/GetEclipseDirection.lua index 303fd70..2deffa2 100644 --- a/api/GetEclipseDirection.lua +++ b/api/GetEclipseDirection.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string direction ---Returns the direction in which the players eclipse is moving. diff --git a/api/GetEquipmentSetIgnoreSlots.lua b/api/GetEquipmentSetIgnoreSlots.lua index 3472642..4e458c0 100644 --- a/api/GetEquipmentSetIgnoreSlots.lua +++ b/api/GetEquipmentSetIgnoreSlots.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetEquipmentSetIgnoreSlots() end diff --git a/api/GetEquipmentSetInfo.lua b/api/GetEquipmentSetInfo.lua index 65d7774..5bedc88 100644 --- a/api/GetEquipmentSetInfo.lua +++ b/api/GetEquipmentSetInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetEquipmentSetInfoByName.lua b/api/GetEquipmentSetInfoByName.lua index 610b331..21bf375 100644 --- a/api/GetEquipmentSetInfoByName.lua +++ b/api/GetEquipmentSetInfoByName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@return string icon diff --git a/api/GetEquipmentSetItemIDs.lua b/api/GetEquipmentSetItemIDs.lua index 2a02c20..61fa892 100644 --- a/api/GetEquipmentSetItemIDs.lua +++ b/api/GetEquipmentSetItemIDs.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@return table itemIDs diff --git a/api/GetEquipmentSetLocations.lua b/api/GetEquipmentSetLocations.lua index eb472f3..900c102 100644 --- a/api/GetEquipmentSetLocations.lua +++ b/api/GetEquipmentSetLocations.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@return table itemIDs diff --git a/api/GetEventCPUUsage.lua b/api/GetEventCPUUsage.lua index 1c40594..f9e3527 100644 --- a/api/GetEventCPUUsage.lua +++ b/api/GetEventCPUUsage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param event string ---@return number usage diff --git a/api/GetEventTime.lua b/api/GetEventTime.lua index 9588243..1d46be4 100644 --- a/api/GetEventTime.lua +++ b/api/GetEventTime.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetEventTime() end diff --git a/api/GetExistingSocketInfo.lua b/api/GetExistingSocketInfo.lua index 51cf167..953ea24 100644 --- a/api/GetExistingSocketInfo.lua +++ b/api/GetExistingSocketInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetExistingSocketLink.lua b/api/GetExistingSocketLink.lua index aa5a3a3..9c04d39 100644 --- a/api/GetExistingSocketLink.lua +++ b/api/GetExistingSocketLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string link diff --git a/api/GetExpansionLevel.lua b/api/GetExpansionLevel.lua index 493c4d6..e4a30b5 100644 --- a/api/GetExpansionLevel.lua +++ b/api/GetExpansionLevel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 4 expansion ---@return 0 diff --git a/api/GetExpertise.lua b/api/GetExpertise.lua index 783346e..65b1f78 100644 --- a/api/GetExpertise.lua +++ b/api/GetExpertise.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number expertise ---Returns the player's current expertise value diff --git a/api/GetExtendedItemInfo.lua b/api/GetExtendedItemInfo.lua index 922bb92..6734a36 100644 --- a/api/GetExtendedItemInfo.lua +++ b/api/GetExtendedItemInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetExtendedItemInfo() end diff --git a/api/GetExtraBarIndex.lua b/api/GetExtraBarIndex.lua index 3f09a5b..e20601d 100644 --- a/api/GetExtraBarIndex.lua +++ b/api/GetExtraBarIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetExtraBarIndex() end diff --git a/api/GetFacialHairCustomization.lua b/api/GetFacialHairCustomization.lua index bca0fa7..2ec4bc3 100644 --- a/api/GetFacialHairCustomization.lua +++ b/api/GetFacialHairCustomization.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string token ---Returns a token used for displaying facial feature customization options. The token referred to by this function can be used to look up a global variable containing localized names for the customization options available to the player's race at character creation time and in the Barbershop UI; see example. diff --git a/api/GetFactionInfo.lua b/api/GetFactionInfo.lua index 93ce3a9..58669a6 100644 --- a/api/GetFactionInfo.lua +++ b/api/GetFactionInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetFactionInfoByID.lua b/api/GetFactionInfoByID.lua index 12b3c14..36e2809 100644 --- a/api/GetFactionInfoByID.lua +++ b/api/GetFactionInfoByID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param factionID number ---@return string name diff --git a/api/GetFirstTradeSkill.lua b/api/GetFirstTradeSkill.lua index 8918ed1..7d546f4 100644 --- a/api/GetFirstTradeSkill.lua +++ b/api/GetFirstTradeSkill.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the index of the first non-header in the trade skill listing diff --git a/api/GetFlexRaidDungeonInfo.lua b/api/GetFlexRaidDungeonInfo.lua index 11ee280..274aa54 100644 --- a/api/GetFlexRaidDungeonInfo.lua +++ b/api/GetFlexRaidDungeonInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetFlexRaidDungeonInfo() end diff --git a/api/GetFlyoutID.lua b/api/GetFlyoutID.lua index e805011..0b04bca 100644 --- a/api/GetFlyoutID.lua +++ b/api/GetFlyoutID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number flyoutID diff --git a/api/GetFlyoutInfo.lua b/api/GetFlyoutInfo.lua index d909f31..250ba87 100644 --- a/api/GetFlyoutInfo.lua +++ b/api/GetFlyoutInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return string name diff --git a/api/GetFlyoutSlotInfo.lua b/api/GetFlyoutSlotInfo.lua index 331c560..4afb030 100644 --- a/api/GetFlyoutSlotInfo.lua +++ b/api/GetFlyoutSlotInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param flyoutID number ---@param slot number diff --git a/api/GetFrameCPUUsage.lua b/api/GetFrameCPUUsage.lua index ac3ce80..bb51554 100644 --- a/api/GetFrameCPUUsage.lua +++ b/api/GetFrameCPUUsage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param frame table ---@param includeChildren boolean diff --git a/api/GetFramerate.lua b/api/GetFramerate.lua index a65f315..a811bf0 100644 --- a/api/GetFramerate.lua +++ b/api/GetFramerate.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number framerate ---Returns the number of frames per second rendered by the client diff --git a/api/GetFramesRegisteredForEvent.lua b/api/GetFramesRegisteredForEvent.lua index 6bcbca4..0069bb3 100644 --- a/api/GetFramesRegisteredForEvent.lua +++ b/api/GetFramesRegisteredForEvent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param event string ---@return list ... diff --git a/api/GetFriendInfo.lua b/api/GetFriendInfo.lua index b9fdee7..e7cf30d 100644 --- a/api/GetFriendInfo.lua +++ b/api/GetFriendInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetFunctionCPUUsage.lua b/api/GetFunctionCPUUsage.lua index 96dba6f..5413b3d 100644 --- a/api/GetFunctionCPUUsage.lua +++ b/api/GetFunctionCPUUsage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param function function ---@param includeSubroutines boolean diff --git a/api/GetGMStatus.lua b/api/GetGMStatus.lua index 5dc4a6c..aec51b3 100644 --- a/api/GetGMStatus.lua +++ b/api/GetGMStatus.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGMStatus() end diff --git a/api/GetGMTicket.lua b/api/GetGMTicket.lua index 821e776..e5f8b7a 100644 --- a/api/GetGMTicket.lua +++ b/api/GetGMTicket.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests GM ticket status from the server. The UPDATE_TICKET event fires when data is ready. function GetGMTicket() end diff --git a/api/GetGMTicketCategories.lua b/api/GetGMTicketCategories.lua index d006e5d..8d4ef2f 100644 --- a/api/GetGMTicketCategories.lua +++ b/api/GetGMTicketCategories.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string ... ---Returns a list of available GM ticket categories. No longer used in the current GM Help UI. diff --git a/api/GetGameTime.lua b/api/GetGameTime.lua index e2aa66b..703cf1c 100644 --- a/api/GetGameTime.lua +++ b/api/GetGameTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number hour ---@return number minute diff --git a/api/GetGamma.lua b/api/GetGamma.lua index f700aff..e25b479 100644 --- a/api/GetGamma.lua +++ b/api/GetGamma.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number gamma ---Returns the current display gamma setting. Gamma value determines the contrast between lighter and darker portions of the game display; for a detailed explanation see the Wikipedia entry on Gamma correction entry. diff --git a/api/GetGlyphClearInfo.lua b/api/GetGlyphClearInfo.lua index ef2b407..287a7fb 100644 --- a/api/GetGlyphClearInfo.lua +++ b/api/GetGlyphClearInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGlyphClearInfo() end diff --git a/api/GetGlyphInfo.lua b/api/GetGlyphInfo.lua index 578b752..2c24948 100644 --- a/api/GetGlyphInfo.lua +++ b/api/GetGlyphInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetGlyphLink.lua b/api/GetGlyphLink.lua index 4fd3a36..a8784a5 100644 --- a/api/GetGlyphLink.lua +++ b/api/GetGlyphLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param socket number ---@param talentGroup nil diff --git a/api/GetGlyphLinkByID.lua b/api/GetGlyphLinkByID.lua index 72087ba..0034ede 100644 --- a/api/GetGlyphLinkByID.lua +++ b/api/GetGlyphLinkByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGlyphLinkByID() end diff --git a/api/GetGlyphSocketInfo.lua b/api/GetGlyphSocketInfo.lua index feb2129..44dea34 100644 --- a/api/GetGlyphSocketInfo.lua +++ b/api/GetGlyphSocketInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param socket number ---@param talentGroup nil diff --git a/api/GetGossipActiveQuests.lua b/api/GetGossipActiveQuests.lua index d01cfad..60998fa 100644 --- a/api/GetGossipActiveQuests.lua +++ b/api/GetGossipActiveQuests.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string name ---@return number level diff --git a/api/GetGossipAvailableQuests.lua b/api/GetGossipAvailableQuests.lua index ab72406..05cc463 100644 --- a/api/GetGossipAvailableQuests.lua +++ b/api/GetGossipAvailableQuests.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string name ---@return number level diff --git a/api/GetGossipOptions.lua b/api/GetGossipOptions.lua index d12dce7..39abefb 100644 --- a/api/GetGossipOptions.lua +++ b/api/GetGossipOptions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string text ---@return Vendor gossipType diff --git a/api/GetGossipText.lua b/api/GetGossipText.lua index 8146777..c960dfa 100644 --- a/api/GetGossipText.lua +++ b/api/GetGossipText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string text ---Returns greeting or other text to be displayed in an NPC dialog diff --git a/api/GetGraphicsAPIs.lua b/api/GetGraphicsAPIs.lua index 13d0bea..625ce98 100644 --- a/api/GetGraphicsAPIs.lua +++ b/api/GetGraphicsAPIs.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGraphicsAPIs() end diff --git a/api/GetGreetingText.lua b/api/GetGreetingText.lua index 1a17d09..d79925b 100644 --- a/api/GetGreetingText.lua +++ b/api/GetGreetingText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string greetingText ---Returns the greeting text displayed for quest NPCs with multiple quests. Not used often; most quest NPCs offering multiple quests (and/or other options) use the Gossip functions to provide a greeting (see GetGossipText()). diff --git a/api/GetGuildAchievementMemberInfo.lua b/api/GetGuildAchievementMemberInfo.lua index bede343..98abe54 100644 --- a/api/GetGuildAchievementMemberInfo.lua +++ b/api/GetGuildAchievementMemberInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildAchievementMemberInfo() end diff --git a/api/GetGuildAchievementMembers.lua b/api/GetGuildAchievementMembers.lua index a6e2768..ef2e84f 100644 --- a/api/GetGuildAchievementMembers.lua +++ b/api/GetGuildAchievementMembers.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildAchievementMembers() end diff --git a/api/GetGuildAchievementNumMembers.lua b/api/GetGuildAchievementNumMembers.lua index a2b19f8..a2e5a7b 100644 --- a/api/GetGuildAchievementNumMembers.lua +++ b/api/GetGuildAchievementNumMembers.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildAchievementNumMembers() end diff --git a/api/GetGuildApplicantInfo.lua b/api/GetGuildApplicantInfo.lua index 3e0034f..37d5b8a 100644 --- a/api/GetGuildApplicantInfo.lua +++ b/api/GetGuildApplicantInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildApplicantInfo() end diff --git a/api/GetGuildApplicantSelection.lua b/api/GetGuildApplicantSelection.lua index eadd5f0..12c9b89 100644 --- a/api/GetGuildApplicantSelection.lua +++ b/api/GetGuildApplicantSelection.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildApplicantSelection() end diff --git a/api/GetGuildBankBonusDepositMoney.lua b/api/GetGuildBankBonusDepositMoney.lua index 628ef2c..89c99bb 100644 --- a/api/GetGuildBankBonusDepositMoney.lua +++ b/api/GetGuildBankBonusDepositMoney.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildBankBonusDepositMoney() end diff --git a/api/GetGuildBankItemInfo.lua b/api/GetGuildBankItemInfo.lua index 8bf33d9..5861ad8 100644 --- a/api/GetGuildBankItemInfo.lua +++ b/api/GetGuildBankItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@param slot number diff --git a/api/GetGuildBankItemLink.lua b/api/GetGuildBankItemLink.lua index 2b075ab..7bb9b09 100644 --- a/api/GetGuildBankItemLink.lua +++ b/api/GetGuildBankItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@param slot number diff --git a/api/GetGuildBankMoney.lua b/api/GetGuildBankMoney.lua index 28a0513..70d5d78 100644 --- a/api/GetGuildBankMoney.lua +++ b/api/GetGuildBankMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number guildBankMoney ---Returns the amount of money in the guild bank. The return value is cached and returns the last value seen when not interacting with a guild bank vault. This cache works across characters, and is updated when the GUILDBANK_UPDATE_MONEY or GUILDBANKFRAME_OPENED event fires. If no player character has accessed a guild bank since the game client was launched, this function returns 0. diff --git a/api/GetGuildBankMoneyTransaction.lua b/api/GetGuildBankMoneyTransaction.lua index 3b7b687..cfb46e4 100644 --- a/api/GetGuildBankMoneyTransaction.lua +++ b/api/GetGuildBankMoneyTransaction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return withdraw type diff --git a/api/GetGuildBankTabCost.lua b/api/GetGuildBankTabCost.lua index 8595196..3d4e71d 100644 --- a/api/GetGuildBankTabCost.lua +++ b/api/GetGuildBankTabCost.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number tabCost ---Returns the cost of the next available guild bank tab diff --git a/api/GetGuildBankTabInfo.lua b/api/GetGuildBankTabInfo.lua index a683f7d..9150738 100644 --- a/api/GetGuildBankTabInfo.lua +++ b/api/GetGuildBankTabInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@return string name diff --git a/api/GetGuildBankTabPermissions.lua b/api/GetGuildBankTabPermissions.lua index ff032e4..12e57b5 100644 --- a/api/GetGuildBankTabPermissions.lua +++ b/api/GetGuildBankTabPermissions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@return 1nil canView diff --git a/api/GetGuildBankText.lua b/api/GetGuildBankText.lua index 3d9afea..d3b1f36 100644 --- a/api/GetGuildBankText.lua +++ b/api/GetGuildBankText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@return string text diff --git a/api/GetGuildBankTransaction.lua b/api/GetGuildBankTransaction.lua index b4c739b..53c1901 100644 --- a/api/GetGuildBankTransaction.lua +++ b/api/GetGuildBankTransaction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@param index number diff --git a/api/GetGuildBankWithdrawGoldLimit.lua b/api/GetGuildBankWithdrawGoldLimit.lua index 54341d0..1bc89d6 100644 --- a/api/GetGuildBankWithdrawGoldLimit.lua +++ b/api/GetGuildBankWithdrawGoldLimit.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildBankWithdrawGoldLimit() end diff --git a/api/GetGuildBankWithdrawMoney.lua b/api/GetGuildBankWithdrawMoney.lua index c08e22f..e7eb6c9 100644 --- a/api/GetGuildBankWithdrawMoney.lua +++ b/api/GetGuildBankWithdrawMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number withdrawLimit ---Returns the amount of money the player is allowed to withdraw from the guild bank per day diff --git a/api/GetGuildCategoryList.lua b/api/GetGuildCategoryList.lua index 394389f..2bae5d6 100644 --- a/api/GetGuildCategoryList.lua +++ b/api/GetGuildCategoryList.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return table categories ---Returns a list of all guild achievement categories diff --git a/api/GetGuildChallengeInfo.lua b/api/GetGuildChallengeInfo.lua index 9d039f2..0791046 100644 --- a/api/GetGuildChallengeInfo.lua +++ b/api/GetGuildChallengeInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildChallengeInfo() end diff --git a/api/GetGuildCharterCost.lua b/api/GetGuildCharterCost.lua index c6c8ee3..aad80eb 100644 --- a/api/GetGuildCharterCost.lua +++ b/api/GetGuildCharterCost.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number cost ---Returns the cost to purchase a guild charter. Usable if the player is interacting with a guild registrar (i.e. between the GUILD_REGISTRAR_SHOW and GUILD_REGISTRAR_CLOSED events). diff --git a/api/GetGuildEventInfo.lua b/api/GetGuildEventInfo.lua index 974514b..7acef32 100644 --- a/api/GetGuildEventInfo.lua +++ b/api/GetGuildEventInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return remove type diff --git a/api/GetGuildExpirationTime.lua b/api/GetGuildExpirationTime.lua index f513a9e..613699a 100644 --- a/api/GetGuildExpirationTime.lua +++ b/api/GetGuildExpirationTime.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildExpirationTime() end diff --git a/api/GetGuildFactionGroup.lua b/api/GetGuildFactionGroup.lua index ec4970f..2a80230 100644 --- a/api/GetGuildFactionGroup.lua +++ b/api/GetGuildFactionGroup.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildFactionGroup() end diff --git a/api/GetGuildFactionInfo.lua b/api/GetGuildFactionInfo.lua index 1f4cd7f..5fea9ef 100644 --- a/api/GetGuildFactionInfo.lua +++ b/api/GetGuildFactionInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildFactionInfo() end diff --git a/api/GetGuildInfo.lua b/api/GetGuildInfo.lua index 5d9f09b..bc39547 100644 --- a/api/GetGuildInfo.lua +++ b/api/GetGuildInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/GetGuildInfoText.lua b/api/GetGuildInfoText.lua index 2265079..8434f96 100644 --- a/api/GetGuildInfoText.lua +++ b/api/GetGuildInfoText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string guildInfoText ---Returns guild information text. Only returns valid data after calling GuildRoster() and the following GUILD_ROSTER_UPDATE event has fired. This text appears when clicking the "Guild Information" button in the default UI's Guild window. diff --git a/api/GetGuildLevelEnabled.lua b/api/GetGuildLevelEnabled.lua index 56522db..3875490 100644 --- a/api/GetGuildLevelEnabled.lua +++ b/api/GetGuildLevelEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildLevelEnabled() end diff --git a/api/GetGuildLogoInfo.lua b/api/GetGuildLogoInfo.lua index 0ba0a35..cbc50f8 100644 --- a/api/GetGuildLogoInfo.lua +++ b/api/GetGuildLogoInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildLogoInfo() end diff --git a/api/GetGuildMemberRecipes.lua b/api/GetGuildMemberRecipes.lua index ae5a02b..d7bdbd7 100644 --- a/api/GetGuildMemberRecipes.lua +++ b/api/GetGuildMemberRecipes.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildMemberRecipes() end diff --git a/api/GetGuildMembershipRequestInfo.lua b/api/GetGuildMembershipRequestInfo.lua index 68677b5..68fab73 100644 --- a/api/GetGuildMembershipRequestInfo.lua +++ b/api/GetGuildMembershipRequestInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildMembershipRequestInfo() end diff --git a/api/GetGuildMembershipRequestSettings.lua b/api/GetGuildMembershipRequestSettings.lua index d6ab222..ec0f511 100644 --- a/api/GetGuildMembershipRequestSettings.lua +++ b/api/GetGuildMembershipRequestSettings.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildMembershipRequestSettings() end diff --git a/api/GetGuildNewsFilters.lua b/api/GetGuildNewsFilters.lua index 2c6c6f9..953b022 100644 --- a/api/GetGuildNewsFilters.lua +++ b/api/GetGuildNewsFilters.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildNewsFilters() end diff --git a/api/GetGuildNewsInfo.lua b/api/GetGuildNewsInfo.lua index a98fa3a..1cbf600 100644 --- a/api/GetGuildNewsInfo.lua +++ b/api/GetGuildNewsInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param newsIndex number ---@return boolean isSticky diff --git a/api/GetGuildNewsMemberName.lua b/api/GetGuildNewsMemberName.lua index 54b4977..c6f7c54 100644 --- a/api/GetGuildNewsMemberName.lua +++ b/api/GetGuildNewsMemberName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildNewsMemberName() end diff --git a/api/GetGuildNewsSort.lua b/api/GetGuildNewsSort.lua index 55fb3a2..ef96d74 100644 --- a/api/GetGuildNewsSort.lua +++ b/api/GetGuildNewsSort.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildNewsSort() end diff --git a/api/GetGuildPerkInfo.lua b/api/GetGuildPerkInfo.lua index e671b94..69f874e 100644 --- a/api/GetGuildPerkInfo.lua +++ b/api/GetGuildPerkInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildPerkInfo() end diff --git a/api/GetGuildRecipeInfoPostQuery.lua b/api/GetGuildRecipeInfoPostQuery.lua index 34604f3..24f2433 100644 --- a/api/GetGuildRecipeInfoPostQuery.lua +++ b/api/GetGuildRecipeInfoPostQuery.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildRecipeInfoPostQuery() end diff --git a/api/GetGuildRecipeMember.lua b/api/GetGuildRecipeMember.lua index 1e4b6c4..386386a 100644 --- a/api/GetGuildRecipeMember.lua +++ b/api/GetGuildRecipeMember.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string displayName diff --git a/api/GetGuildRecruitmentComment.lua b/api/GetGuildRecruitmentComment.lua index 5947787..ce0e1c9 100644 --- a/api/GetGuildRecruitmentComment.lua +++ b/api/GetGuildRecruitmentComment.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildRecruitmentComment() end diff --git a/api/GetGuildRecruitmentSettings.lua b/api/GetGuildRecruitmentSettings.lua index 2607415..cd26d30 100644 --- a/api/GetGuildRecruitmentSettings.lua +++ b/api/GetGuildRecruitmentSettings.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildRecruitmentSettings() end diff --git a/api/GetGuildRenameRequired.lua b/api/GetGuildRenameRequired.lua index f844120..c1a1516 100644 --- a/api/GetGuildRenameRequired.lua +++ b/api/GetGuildRenameRequired.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildRenameRequired() end diff --git a/api/GetGuildRewardInfo.lua b/api/GetGuildRewardInfo.lua index ee052f9..2762870 100644 --- a/api/GetGuildRewardInfo.lua +++ b/api/GetGuildRewardInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildRewardInfo() end diff --git a/api/GetGuildRosterInfo.lua b/api/GetGuildRosterInfo.lua index e617d9f..e5c5da6 100644 --- a/api/GetGuildRosterInfo.lua +++ b/api/GetGuildRosterInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string fullName diff --git a/api/GetGuildRosterLargestAchievementPoints.lua b/api/GetGuildRosterLargestAchievementPoints.lua index 9dd57f8..2f42b80 100644 --- a/api/GetGuildRosterLargestAchievementPoints.lua +++ b/api/GetGuildRosterLargestAchievementPoints.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetGuildRosterLargestAchievementPoints() end diff --git a/api/GetGuildRosterLastOnline.lua b/api/GetGuildRosterLastOnline.lua index 701f3a6..e4e63e7 100644 --- a/api/GetGuildRosterLastOnline.lua +++ b/api/GetGuildRosterLastOnline.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number years diff --git a/api/GetGuildRosterMOTD.lua b/api/GetGuildRosterMOTD.lua index 2d9d5b2..88f2a4b 100644 --- a/api/GetGuildRosterMOTD.lua +++ b/api/GetGuildRosterMOTD.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string guildMOTD ---Returns the Message of the Day for the player's guild diff --git a/api/GetGuildRosterSelection.lua b/api/GetGuildRosterSelection.lua index 69d5911..8c174ae 100644 --- a/api/GetGuildRosterSelection.lua +++ b/api/GetGuildRosterSelection.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the index of the selected member in the guild roster. Selection in the guild roster is used only for display in the default UI and has no effect on other Guild APIs. diff --git a/api/GetGuildRosterShowOffline.lua b/api/GetGuildRosterShowOffline.lua index 40cf27f..2668559 100644 --- a/api/GetGuildRosterShowOffline.lua +++ b/api/GetGuildRosterShowOffline.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil showOffline ---Returns whether the guild roster lists offline members diff --git a/api/GetGuildTabardFileNames.lua b/api/GetGuildTabardFileNames.lua index 06a1b81..2f5229b 100644 --- a/api/GetGuildTabardFileNames.lua +++ b/api/GetGuildTabardFileNames.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string tabardBackgroundUpper ---@return string tabardBackgroundLower diff --git a/api/GetGuildTradeSkillInfo.lua b/api/GetGuildTradeSkillInfo.lua index e47a39b..9719783 100644 --- a/api/GetGuildTradeSkillInfo.lua +++ b/api/GetGuildTradeSkillInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number professionID diff --git a/api/GetHairCustomization.lua b/api/GetHairCustomization.lua index 5a1b638..193abf2 100644 --- a/api/GetHairCustomization.lua +++ b/api/GetHairCustomization.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string token ---Returns a token used for displaying "hair" customization options. The token referred to by this function can be used to look up a global variable containing localized names for the customization options available to the player's race at character creation time and in the Barbershop UI; see example. diff --git a/api/GetHaste.lua b/api/GetHaste.lua index d694af2..d13c080 100644 --- a/api/GetHaste.lua +++ b/api/GetHaste.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns information about the players Haste percentage. function GetHaste() end diff --git a/api/GetHitModifier.lua b/api/GetHitModifier.lua index ab6d171..188c4ec 100644 --- a/api/GetHitModifier.lua +++ b/api/GetHitModifier.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetHitModifier() end diff --git a/api/GetHolidayBGHonorCurrencyBonuses.lua b/api/GetHolidayBGHonorCurrencyBonuses.lua index 884fd5c..e4b044a 100644 --- a/api/GetHolidayBGHonorCurrencyBonuses.lua +++ b/api/GetHolidayBGHonorCurrencyBonuses.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean unk ---@return number honorWinReward diff --git a/api/GetHomePartyInfo.lua b/api/GetHomePartyInfo.lua index 724577b..5bb4ffa 100644 --- a/api/GetHomePartyInfo.lua +++ b/api/GetHomePartyInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return table names ---Returns a list of player names in the player's party or raid diff --git a/api/GetIgnoreName.lua b/api/GetIgnoreName.lua index 6d09a71..14526ec 100644 --- a/api/GetIgnoreName.lua +++ b/api/GetIgnoreName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index string ---@return string name diff --git a/api/GetInboxHeaderInfo.lua b/api/GetInboxHeaderInfo.lua index 9f403fe..42876f6 100644 --- a/api/GetInboxHeaderInfo.lua +++ b/api/GetInboxHeaderInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param mailID number ---@return string packageIcon diff --git a/api/GetInboxInvoiceInfo.lua b/api/GetInboxInvoiceInfo.lua index cc9a831..227a4bc 100644 --- a/api/GetInboxInvoiceInfo.lua +++ b/api/GetInboxInvoiceInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return seller_temp_invoice invoiceType diff --git a/api/GetInboxItem.lua b/api/GetInboxItem.lua index 4102106..ff60c47 100644 --- a/api/GetInboxItem.lua +++ b/api/GetInboxItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param mailID number ---@param attachmentIndex number diff --git a/api/GetInboxItemLink.lua b/api/GetInboxItemLink.lua index 907a518..a2a7ade 100644 --- a/api/GetInboxItemLink.lua +++ b/api/GetInboxItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param mailID number ---@param attachmentIndex number diff --git a/api/GetInboxNumItems.lua b/api/GetInboxNumItems.lua index 92e2f8a..8e0f903 100644 --- a/api/GetInboxNumItems.lua +++ b/api/GetInboxNumItems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numItems ---@return number totalItems diff --git a/api/GetInboxText.lua b/api/GetInboxText.lua index 5bf8a0f..1f1b9df 100644 --- a/api/GetInboxText.lua +++ b/api/GetInboxText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param mailID number ---@return string bodyText diff --git a/api/GetInspectArenaData.lua b/api/GetInspectArenaData.lua index 78a17fd..705ede2 100644 --- a/api/GetInspectArenaData.lua +++ b/api/GetInspectArenaData.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetInspectArenaData() end diff --git a/api/GetInspectGlyph.lua b/api/GetInspectGlyph.lua index 7ed9468..7e2efc6 100644 --- a/api/GetInspectGlyph.lua +++ b/api/GetInspectGlyph.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetInspectGlyph() end diff --git a/api/GetInspectGuildInfo.lua b/api/GetInspectGuildInfo.lua index 4487091..e9f5a6b 100644 --- a/api/GetInspectGuildInfo.lua +++ b/api/GetInspectGuildInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetInspectGuildInfo() end diff --git a/api/GetInspectHonorData.lua b/api/GetInspectHonorData.lua index aa3a952..ef39d80 100644 --- a/api/GetInspectHonorData.lua +++ b/api/GetInspectHonorData.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number todayHK ---@return number todayHonor diff --git a/api/GetInspectRatedBGData.lua b/api/GetInspectRatedBGData.lua index e32652b..bbbcd3b 100644 --- a/api/GetInspectRatedBGData.lua +++ b/api/GetInspectRatedBGData.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetInspectRatedBGData() end diff --git a/api/GetInspectSpecialization.lua b/api/GetInspectSpecialization.lua index e9190c0..2808ef3 100644 --- a/api/GetInspectSpecialization.lua +++ b/api/GetInspectSpecialization.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number specID ---Return specialization global ID of inspected player. diff --git a/api/GetInspectTalent.lua b/api/GetInspectTalent.lua index ae9fe3f..8f5e4f5 100644 --- a/api/GetInspectTalent.lua +++ b/api/GetInspectTalent.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetInspectTalent() end diff --git a/api/GetInstanceBootTimeRemaining.lua b/api/GetInstanceBootTimeRemaining.lua index 11be1ef..d149f30 100644 --- a/api/GetInstanceBootTimeRemaining.lua +++ b/api/GetInstanceBootTimeRemaining.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number timeleft ---Returns the amount of time left until the player is removed from the current instance. Used when the player is in an instance he doesn't own; e.g. if the player enters an instance with a group and is then removed from the group. diff --git a/api/GetInstanceInfo.lua b/api/GetInstanceInfo.lua index e6f7bbb..4532977 100644 --- a/api/GetInstanceInfo.lua +++ b/api/GetInstanceInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string name ---@return scenario type diff --git a/api/GetInstanceLockTimeRemaining.lua b/api/GetInstanceLockTimeRemaining.lua index 8872585..caa5101 100644 --- a/api/GetInstanceLockTimeRemaining.lua +++ b/api/GetInstanceLockTimeRemaining.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number seconds ---Returns time remaining before the player is saved to a recently entered instance. Applies when the player enters an instance to which other members of her group are saved; if the player leaves the instance (normally or with RespondInstanceLock(false)) within this time limit she will not be saved to the instance. diff --git a/api/GetInstanceLockTimeRemainingEncounter.lua b/api/GetInstanceLockTimeRemainingEncounter.lua index 7126502..29fceec 100644 --- a/api/GetInstanceLockTimeRemainingEncounter.lua +++ b/api/GetInstanceLockTimeRemainingEncounter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetInstanceLockTimeRemainingEncounter() end diff --git a/api/GetInventoryAlertStatus.lua b/api/GetInventoryAlertStatus.lua index d2d05f4..4cfeddd 100644 --- a/api/GetInventoryAlertStatus.lua +++ b/api/GetInventoryAlertStatus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return 2 status diff --git a/api/GetInventoryItemBroken.lua b/api/GetInventoryItemBroken.lua index 7a8c1e9..1edbf6b 100644 --- a/api/GetInventoryItemBroken.lua +++ b/api/GetInventoryItemBroken.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param slot number diff --git a/api/GetInventoryItemCooldown.lua b/api/GetInventoryItemCooldown.lua index 1b6aa37..2c1bd81 100644 --- a/api/GetInventoryItemCooldown.lua +++ b/api/GetInventoryItemCooldown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param slot number diff --git a/api/GetInventoryItemCount.lua b/api/GetInventoryItemCount.lua index cd4e43f..1534959 100644 --- a/api/GetInventoryItemCount.lua +++ b/api/GetInventoryItemCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param slot number diff --git a/api/GetInventoryItemDurability.lua b/api/GetInventoryItemDurability.lua index 48e09f1..82bbd5b 100644 --- a/api/GetInventoryItemDurability.lua +++ b/api/GetInventoryItemDurability.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return number durability diff --git a/api/GetInventoryItemEquippedUnusable.lua b/api/GetInventoryItemEquippedUnusable.lua index 09c93aa..8b44342 100644 --- a/api/GetInventoryItemEquippedUnusable.lua +++ b/api/GetInventoryItemEquippedUnusable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetInventoryItemEquippedUnusable() end diff --git a/api/GetInventoryItemGems.lua b/api/GetInventoryItemGems.lua index af17a29..444c296 100644 --- a/api/GetInventoryItemGems.lua +++ b/api/GetInventoryItemGems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return itemID gem1 diff --git a/api/GetInventoryItemID.lua b/api/GetInventoryItemID.lua index 6d2482b..aeb45af 100644 --- a/api/GetInventoryItemID.lua +++ b/api/GetInventoryItemID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param slot number diff --git a/api/GetInventoryItemLink.lua b/api/GetInventoryItemLink.lua index 6686351..9770853 100644 --- a/api/GetInventoryItemLink.lua +++ b/api/GetInventoryItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param slot number diff --git a/api/GetInventoryItemQuality.lua b/api/GetInventoryItemQuality.lua index a1fe3a4..dc7754b 100644 --- a/api/GetInventoryItemQuality.lua +++ b/api/GetInventoryItemQuality.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param slot number diff --git a/api/GetInventoryItemTexture.lua b/api/GetInventoryItemTexture.lua index 900e426..595cf8a 100644 --- a/api/GetInventoryItemTexture.lua +++ b/api/GetInventoryItemTexture.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param slot number diff --git a/api/GetInventoryItemsForSlot.lua b/api/GetInventoryItemsForSlot.lua index 1f7e375..2946142 100644 --- a/api/GetInventoryItemsForSlot.lua +++ b/api/GetInventoryItemsForSlot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return table availableItems diff --git a/api/GetInventorySlotInfo.lua b/api/GetInventorySlotInfo.lua index a428ae9..ad990a1 100644 --- a/api/GetInventorySlotInfo.lua +++ b/api/GetInventorySlotInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slotName WristSlot ---@param AmmoSlot diff --git a/api/GetItemCooldown.lua b/api/GetItemCooldown.lua index e838c6e..29b5844 100644 --- a/api/GetItemCooldown.lua +++ b/api/GetItemCooldown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/GetItemCount.lua b/api/GetItemCount.lua index 68ed1da..72fbaa9 100644 --- a/api/GetItemCount.lua +++ b/api/GetItemCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemId number ---@param itemName string diff --git a/api/GetItemFamily.lua b/api/GetItemFamily.lua index 35ddd64..2cf360d 100644 --- a/api/GetItemFamily.lua +++ b/api/GetItemFamily.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/GetItemGem.lua b/api/GetItemGem.lua index 68cef13..efdd9c0 100644 --- a/api/GetItemGem.lua +++ b/api/GetItemGem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/GetItemIcon.lua b/api/GetItemIcon.lua index e02a92a..153fb25 100644 --- a/api/GetItemIcon.lua +++ b/api/GetItemIcon.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/GetItemInfo.lua b/api/GetItemInfo.lua index 2942698..bc9b7fd 100644 --- a/api/GetItemInfo.lua +++ b/api/GetItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemName string ---@return string name diff --git a/api/GetItemLevelIncrement.lua b/api/GetItemLevelIncrement.lua index 0bc5dcd..bb2eca9 100644 --- a/api/GetItemLevelIncrement.lua +++ b/api/GetItemLevelIncrement.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number levelIncrement ---Returns the item level increment recieved when upgrading. The item level increment returned depends on the type of item, i.e. blue items recieve 8 levels per upgrade while epic items recieve 4 per upgrade (which costs half as much). This function can currently only be called when at the upgrade merchant. diff --git a/api/GetItemQualityColor.lua b/api/GetItemQualityColor.lua index a906e03..6ddd162 100644 --- a/api/GetItemQualityColor.lua +++ b/api/GetItemQualityColor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param quality number ---@return number redComponent diff --git a/api/GetItemSpecInfo.lua b/api/GetItemSpecInfo.lua index f460668..6ce698d 100644 --- a/api/GetItemSpecInfo.lua +++ b/api/GetItemSpecInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetItemSpecInfo() end diff --git a/api/GetItemSpell.lua b/api/GetItemSpell.lua index b538679..98c01c6 100644 --- a/api/GetItemSpell.lua +++ b/api/GetItemSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/GetItemStatDelta.lua b/api/GetItemStatDelta.lua index 42153d9..2f3609d 100644 --- a/api/GetItemStatDelta.lua +++ b/api/GetItemStatDelta.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param item1Link string ---@param item2Link string diff --git a/api/GetItemStats.lua b/api/GetItemStats.lua index ec9253c..aa9a5aa 100644 --- a/api/GetItemStats.lua +++ b/api/GetItemStats.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemLink string ---@param returnTable table diff --git a/api/GetItemTransmogrifyInfo.lua b/api/GetItemTransmogrifyInfo.lua index 43ccbb0..526ede6 100644 --- a/api/GetItemTransmogrifyInfo.lua +++ b/api/GetItemTransmogrifyInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/GetItemUniqueness.lua b/api/GetItemUniqueness.lua index cb0633c..5edff16 100644 --- a/api/GetItemUniqueness.lua +++ b/api/GetItemUniqueness.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/GetItemUpdateLevel.lua b/api/GetItemUpdateLevel.lua index 0e2eb2b..cdef9dd 100644 --- a/api/GetItemUpdateLevel.lua +++ b/api/GetItemUpdateLevel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number newItemLevel ---Returns an item's item level once it's been upgraded.. This function can currently only be called when at the upgrade merchant. diff --git a/api/GetItemUpgradeEffect.lua b/api/GetItemUpgradeEffect.lua index 27243a0..948f3ef 100644 --- a/api/GetItemUpgradeEffect.lua +++ b/api/GetItemUpgradeEffect.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetItemUpgradeEffect() end diff --git a/api/GetItemUpgradeItemInfo.lua b/api/GetItemUpgradeItemInfo.lua index f91ad14..5274d44 100644 --- a/api/GetItemUpgradeItemInfo.lua +++ b/api/GetItemUpgradeItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string icon ---@return string name diff --git a/api/GetItemUpgradeStats.lua b/api/GetItemUpgradeStats.lua index eb9bc17..14a3ec3 100644 --- a/api/GetItemUpgradeStats.lua +++ b/api/GetItemUpgradeStats.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param getNew boolean ---@return string stat diff --git a/api/GetLFDChoiceCollapseState.lua b/api/GetLFDChoiceCollapseState.lua index cf3d889..9cf947d 100644 --- a/api/GetLFDChoiceCollapseState.lua +++ b/api/GetLFDChoiceCollapseState.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFDChoiceCollapseState() end diff --git a/api/GetLFDChoiceEnabledState.lua b/api/GetLFDChoiceEnabledState.lua index cd7b158..fce6dbc 100644 --- a/api/GetLFDChoiceEnabledState.lua +++ b/api/GetLFDChoiceEnabledState.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFDChoiceEnabledState() end diff --git a/api/GetLFDChoiceLockedState.lua b/api/GetLFDChoiceLockedState.lua index 7e4541e..a8a7a95 100644 --- a/api/GetLFDChoiceLockedState.lua +++ b/api/GetLFDChoiceLockedState.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFDChoiceLockedState() end diff --git a/api/GetLFDChoiceOrder.lua b/api/GetLFDChoiceOrder.lua index bedfbb0..a0de84a 100644 --- a/api/GetLFDChoiceOrder.lua +++ b/api/GetLFDChoiceOrder.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFDChoiceOrder() end diff --git a/api/GetLFDLockInfo.lua b/api/GetLFDLockInfo.lua index 5a50803..b867a5d 100644 --- a/api/GetLFDLockInfo.lua +++ b/api/GetLFDLockInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFDLockInfo() end diff --git a/api/GetLFDLockPlayerCount.lua b/api/GetLFDLockPlayerCount.lua index 1f21c5d..25b24d1 100644 --- a/api/GetLFDLockPlayerCount.lua +++ b/api/GetLFDLockPlayerCount.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFDLockPlayerCount() end diff --git a/api/GetLFDRoleLockInfo.lua b/api/GetLFDRoleLockInfo.lua index 67346c7..eac30be 100644 --- a/api/GetLFDRoleLockInfo.lua +++ b/api/GetLFDRoleLockInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFDRoleLockInfo() end diff --git a/api/GetLFDRoleRestrictions.lua b/api/GetLFDRoleRestrictions.lua index fad7383..230f703 100644 --- a/api/GetLFDRoleRestrictions.lua +++ b/api/GetLFDRoleRestrictions.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFDRoleRestrictions() end diff --git a/api/GetLFGBonusFactionID.lua b/api/GetLFGBonusFactionID.lua index f1c7650..999b6f4 100644 --- a/api/GetLFGBonusFactionID.lua +++ b/api/GetLFGBonusFactionID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGBonusFactionID() end diff --git a/api/GetLFGBootProposal.lua b/api/GetLFGBootProposal.lua index e7d5c8b..c29487b 100644 --- a/api/GetLFGBootProposal.lua +++ b/api/GetLFGBootProposal.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGBootProposal() end diff --git a/api/GetLFGCategoryForID.lua b/api/GetLFGCategoryForID.lua index 283442c..3440e36 100644 --- a/api/GetLFGCategoryForID.lua +++ b/api/GetLFGCategoryForID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGCategoryForID() end diff --git a/api/GetLFGCompletionReward.lua b/api/GetLFGCompletionReward.lua index 17f1022..ab3e299 100644 --- a/api/GetLFGCompletionReward.lua +++ b/api/GetLFGCompletionReward.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string name ---@return number typeID diff --git a/api/GetLFGCompletionRewardItem.lua b/api/GetLFGCompletionRewardItem.lua index 8026d57..725efd6 100644 --- a/api/GetLFGCompletionRewardItem.lua +++ b/api/GetLFGCompletionRewardItem.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGCompletionRewardItem() end diff --git a/api/GetLFGDeserterExpiration.lua b/api/GetLFGDeserterExpiration.lua index 55ea550..47b6224 100644 --- a/api/GetLFGDeserterExpiration.lua +++ b/api/GetLFGDeserterExpiration.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGDeserterExpiration() end diff --git a/api/GetLFGDungeonEncounterInfo.lua b/api/GetLFGDungeonEncounterInfo.lua index 676c857..647f5a3 100644 --- a/api/GetLFGDungeonEncounterInfo.lua +++ b/api/GetLFGDungeonEncounterInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param dungeonId number ---@param encounterIndex number diff --git a/api/GetLFGDungeonInfo.lua b/api/GetLFGDungeonInfo.lua index 60ef34b..8f4f871 100644 --- a/api/GetLFGDungeonInfo.lua +++ b/api/GetLFGDungeonInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id integer ---@return string dungeonName diff --git a/api/GetLFGDungeonNumEncounters.lua b/api/GetLFGDungeonNumEncounters.lua index 3a2f4c7..6a21a8a 100644 --- a/api/GetLFGDungeonNumEncounters.lua +++ b/api/GetLFGDungeonNumEncounters.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param dungeonId number ---@return number totalEncounters diff --git a/api/GetLFGDungeonRewardCapBarInfo.lua b/api/GetLFGDungeonRewardCapBarInfo.lua index 4722621..5b28b1b 100644 --- a/api/GetLFGDungeonRewardCapBarInfo.lua +++ b/api/GetLFGDungeonRewardCapBarInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGDungeonRewardCapBarInfo() end diff --git a/api/GetLFGDungeonRewardCapInfo.lua b/api/GetLFGDungeonRewardCapInfo.lua index 82c75b5..d5f4980 100644 --- a/api/GetLFGDungeonRewardCapInfo.lua +++ b/api/GetLFGDungeonRewardCapInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGDungeonRewardCapInfo() end diff --git a/api/GetLFGDungeonRewardInfo.lua b/api/GetLFGDungeonRewardInfo.lua index 96269bf..e0e0de6 100644 --- a/api/GetLFGDungeonRewardInfo.lua +++ b/api/GetLFGDungeonRewardInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGDungeonRewardInfo() end diff --git a/api/GetLFGDungeonRewardLink.lua b/api/GetLFGDungeonRewardLink.lua index c4a641e..0e77f66 100644 --- a/api/GetLFGDungeonRewardLink.lua +++ b/api/GetLFGDungeonRewardLink.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGDungeonRewardLink() end diff --git a/api/GetLFGDungeonRewards.lua b/api/GetLFGDungeonRewards.lua index 40ed317..6a0b42f 100644 --- a/api/GetLFGDungeonRewards.lua +++ b/api/GetLFGDungeonRewards.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGDungeonRewards() end diff --git a/api/GetLFGDungeonShortageRewardInfo.lua b/api/GetLFGDungeonShortageRewardInfo.lua index 05a56b2..0693c44 100644 --- a/api/GetLFGDungeonShortageRewardInfo.lua +++ b/api/GetLFGDungeonShortageRewardInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGDungeonShortageRewardInfo() end diff --git a/api/GetLFGDungeonShortageRewardLink.lua b/api/GetLFGDungeonShortageRewardLink.lua index 0a70dac..9a358f5 100644 --- a/api/GetLFGDungeonShortageRewardLink.lua +++ b/api/GetLFGDungeonShortageRewardLink.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGDungeonShortageRewardLink() end diff --git a/api/GetLFGInfoServer.lua b/api/GetLFGInfoServer.lua index b015e88..a29e77e 100644 --- a/api/GetLFGInfoServer.lua +++ b/api/GetLFGInfoServer.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGInfoServer() end diff --git a/api/GetLFGInviteRoleAvailability.lua b/api/GetLFGInviteRoleAvailability.lua index 973bb28..6cf47cc 100644 --- a/api/GetLFGInviteRoleAvailability.lua +++ b/api/GetLFGInviteRoleAvailability.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGInviteRoleAvailability() end diff --git a/api/GetLFGInviteRoleRestrictions.lua b/api/GetLFGInviteRoleRestrictions.lua index 75789d2..df74421 100644 --- a/api/GetLFGInviteRoleRestrictions.lua +++ b/api/GetLFGInviteRoleRestrictions.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGInviteRoleRestrictions() end diff --git a/api/GetLFGMode.lua b/api/GetLFGMode.lua index a5c0deb..7faed3d 100644 --- a/api/GetLFGMode.lua +++ b/api/GetLFGMode.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return rolecheck mode ---@return abandonedInDungeon diff --git a/api/GetLFGProposal.lua b/api/GetLFGProposal.lua index 293fcef..4783b84 100644 --- a/api/GetLFGProposal.lua +++ b/api/GetLFGProposal.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns info about the currently pending LFD operation function GetLFGProposal() end diff --git a/api/GetLFGProposalEncounter.lua b/api/GetLFGProposalEncounter.lua index 1493b77..78359ef 100644 --- a/api/GetLFGProposalEncounter.lua +++ b/api/GetLFGProposalEncounter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGProposalEncounter() end diff --git a/api/GetLFGProposalMember.lua b/api/GetLFGProposalMember.lua index 3ad3fd5..3987a1b 100644 --- a/api/GetLFGProposalMember.lua +++ b/api/GetLFGProposalMember.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGProposalMember() end diff --git a/api/GetLFGQueueStats.lua b/api/GetLFGQueueStats.lua index 9a1b421..f46caf8 100644 --- a/api/GetLFGQueueStats.lua +++ b/api/GetLFGQueueStats.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean hasData ---@return number leaderNeeds diff --git a/api/GetLFGQueuedList.lua b/api/GetLFGQueuedList.lua index 2c03f60..ff0251e 100644 --- a/api/GetLFGQueuedList.lua +++ b/api/GetLFGQueuedList.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGQueuedList() end diff --git a/api/GetLFGRandomCooldownExpiration.lua b/api/GetLFGRandomCooldownExpiration.lua index 5501f1b..9ca5e4e 100644 --- a/api/GetLFGRandomCooldownExpiration.lua +++ b/api/GetLFGRandomCooldownExpiration.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGRandomCooldownExpiration() end diff --git a/api/GetLFGRandomDungeonInfo.lua b/api/GetLFGRandomDungeonInfo.lua index 6c14675..5cc12e8 100644 --- a/api/GetLFGRandomDungeonInfo.lua +++ b/api/GetLFGRandomDungeonInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGRandomDungeonInfo() end diff --git a/api/GetLFGRoleShortageRewards.lua b/api/GetLFGRoleShortageRewards.lua index 8bceb39..a8db6c2 100644 --- a/api/GetLFGRoleShortageRewards.lua +++ b/api/GetLFGRoleShortageRewards.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param dungeonID number ---@param shortageIndex LFG_ROLE_SHORTAGE_UNCOMMON diff --git a/api/GetLFGRoleUpdate.lua b/api/GetLFGRoleUpdate.lua index 023b103..567e077 100644 --- a/api/GetLFGRoleUpdate.lua +++ b/api/GetLFGRoleUpdate.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGRoleUpdate() end diff --git a/api/GetLFGRoleUpdateBattlegroundInfo.lua b/api/GetLFGRoleUpdateBattlegroundInfo.lua index 4527eee..8b789cc 100644 --- a/api/GetLFGRoleUpdateBattlegroundInfo.lua +++ b/api/GetLFGRoleUpdateBattlegroundInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGRoleUpdateBattlegroundInfo() end diff --git a/api/GetLFGRoleUpdateMember.lua b/api/GetLFGRoleUpdateMember.lua index 75226e9..f2854dd 100644 --- a/api/GetLFGRoleUpdateMember.lua +++ b/api/GetLFGRoleUpdateMember.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGRoleUpdateMember() end diff --git a/api/GetLFGRoleUpdateSlot.lua b/api/GetLFGRoleUpdateSlot.lua index ef0cf6b..7b233cc 100644 --- a/api/GetLFGRoleUpdateSlot.lua +++ b/api/GetLFGRoleUpdateSlot.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGRoleUpdateSlot() end diff --git a/api/GetLFGRoles.lua b/api/GetLFGRoles.lua index 2c810a6..d6969fc 100644 --- a/api/GetLFGRoles.lua +++ b/api/GetLFGRoles.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean leader ---@return boolean tank diff --git a/api/GetLFGSuspendedPlayers.lua b/api/GetLFGSuspendedPlayers.lua index 4167f1f..1f6653c 100644 --- a/api/GetLFGSuspendedPlayers.lua +++ b/api/GetLFGSuspendedPlayers.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFGSuspendedPlayers() end diff --git a/api/GetLFGTypes.lua b/api/GetLFGTypes.lua index 84541ad..444acd6 100644 --- a/api/GetLFGTypes.lua +++ b/api/GetLFGTypes.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns a list of LFG query types diff --git a/api/GetLFRChoiceOrder.lua b/api/GetLFRChoiceOrder.lua index bd6a408..d409f4f 100644 --- a/api/GetLFRChoiceOrder.lua +++ b/api/GetLFRChoiceOrder.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLFRChoiceOrder() end diff --git a/api/GetLanguageByIndex.lua b/api/GetLanguageByIndex.lua index c79b910..0725226 100644 --- a/api/GetLanguageByIndex.lua +++ b/api/GetLanguageByIndex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string languageName diff --git a/api/GetLatestCompletedAchievements.lua b/api/GetLatestCompletedAchievements.lua index 9b7ce01..c53f225 100644 --- a/api/GetLatestCompletedAchievements.lua +++ b/api/GetLatestCompletedAchievements.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param isGuild boolean ---@return list ... diff --git a/api/GetLatestCompletedComparisonAchievements.lua b/api/GetLatestCompletedComparisonAchievements.lua index 6602a15..a14d5c1 100644 --- a/api/GetLatestCompletedComparisonAchievements.lua +++ b/api/GetLatestCompletedComparisonAchievements.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns a list of the comparison unit's most recently earned achievements diff --git a/api/GetLatestThreeSenders.lua b/api/GetLatestThreeSenders.lua index e03df9f..481e71a 100644 --- a/api/GetLatestThreeSenders.lua +++ b/api/GetLatestThreeSenders.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string sender1 ---@return string sender2 diff --git a/api/GetLatestUpdatedComparisonStats.lua b/api/GetLatestUpdatedComparisonStats.lua index 42dc648..c8fe479 100644 --- a/api/GetLatestUpdatedComparisonStats.lua +++ b/api/GetLatestUpdatedComparisonStats.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns a list of the comparison unit's latest updated statistics.   Currently always returns a list of invalid statistic IDs -- the "latest updated statistics" feature is no longer a part of the Achievements UI. diff --git a/api/GetLatestUpdatedStats.lua b/api/GetLatestUpdatedStats.lua index bd8441f..7129f35 100644 --- a/api/GetLatestUpdatedStats.lua +++ b/api/GetLatestUpdatedStats.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns a list of the player's latest updated statistics. Currently always returns a list of invalid statistic IDs -- the "latest updated statistics" feature is no longer a part of the Achievements UI. diff --git a/api/GetLegacyRaidDifficultyID.lua b/api/GetLegacyRaidDifficultyID.lua index 9266d3f..a09f2f3 100644 --- a/api/GetLegacyRaidDifficultyID.lua +++ b/api/GetLegacyRaidDifficultyID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLegacyRaidDifficultyID() end diff --git a/api/GetLevelUpInstances.lua b/api/GetLevelUpInstances.lua index 51a46ce..88ebd25 100644 --- a/api/GetLevelUpInstances.lua +++ b/api/GetLevelUpInstances.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLevelUpInstances() end diff --git a/api/GetLifesteal.lua b/api/GetLifesteal.lua index 4c499c6..fa0a066 100644 --- a/api/GetLifesteal.lua +++ b/api/GetLifesteal.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLifesteal() end diff --git a/api/GetLocale.lua b/api/GetLocale.lua index 2190942..b448ce6 100644 --- a/api/GetLocale.lua +++ b/api/GetLocale.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return zhTW locale ---@return deDE diff --git a/api/GetLookingForGuildComment.lua b/api/GetLookingForGuildComment.lua index 33f0e80..a4c6a13 100644 --- a/api/GetLookingForGuildComment.lua +++ b/api/GetLookingForGuildComment.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLookingForGuildComment() end diff --git a/api/GetLookingForGuildSettings.lua b/api/GetLookingForGuildSettings.lua index fff3e03..ca62bb0 100644 --- a/api/GetLookingForGuildSettings.lua +++ b/api/GetLookingForGuildSettings.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLookingForGuildSettings() end diff --git a/api/GetLooseMacroIcons.lua b/api/GetLooseMacroIcons.lua index 368b015..149e6da 100644 --- a/api/GetLooseMacroIcons.lua +++ b/api/GetLooseMacroIcons.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLooseMacroIcons() end diff --git a/api/GetLooseMacroItemIcons.lua b/api/GetLooseMacroItemIcons.lua index 46d9e08..23af9f3 100644 --- a/api/GetLooseMacroItemIcons.lua +++ b/api/GetLooseMacroItemIcons.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetLooseMacroItemIcons() end diff --git a/api/GetLootInfo.lua b/api/GetLootInfo.lua index e755b28..a89a4a0 100644 --- a/api/GetLootInfo.lua +++ b/api/GetLootInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@class LootInfo ---@field isQuestItem boolean? diff --git a/api/GetLootMethod.lua b/api/GetLootMethod.lua index 603c036..ecc38bb 100644 --- a/api/GetLootMethod.lua +++ b/api/GetLootMethod.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return roundrobin method ---@return freeforall diff --git a/api/GetLootRollItemInfo.lua b/api/GetLootRollItemInfo.lua index f60ccef..737af90 100644 --- a/api/GetLootRollItemInfo.lua +++ b/api/GetLootRollItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return string texture diff --git a/api/GetLootRollItemLink.lua b/api/GetLootRollItemLink.lua index 4f61206..d9419bf 100644 --- a/api/GetLootRollItemLink.lua +++ b/api/GetLootRollItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return string link diff --git a/api/GetLootRollTimeLeft.lua b/api/GetLootRollTimeLeft.lua index dbb12c3..69b7287 100644 --- a/api/GetLootRollTimeLeft.lua +++ b/api/GetLootRollTimeLeft.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return number timeLeft diff --git a/api/GetLootSlotInfo.lua b/api/GetLootSlotInfo.lua index 637c617..62eeacd 100644 --- a/api/GetLootSlotInfo.lua +++ b/api/GetLootSlotInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return string texture diff --git a/api/GetLootSlotLink.lua b/api/GetLootSlotLink.lua index 7c3cf66..8983a84 100644 --- a/api/GetLootSlotLink.lua +++ b/api/GetLootSlotLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return string link diff --git a/api/GetLootSlotType.lua b/api/GetLootSlotType.lua index f459de0..ea75456 100644 --- a/api/GetLootSlotType.lua +++ b/api/GetLootSlotType.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return number loottype diff --git a/api/GetLootSourceInfo.lua b/api/GetLootSourceInfo.lua index 8f37209..e39c667 100644 --- a/api/GetLootSourceInfo.lua +++ b/api/GetLootSourceInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string corpseGUID1 diff --git a/api/GetLootSpecialization.lua b/api/GetLootSpecialization.lua index 1415ea2..4b25e54 100644 --- a/api/GetLootSpecialization.lua +++ b/api/GetLootSpecialization.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number specID ---Returns the specialization ID for the current loot specialization. This method returns 0 if the current loot specialization is set to "Current Specialization". Otherwise the global specialization ID will be returned. diff --git a/api/GetLootThreshold.lua b/api/GetLootThreshold.lua index 805cd4b..67c3a6c 100644 --- a/api/GetLootThreshold.lua +++ b/api/GetLootThreshold.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number threshold ---Returns the threshold used for Master Looter, Group Loot, and Need Before Greed loot methods. Items above the threshold quality will trigger the special behavior of the current loot method: for Group Loot and Need Before Greed, rolling will automatically begin once a group member loots the corpse or object holding the item; for Master Loot, the item will be invisible to all but the loot master tasked with assigning the loot. diff --git a/api/GetMacroBody.lua b/api/GetMacroBody.lua index 679e8ea..76751a2 100644 --- a/api/GetMacroBody.lua +++ b/api/GetMacroBody.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param name string diff --git a/api/GetMacroIcons.lua b/api/GetMacroIcons.lua index ead0b53..63d01d9 100644 --- a/api/GetMacroIcons.lua +++ b/api/GetMacroIcons.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tbl table ---@return table icons diff --git a/api/GetMacroIndexByName.lua b/api/GetMacroIndexByName.lua index fac22cb..ecd6deb 100644 --- a/api/GetMacroIndexByName.lua +++ b/api/GetMacroIndexByName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@return number index diff --git a/api/GetMacroInfo.lua b/api/GetMacroInfo.lua index 4b50edd..db4c7c4 100644 --- a/api/GetMacroInfo.lua +++ b/api/GetMacroInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param name string diff --git a/api/GetMacroItem.lua b/api/GetMacroItem.lua index 6e59122..e40f095 100644 --- a/api/GetMacroItem.lua +++ b/api/GetMacroItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param name string diff --git a/api/GetMacroItemIcons.lua b/api/GetMacroItemIcons.lua index bccdcc6..60af80e 100644 --- a/api/GetMacroItemIcons.lua +++ b/api/GetMacroItemIcons.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tbl table ---@return table icons diff --git a/api/GetMacroSpell.lua b/api/GetMacroSpell.lua index 55960be..6f6a66d 100644 --- a/api/GetMacroSpell.lua +++ b/api/GetMacroSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param name string diff --git a/api/GetManaRegen.lua b/api/GetManaRegen.lua index 80cecbb..b0fecfb 100644 --- a/api/GetManaRegen.lua +++ b/api/GetManaRegen.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number base ---@return number casting diff --git a/api/GetMapContinents.lua b/api/GetMapContinents.lua index c736921..cddf9ff 100644 --- a/api/GetMapContinents.lua +++ b/api/GetMapContinents.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns a list of map continents names diff --git a/api/GetMapDebugObjectInfo.lua b/api/GetMapDebugObjectInfo.lua index 13a8f4d..d383d5f 100644 --- a/api/GetMapDebugObjectInfo.lua +++ b/api/GetMapDebugObjectInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMapDebugObjectInfo() end diff --git a/api/GetMapHierarchy.lua b/api/GetMapHierarchy.lua index 231cab3..2f95801 100644 --- a/api/GetMapHierarchy.lua +++ b/api/GetMapHierarchy.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMapHierarchy() end diff --git a/api/GetMapInfo.lua b/api/GetMapInfo.lua index ed06c7c..9ab5787 100644 --- a/api/GetMapInfo.lua +++ b/api/GetMapInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string mapFileName ---@return number textureHeight diff --git a/api/GetMapLandmarkInfo.lua b/api/GetMapLandmarkInfo.lua index fe5e264..8f3faac 100644 --- a/api/GetMapLandmarkInfo.lua +++ b/api/GetMapLandmarkInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetMapNameByID.lua b/api/GetMapNameByID.lua index 270444c..c6a04a3 100644 --- a/api/GetMapNameByID.lua +++ b/api/GetMapNameByID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return string mapname diff --git a/api/GetMapOverlayInfo.lua b/api/GetMapOverlayInfo.lua index 54ba7d3..90d1085 100644 --- a/api/GetMapOverlayInfo.lua +++ b/api/GetMapOverlayInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string textureName diff --git a/api/GetMapSubzones.lua b/api/GetMapSubzones.lua index 85b7a78..4efeae1 100644 --- a/api/GetMapSubzones.lua +++ b/api/GetMapSubzones.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param zoneID number ---@return list zoneid1,zonename1, zoneid2,zonename2, zoneid3,zonename3... diff --git a/api/GetMapZones.lua b/api/GetMapZones.lua index fb7651a..93ddea9 100644 --- a/api/GetMapZones.lua +++ b/api/GetMapZones.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param continentIndex number ---@return list ... diff --git a/api/GetMasterLootCandidate.lua b/api/GetMasterLootCandidate.lua index 0c682cb..06dec1d 100644 --- a/api/GetMasterLootCandidate.lua +++ b/api/GetMasterLootCandidate.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string candidate diff --git a/api/GetMastery.lua b/api/GetMastery.lua index 49b6a85..b8c5438 100644 --- a/api/GetMastery.lua +++ b/api/GetMastery.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns the mastery value of your character function GetMastery() end diff --git a/api/GetMasteryEffect.lua b/api/GetMasteryEffect.lua index d1bb821..06f8184 100644 --- a/api/GetMasteryEffect.lua +++ b/api/GetMasteryEffect.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMasteryEffect() end diff --git a/api/GetMaxAnimFramerate.lua b/api/GetMaxAnimFramerate.lua index 4f031c0..31faff4 100644 --- a/api/GetMaxAnimFramerate.lua +++ b/api/GetMaxAnimFramerate.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMaxAnimFramerate() end diff --git a/api/GetMaxArenaCurrency.lua b/api/GetMaxArenaCurrency.lua index 8e8b7ad..568ec34 100644 --- a/api/GetMaxArenaCurrency.lua +++ b/api/GetMaxArenaCurrency.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number amount ---Returns the maximum amount of arena points the player can accrue diff --git a/api/GetMaxBattlefieldID.lua b/api/GetMaxBattlefieldID.lua index eec5749..2618e30 100644 --- a/api/GetMaxBattlefieldID.lua +++ b/api/GetMaxBattlefieldID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numBattlefields ---Returns the number of battlefields the player is associated with.. GetBattlefieldStatus(index) can be used to retrieve detailed information about a battlefield. diff --git a/api/GetMaxCombatRatingBonus.lua b/api/GetMaxCombatRatingBonus.lua index 1ef270c..9a5b903 100644 --- a/api/GetMaxCombatRatingBonus.lua +++ b/api/GetMaxCombatRatingBonus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param ratingIndex CR_WEAPON_SKILL_RANGED ---@param CR_BLOCK diff --git a/api/GetMaxPlayerLevel.lua b/api/GetMaxPlayerLevel.lua index 707493e..2c47481 100644 --- a/api/GetMaxPlayerLevel.lua +++ b/api/GetMaxPlayerLevel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number maxLevel ---Returns the maximum level attainable by a player diff --git a/api/GetMaxRewardCurrencies.lua b/api/GetMaxRewardCurrencies.lua index 53bf793..9e21789 100644 --- a/api/GetMaxRewardCurrencies.lua +++ b/api/GetMaxRewardCurrencies.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMaxRewardCurrencies() end diff --git a/api/GetMaxSpellStartRecoveryOffset.lua b/api/GetMaxSpellStartRecoveryOffset.lua index c403e82..bc3990b 100644 --- a/api/GetMaxSpellStartRecoveryOffset.lua +++ b/api/GetMaxSpellStartRecoveryOffset.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMaxSpellStartRecoveryOffset() end diff --git a/api/GetMaxTalentTier.lua b/api/GetMaxTalentTier.lua index 7a17ae3..92a5996 100644 --- a/api/GetMaxTalentTier.lua +++ b/api/GetMaxTalentTier.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMaxTalentTier() end diff --git a/api/GetMeleeHaste.lua b/api/GetMeleeHaste.lua index 5266fc4..2fb57de 100644 --- a/api/GetMeleeHaste.lua +++ b/api/GetMeleeHaste.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number haste ---Returns information about the player's melee haste diff --git a/api/GetMerchantCurrencies.lua b/api/GetMerchantCurrencies.lua index a3a50a4..77ce8c4 100644 --- a/api/GetMerchantCurrencies.lua +++ b/api/GetMerchantCurrencies.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMerchantCurrencies() end diff --git a/api/GetMerchantFilter.lua b/api/GetMerchantFilter.lua index 6720cd4..f2e713f 100644 --- a/api/GetMerchantFilter.lua +++ b/api/GetMerchantFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns the index of the filter applied to the merchant. function GetMerchantFilter() end diff --git a/api/GetMerchantItemCostInfo.lua b/api/GetMerchantItemCostInfo.lua index 8989415..c2d3921 100644 --- a/api/GetMerchantItemCostInfo.lua +++ b/api/GetMerchantItemCostInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number currencyCount diff --git a/api/GetMerchantItemCostItem.lua b/api/GetMerchantItemCostItem.lua index cfb47fd..c653bd2 100644 --- a/api/GetMerchantItemCostItem.lua +++ b/api/GetMerchantItemCostItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param currency number diff --git a/api/GetMerchantItemInfo.lua b/api/GetMerchantItemInfo.lua index fb75acf..f09033b 100644 --- a/api/GetMerchantItemInfo.lua +++ b/api/GetMerchantItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetMerchantItemLink.lua b/api/GetMerchantItemLink.lua index 59e2b9f..6474c7f 100644 --- a/api/GetMerchantItemLink.lua +++ b/api/GetMerchantItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string link diff --git a/api/GetMerchantItemMaxStack.lua b/api/GetMerchantItemMaxStack.lua index 6be1fa7..941d251 100644 --- a/api/GetMerchantItemMaxStack.lua +++ b/api/GetMerchantItemMaxStack.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number maxStack diff --git a/api/GetMerchantNumItems.lua b/api/GetMerchantNumItems.lua index 286f285..4cfc14d 100644 --- a/api/GetMerchantNumItems.lua +++ b/api/GetMerchantNumItems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numMerchantItems ---Returns the number of different items available for purchase from a vendor diff --git a/api/GetMinimapZoneText.lua b/api/GetMinimapZoneText.lua index 671e8de..ae6643b 100644 --- a/api/GetMinimapZoneText.lua +++ b/api/GetMinimapZoneText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string zoneText ---Returns the name of the current area (as displayed in the Minimap). Matches GetSubZoneText(), GetRealZoneText() or GetZoneText(). diff --git a/api/GetMirrorTimerInfo.lua b/api/GetMirrorTimerInfo.lua index e875ba6..029d58b 100644 --- a/api/GetMirrorTimerInfo.lua +++ b/api/GetMirrorTimerInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return FEIGNDEATH timer diff --git a/api/GetMirrorTimerProgress.lua b/api/GetMirrorTimerProgress.lua index d356f40..2c18020 100644 --- a/api/GetMirrorTimerProgress.lua +++ b/api/GetMirrorTimerProgress.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param timer FEIGNDEATH ---@param BREATH diff --git a/api/GetMissingLootItemInfo.lua b/api/GetMissingLootItemInfo.lua index fb2be3e..308ee60 100644 --- a/api/GetMissingLootItemInfo.lua +++ b/api/GetMissingLootItemInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMissingLootItemInfo() end diff --git a/api/GetMissingLootItemLink.lua b/api/GetMissingLootItemLink.lua index d01df73..15284c3 100644 --- a/api/GetMissingLootItemLink.lua +++ b/api/GetMissingLootItemLink.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMissingLootItemLink() end diff --git a/api/GetModResilienceDamageReduction.lua b/api/GetModResilienceDamageReduction.lua index 4bd0a50..84b0c11 100644 --- a/api/GetModResilienceDamageReduction.lua +++ b/api/GetModResilienceDamageReduction.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetModResilienceDamageReduction() end diff --git a/api/GetModifiedClick.lua b/api/GetModifiedClick.lua index 5e5abff..8c0a848 100644 --- a/api/GetModifiedClick.lua +++ b/api/GetModifiedClick.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@return string binding diff --git a/api/GetModifiedClickAction.lua b/api/GetModifiedClickAction.lua index 6e2dedb..20389d1 100644 --- a/api/GetModifiedClickAction.lua +++ b/api/GetModifiedClickAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string action diff --git a/api/GetMoney.lua b/api/GetMoney.lua index a967582..42cd364 100644 --- a/api/GetMoney.lua +++ b/api/GetMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number money ---Returns the total amount of money currently in the player's possession diff --git a/api/GetMonitorAspectRatio.lua b/api/GetMonitorAspectRatio.lua index 332c5ca..63684c7 100644 --- a/api/GetMonitorAspectRatio.lua +++ b/api/GetMonitorAspectRatio.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monitorIndex number ---@return number ratio diff --git a/api/GetMonitorCount.lua b/api/GetMonitorCount.lua index 8bda01a..8da7464 100644 --- a/api/GetMonitorCount.lua +++ b/api/GetMonitorCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number count ---Returns the number of monitors connected diff --git a/api/GetMonitorName.lua b/api/GetMonitorName.lua index 25d203c..fd86206 100644 --- a/api/GetMonitorName.lua +++ b/api/GetMonitorName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param monitorIndex number ---@return string name diff --git a/api/GetMouseButtonClicked.lua b/api/GetMouseButtonClicked.lua index 773b485..c9e42cf 100644 --- a/api/GetMouseButtonClicked.lua +++ b/api/GetMouseButtonClicked.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string button ---Returns which mouse button triggered the current script. If called in a line of execution that started with a click handler (OnMouseDown, OnMouseUp, OnClick, OnDoubleClick, PreClick, or PostClick), returns a string identifying which mouse button triggered the handler. Otherwise, returns nil. diff --git a/api/GetMouseButtonName.lua b/api/GetMouseButtonName.lua index d9f2ca0..b2186d2 100644 --- a/api/GetMouseButtonName.lua +++ b/api/GetMouseButtonName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param buttonNumber number ---@return RightButton buttonName diff --git a/api/GetMouseFocus.lua b/api/GetMouseFocus.lua index 764a978..5c19bdf 100644 --- a/api/GetMouseFocus.lua +++ b/api/GetMouseFocus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return table frame ---Returns the frame that is currently under the mouse, and has mouse input enabled. diff --git a/api/GetMovieDownloadProgress.lua b/api/GetMovieDownloadProgress.lua index c1f2621..c379f19 100644 --- a/api/GetMovieDownloadProgress.lua +++ b/api/GetMovieDownloadProgress.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMovieDownloadProgress() end diff --git a/api/GetMultiCastBarIndex.lua b/api/GetMultiCastBarIndex.lua index 50c87b3..9cd3ad6 100644 --- a/api/GetMultiCastBarIndex.lua +++ b/api/GetMultiCastBarIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMultiCastBarIndex() end diff --git a/api/GetMultiCastTotemSpells.lua b/api/GetMultiCastTotemSpells.lua index d36f424..a5f69da 100644 --- a/api/GetMultiCastTotemSpells.lua +++ b/api/GetMultiCastTotemSpells.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMultiCastTotemSpells() end diff --git a/api/GetMultistrike.lua b/api/GetMultistrike.lua index fd8b03a..c96d683 100644 --- a/api/GetMultistrike.lua +++ b/api/GetMultistrike.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMultistrike() end diff --git a/api/GetMultistrikeEffect.lua b/api/GetMultistrikeEffect.lua index 58d6df8..d1a724d 100644 --- a/api/GetMultistrikeEffect.lua +++ b/api/GetMultistrikeEffect.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetMultistrikeEffect() end diff --git a/api/GetMuteName.lua b/api/GetMuteName.lua index 7854012..52c2c6e 100644 --- a/api/GetMuteName.lua +++ b/api/GetMuteName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetMuteStatus.lua b/api/GetMuteStatus.lua index bcb2acc..24130b2 100644 --- a/api/GetMuteStatus.lua +++ b/api/GetMuteStatus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/GetNamePlateMotionType.lua b/api/GetNamePlateMotionType.lua index 6b1769d..eb43153 100644 --- a/api/GetNamePlateMotionType.lua +++ b/api/GetNamePlateMotionType.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNamePlateMotionType() end diff --git a/api/GetNetIpTypes.lua b/api/GetNetIpTypes.lua index e1d81a1..f57d70b 100644 --- a/api/GetNetIpTypes.lua +++ b/api/GetNetIpTypes.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNetIpTypes() end diff --git a/api/GetNetStats.lua b/api/GetNetStats.lua index bd8a71c..0ef7533 100644 --- a/api/GetNetStats.lua +++ b/api/GetNetStats.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number bandwidthIn ---@return number bandwidthOut diff --git a/api/GetNewSocketInfo.lua b/api/GetNewSocketInfo.lua index ad31f5e..d899365 100644 --- a/api/GetNewSocketInfo.lua +++ b/api/GetNewSocketInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetNewSocketLink.lua b/api/GetNewSocketLink.lua index 5104ebe..07484fa 100644 --- a/api/GetNewSocketLink.lua +++ b/api/GetNewSocketLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string link diff --git a/api/GetNextAchievement.lua b/api/GetNextAchievement.lua index 9acd13c..ab0de9b 100644 --- a/api/GetNextAchievement.lua +++ b/api/GetNextAchievement.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return number nextID diff --git a/api/GetNextCompleatedTutorial.lua b/api/GetNextCompleatedTutorial.lua index bbc098b..35e651a 100644 --- a/api/GetNextCompleatedTutorial.lua +++ b/api/GetNextCompleatedTutorial.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNextCompleatedTutorial() end diff --git a/api/GetNumActiveQuests.lua b/api/GetNumActiveQuests.lua index e27a3eb..8e50683 100644 --- a/api/GetNumActiveQuests.lua +++ b/api/GetNumActiveQuests.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numActiveQuests ---Returns the number of quests which can be turned in to the current Quest NPC. Only returns valid information after a QUEST_GREETING event. Note: Most quest NPCs present active quests using the GetGossipActiveQuests() instead of this function. diff --git a/api/GetNumAddOns.lua b/api/GetNumAddOns.lua index cb79085..8535e6f 100644 --- a/api/GetNumAddOns.lua +++ b/api/GetNumAddOns.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numAddons ---Returns the number of addons in the addon listing diff --git a/api/GetNumArchaeologyRaces.lua b/api/GetNumArchaeologyRaces.lua index 6753238..3d8ccb9 100644 --- a/api/GetNumArchaeologyRaces.lua +++ b/api/GetNumArchaeologyRaces.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numRaces ---Return the number of different races (branches) in Archeology. As of the Warlords of Draenor expansion, these are the valid race IDs: Dwarf Draenei Fossil Night Elf Nerubian Orc Tol'vir Troll Vrykul Mantid Pandaren Mogu Arakkoa Draenor Clans Ogre diff --git a/api/GetNumArenaOpponentSpecs.lua b/api/GetNumArenaOpponentSpecs.lua index 89253e6..2bffb29 100644 --- a/api/GetNumArenaOpponentSpecs.lua +++ b/api/GetNumArenaOpponentSpecs.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numOpps ---Returns the number of enemy players which specialization data are available in an arena match diff --git a/api/GetNumArenaOpponents.lua b/api/GetNumArenaOpponents.lua index 1002482..4148c66 100644 --- a/api/GetNumArenaOpponents.lua +++ b/api/GetNumArenaOpponents.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numOpponents ---Returns the number of enemy players in an arena match diff --git a/api/GetNumArtifactsByRace.lua b/api/GetNumArtifactsByRace.lua index 13453d6..0a09e2b 100644 --- a/api/GetNumArtifactsByRace.lua +++ b/api/GetNumArtifactsByRace.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param branchID number ---@return number numProjects diff --git a/api/GetNumAuctionItems.lua b/api/GetNumAuctionItems.lua index 55ebadb..4d29fe4 100644 --- a/api/GetNumAuctionItems.lua +++ b/api/GetNumAuctionItems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param list owner ---@param bidder diff --git a/api/GetNumAutoQuestPopUps.lua b/api/GetNumAutoQuestPopUps.lua index 752e140..63fb20e 100644 --- a/api/GetNumAutoQuestPopUps.lua +++ b/api/GetNumAutoQuestPopUps.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numPopups ---Returns number of AutoQuestPopup(s) diff --git a/api/GetNumAvailableQuests.lua b/api/GetNumAvailableQuests.lua index 288d5e4..738716a 100644 --- a/api/GetNumAvailableQuests.lua +++ b/api/GetNumAvailableQuests.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numAvailableQuests ---Returns the number quests available from the current Quest NPC. Only returns valid information after a QUEST_GREETING event. Note: Most quest NPCs present available quests using the GetGossipAvailableQuests() instead of this function. diff --git a/api/GetNumBankSlots.lua b/api/GetNumBankSlots.lua index 417ba6d..68d5d15 100644 --- a/api/GetNumBankSlots.lua +++ b/api/GetNumBankSlots.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numSlots ---@return 1nil isFull diff --git a/api/GetNumBattlefieldFlagPositions.lua b/api/GetNumBattlefieldFlagPositions.lua index 222f1c3..1a7ccfa 100644 --- a/api/GetNumBattlefieldFlagPositions.lua +++ b/api/GetNumBattlefieldFlagPositions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numFlags ---Returns the number of battleground flags for which map position information is available diff --git a/api/GetNumBattlefieldScores.lua b/api/GetNumBattlefieldScores.lua index 1ac0769..4bc5d3b 100644 --- a/api/GetNumBattlefieldScores.lua +++ b/api/GetNumBattlefieldScores.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numScores ---Returns the number of participant scores available in the current battleground diff --git a/api/GetNumBattlefieldStats.lua b/api/GetNumBattlefieldStats.lua index f30b5ce..6836da3 100644 --- a/api/GetNumBattlefieldStats.lua +++ b/api/GetNumBattlefieldStats.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numStats ---Returns the number of battleground-specific statistics on the current battleground's scoreboard. Battleground-specific statistics include flags captured in Warsong Gulch, towers assaulted in Alterac Valley, etc. For the name and icon associated with each statistic, see GetBattlefieldStatInfo(). diff --git a/api/GetNumBattlefieldVehicles.lua b/api/GetNumBattlefieldVehicles.lua index 0b73116..a518ef4 100644 --- a/api/GetNumBattlefieldVehicles.lua +++ b/api/GetNumBattlefieldVehicles.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numVehicles ---Returns the number of special vehicles in the current zone. Used only for certain vehicles in certain zones: includes the airships in Icecrown as well as vehicles used in Ulduar, Wintergrasp, and Strand of the Ancients. diff --git a/api/GetNumBattlegroundTypes.lua b/api/GetNumBattlegroundTypes.lua index b81b436..eb9be31 100644 --- a/api/GetNumBattlegroundTypes.lua +++ b/api/GetNumBattlegroundTypes.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numBattlegrounds ---Returns the number of different battlegrounds available. Refers to distinct battlegrounds, not battleground instances. Does not indicate the number of battlegrounds the player can enter: for that, see GetBattlegroundInfo. As of WoW 3.2, should always return 6: for Alterac Valley, Warsong Gulch, Arathi Basin, Eye of the Storm, Strand of the Ancients, and Isle of Conquest. If a future patch adds a new battleground, this function will reflect that. diff --git a/api/GetNumBindings.lua b/api/GetNumBindings.lua index bb3fbc0..9639d7e 100644 --- a/api/GetNumBindings.lua +++ b/api/GetNumBindings.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numBindings ---Returns the number of entries in the key bindings list diff --git a/api/GetNumBuybackItems.lua b/api/GetNumBuybackItems.lua index 4800521..ac86565 100644 --- a/api/GetNumBuybackItems.lua +++ b/api/GetNumBuybackItems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numBuybackItems ---Returns the number of items recently sold to a vendor and available to be repurchased diff --git a/api/GetNumChallengeMapRewards.lua b/api/GetNumChallengeMapRewards.lua index c601108..2791a57 100644 --- a/api/GetNumChallengeMapRewards.lua +++ b/api/GetNumChallengeMapRewards.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumChallengeMapRewards() end diff --git a/api/GetNumChallengeModeLeaders.lua b/api/GetNumChallengeModeLeaders.lua index 74fb5dd..97bca6b 100644 --- a/api/GetNumChallengeModeLeaders.lua +++ b/api/GetNumChallengeModeLeaders.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumChallengeModeLeaders() end diff --git a/api/GetNumChannelMembers.lua b/api/GetNumChannelMembers.lua index c111afe..51047c0 100644 --- a/api/GetNumChannelMembers.lua +++ b/api/GetNumChannelMembers.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return number numMembers diff --git a/api/GetNumClasses.lua b/api/GetNumClasses.lua index fc1bc3e..822ca21 100644 --- a/api/GetNumClasses.lua +++ b/api/GetNumClasses.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumClasses() end diff --git a/api/GetNumCompanions.lua b/api/GetNumCompanions.lua index ef45f95..68cd6d5 100644 --- a/api/GetNumCompanions.lua +++ b/api/GetNumCompanions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param type MOUNT ---@param CRITTER diff --git a/api/GetNumComparisonCompletedAchievements.lua b/api/GetNumComparisonCompletedAchievements.lua index ba1aa1f..b44a6ec 100644 --- a/api/GetNumComparisonCompletedAchievements.lua +++ b/api/GetNumComparisonCompletedAchievements.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number total ---@return number completed diff --git a/api/GetNumCompletedAchievements.lua b/api/GetNumCompletedAchievements.lua index 82212e4..23f3dd9 100644 --- a/api/GetNumCompletedAchievements.lua +++ b/api/GetNumCompletedAchievements.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param isForGuild boolean ---@return number total diff --git a/api/GetNumDeclensionSets.lua b/api/GetNumDeclensionSets.lua index a515979..3c5afec 100644 --- a/api/GetNumDeclensionSets.lua +++ b/api/GetNumDeclensionSets.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param gender 3 diff --git a/api/GetNumDisplayChannels.lua b/api/GetNumDisplayChannels.lua index df057bf..1ac5581 100644 --- a/api/GetNumDisplayChannels.lua +++ b/api/GetNumDisplayChannels.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number channelCount ---Returns the number of entries in the channel list display diff --git a/api/GetNumDungeonMapLevels.lua b/api/GetNumDungeonMapLevels.lua index 649eb6b..91ede33 100644 --- a/api/GetNumDungeonMapLevels.lua +++ b/api/GetNumDungeonMapLevels.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numLevels ---@return number firstLevel diff --git a/api/GetNumEquipmentSets.lua b/api/GetNumEquipmentSets.lua index a5c3c6e..401ce57 100644 --- a/api/GetNumEquipmentSets.lua +++ b/api/GetNumEquipmentSets.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numSets ---Returns the number of saved equipment sets diff --git a/api/GetNumFactions.lua b/api/GetNumFactions.lua index fe33287..3d7b5a5 100644 --- a/api/GetNumFactions.lua +++ b/api/GetNumFactions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numFactions ---Returns the number of entries in the reputation UI. Entries in the reputation UI can be major group headers (Classic, Burning Crusade, Wrath of the Lich King, Inactive, etc.), the sub-group headers within them (Alliance Forces, Steamwheedle Cartel, Horde Expedition, Shattrath City, etc.), or individual factions (Darkmoon Faire, Orgrimmar, Honor Hold, Kirin Tor, etc.). This function returns not the total number of factions (and headers) known, but the number which should currently be visible in the UI according to the expanded/collapsed state of headers. diff --git a/api/GetNumFlexRaidDungeons.lua b/api/GetNumFlexRaidDungeons.lua index 35f0c6b..8f85b58 100644 --- a/api/GetNumFlexRaidDungeons.lua +++ b/api/GetNumFlexRaidDungeons.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumFlexRaidDungeons() end diff --git a/api/GetNumFlyouts.lua b/api/GetNumFlyouts.lua index bfa2fb0..eb1e847 100644 --- a/api/GetNumFlyouts.lua +++ b/api/GetNumFlyouts.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numFlyouts ---Returns the number of flyout actions in the UI. Examples of flyouts are the mage portal button and the warlock and hunter pet summoning buttons. These flyouts can be placed in action buttons. diff --git a/api/GetNumFrames.lua b/api/GetNumFrames.lua index 64f3979..816febf 100644 --- a/api/GetNumFrames.lua +++ b/api/GetNumFrames.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numFrames ---Returns the number of existing Frame objects (and derivatives). Only counts Frame objects and derivatives thereof (e.g. Button, Minimap, and StatusBar; but not FontString, AnimationGroup, and Texture). diff --git a/api/GetNumFriends.lua b/api/GetNumFriends.lua index 9705da2..742c9d6 100644 --- a/api/GetNumFriends.lua +++ b/api/GetNumFriends.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numFriends ---@return number numFriendsOnline diff --git a/api/GetNumGlyphSockets.lua b/api/GetNumGlyphSockets.lua index f296635..b835804 100644 --- a/api/GetNumGlyphSockets.lua +++ b/api/GetNumGlyphSockets.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Currently unused. Use the constant NUM_GLYPH_SLOTS instead. function GetNumGlyphSockets() end diff --git a/api/GetNumGlyphs.lua b/api/GetNumGlyphs.lua index f0e0018..0826b6a 100644 --- a/api/GetNumGlyphs.lua +++ b/api/GetNumGlyphs.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numGlyphs ---Returns the total amount of glyphs for the player's class diff --git a/api/GetNumGossipActiveQuests.lua b/api/GetNumGossipActiveQuests.lua index 5ce0327..a29425c 100644 --- a/api/GetNumGossipActiveQuests.lua +++ b/api/GetNumGossipActiveQuests.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number num ---Returns the number of quests which can be turned in to the current Gossip NPC. These quests are displayed with a question mark icon in the default UI's GossipFrame. diff --git a/api/GetNumGossipAvailableQuests.lua b/api/GetNumGossipAvailableQuests.lua index 75daf05..460afee 100644 --- a/api/GetNumGossipAvailableQuests.lua +++ b/api/GetNumGossipAvailableQuests.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number num ---Returns the number of quests available from the current Gossip NPC. These quests are displayed with an exclamation mark icon in the default UI's GossipFrame. diff --git a/api/GetNumGossipOptions.lua b/api/GetNumGossipOptions.lua index d58dd6d..4363520 100644 --- a/api/GetNumGossipOptions.lua +++ b/api/GetNumGossipOptions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numOptions ---Returns the number of non-quest dialog options for the current Gossip NPC. Used by the default UI to skip greeting gossip for NPCs which provide only a greeting and one gossip option leading to the NPC's main interaction type (e.g. flight masters, merchants). diff --git a/api/GetNumGroupMembers.lua b/api/GetNumGroupMembers.lua index 3c34875..d7257e2 100644 --- a/api/GetNumGroupMembers.lua +++ b/api/GetNumGroupMembers.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number playerNumber ---Return number of players in current party/raid. diff --git a/api/GetNumGuildApplicants.lua b/api/GetNumGuildApplicants.lua index 78ecdf0..1f54778 100644 --- a/api/GetNumGuildApplicants.lua +++ b/api/GetNumGuildApplicants.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumGuildApplicants() end diff --git a/api/GetNumGuildBankMoneyTransactions.lua b/api/GetNumGuildBankMoneyTransactions.lua index acda575..d7a83e4 100644 --- a/api/GetNumGuildBankMoneyTransactions.lua +++ b/api/GetNumGuildBankMoneyTransactions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numTransactions ---Returns the number of transactions in the guild bank money log diff --git a/api/GetNumGuildBankTabs.lua b/api/GetNumGuildBankTabs.lua index 5c3419a..18ed2bc 100644 --- a/api/GetNumGuildBankTabs.lua +++ b/api/GetNumGuildBankTabs.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numTabs ---Returns the number of purchased tabs in the guild bank. Returns valid information even if the player is not interacting with a guild bank vault. diff --git a/api/GetNumGuildBankTransactions.lua b/api/GetNumGuildBankTransactions.lua index c6b9b37..432dd12 100644 --- a/api/GetNumGuildBankTransactions.lua +++ b/api/GetNumGuildBankTransactions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@return number numTransactions diff --git a/api/GetNumGuildChallenges.lua b/api/GetNumGuildChallenges.lua index 6de20f9..73d2709 100644 --- a/api/GetNumGuildChallenges.lua +++ b/api/GetNumGuildChallenges.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumGuildChallenges() end diff --git a/api/GetNumGuildEvents.lua b/api/GetNumGuildEvents.lua index e2e5fda..f67bb9f 100644 --- a/api/GetNumGuildEvents.lua +++ b/api/GetNumGuildEvents.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numEvents ---Returns the number of entries in the guild event log. Only returns valid data after calling QueryGuildEventLog() and the following GUILD_EVENT_LOG_UPDATE event has fired. diff --git a/api/GetNumGuildMembers.lua b/api/GetNumGuildMembers.lua index 03c5be6..7700acc 100644 --- a/api/GetNumGuildMembers.lua +++ b/api/GetNumGuildMembers.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numGuildMembers ---@return number numOnline diff --git a/api/GetNumGuildMembershipRequests.lua b/api/GetNumGuildMembershipRequests.lua index ef08bad..00afd96 100644 --- a/api/GetNumGuildMembershipRequests.lua +++ b/api/GetNumGuildMembershipRequests.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumGuildMembershipRequests() end diff --git a/api/GetNumGuildNews.lua b/api/GetNumGuildNews.lua index c26a24d..0351502 100644 --- a/api/GetNumGuildNews.lua +++ b/api/GetNumGuildNews.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numNews ---Returns the total amount of guild news (filtered) diff --git a/api/GetNumGuildPerks.lua b/api/GetNumGuildPerks.lua index c53e74e..8dcfd31 100644 --- a/api/GetNumGuildPerks.lua +++ b/api/GetNumGuildPerks.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numPerks ---Returns the total amount of guild perks (including unavailable ones) diff --git a/api/GetNumGuildRewards.lua b/api/GetNumGuildRewards.lua index ca4f6df..ddac534 100644 --- a/api/GetNumGuildRewards.lua +++ b/api/GetNumGuildRewards.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numRewards ---Return the total amount of guild rewards (including unavailable ones) diff --git a/api/GetNumGuildTradeSkill.lua b/api/GetNumGuildTradeSkill.lua index 681e5ad..5fd3f04 100644 --- a/api/GetNumGuildTradeSkill.lua +++ b/api/GetNumGuildTradeSkill.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns the number of people and headers currently visible in the profession view of your guild window. This functions returns the number of people (including the headers that are also counted as one player each) which you can currently see in your guild profession window. If you select "Show offline Members" they will also be counted. To make things clear a small example: let's assume you have all professions in your guild and the headers are all collapsed then this will return 11 (as of WoW 4.0). If you have 7 alchemists, 4 of them are online and you have not checked "Show Offline Members" then this will return 15. If you check the box to show all members then this will return 18. function GetNumGuildTradeSkill() end diff --git a/api/GetNumIgnores.lua b/api/GetNumIgnores.lua index 1538e26..5ac30c3 100644 --- a/api/GetNumIgnores.lua +++ b/api/GetNumIgnores.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numIgnores ---Returns the number of characters on the player's ignore list diff --git a/api/GetNumItemUpgradeEffects.lua b/api/GetNumItemUpgradeEffects.lua index f17e0ee..4ccbd22 100644 --- a/api/GetNumItemUpgradeEffects.lua +++ b/api/GetNumItemUpgradeEffects.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumItemUpgradeEffects() end diff --git a/api/GetNumLanguages.lua b/api/GetNumLanguages.lua index feb6e64..33cf42d 100644 --- a/api/GetNumLanguages.lua +++ b/api/GetNumLanguages.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number languages ---Returns the number of languages the player character can speak diff --git a/api/GetNumLootItems.lua b/api/GetNumLootItems.lua index d5c0b2d..99a2d00 100644 --- a/api/GetNumLootItems.lua +++ b/api/GetNumLootItems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numItems ---Returns the number of items available to be looted diff --git a/api/GetNumMacros.lua b/api/GetNumMacros.lua index 96a45bb..f635581 100644 --- a/api/GetNumMacros.lua +++ b/api/GetNumMacros.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numAccountMacros ---@return number numCharacterMacros diff --git a/api/GetNumMapDebugObjects.lua b/api/GetNumMapDebugObjects.lua index 1f627cc..88d34b4 100644 --- a/api/GetNumMapDebugObjects.lua +++ b/api/GetNumMapDebugObjects.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumMapDebugObjects() end diff --git a/api/GetNumMapLandmarks.lua b/api/GetNumMapLandmarks.lua index 2bf10ee..5596d64 100644 --- a/api/GetNumMapLandmarks.lua +++ b/api/GetNumMapLandmarks.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numLandmarks ---Returns the number of landmarks on the world map. Possible landmarks include PvP objectives (both in battlegrounds and in world PvP areas), town and city markers on continent maps, and special markers such as those used during the Scourge Invasion world event. Some landmarks (such as those for towns on a zone map) exist but are not visible in the default UI. diff --git a/api/GetNumMapOverlays.lua b/api/GetNumMapOverlays.lua index 0d0c6aa..8f2bbde 100644 --- a/api/GetNumMapOverlays.lua +++ b/api/GetNumMapOverlays.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numOverlays ---Returns the number of overlays for the current world map zone. Map overlays correspond to areas which are "discovered" when entered by the player, "filling in" the blank areas of the world map. diff --git a/api/GetNumMembersInRank.lua b/api/GetNumMembersInRank.lua index 0429498..e699101 100644 --- a/api/GetNumMembersInRank.lua +++ b/api/GetNumMembersInRank.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumMembersInRank() end diff --git a/api/GetNumMissingLootItems.lua b/api/GetNumMissingLootItems.lua index bc8626e..d80e797 100644 --- a/api/GetNumMissingLootItems.lua +++ b/api/GetNumMissingLootItems.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumMissingLootItems() end diff --git a/api/GetNumModifiedClickActions.lua b/api/GetNumModifiedClickActions.lua index 7942d01..da468d8 100644 --- a/api/GetNumModifiedClickActions.lua +++ b/api/GetNumModifiedClickActions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number num ---Returns the number of modified click actions registered. May return an invalid result if called when no modified click actions have been registered (i.e. early in the UI loading process). diff --git a/api/GetNumMutes.lua b/api/GetNumMutes.lua index f978185..a36c816 100644 --- a/api/GetNumMutes.lua +++ b/api/GetNumMutes.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numMuted ---Returns the number of characters on the player's mute list diff --git a/api/GetNumNamePlateMotionTypes.lua b/api/GetNumNamePlateMotionTypes.lua index c970ffc..44ee210 100644 --- a/api/GetNumNamePlateMotionTypes.lua +++ b/api/GetNumNamePlateMotionTypes.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumNamePlateMotionTypes() end diff --git a/api/GetNumPackages.lua b/api/GetNumPackages.lua index 2ec0ba8..6a80597 100644 --- a/api/GetNumPackages.lua +++ b/api/GetNumPackages.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumPackages() end diff --git a/api/GetNumPetitionNames.lua b/api/GetNumPetitionNames.lua index 4abf287..121bd03 100644 --- a/api/GetNumPetitionNames.lua +++ b/api/GetNumPetitionNames.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numNames ---Returns the number of people who have signed the open petition diff --git a/api/GetNumQuestChoices.lua b/api/GetNumQuestChoices.lua index 19c0299..90b7e02 100644 --- a/api/GetNumQuestChoices.lua +++ b/api/GetNumQuestChoices.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numQuestChoices ---Returns the number of available quest rewards from which the player must choose one upon completing the quest presented by a questgiver. Only valid during the accept/decline or completion stages of a quest dialog (following the QUEST_DETAIL or QUEST_COMPLETE events); otherwise may return 0 or a value from the most recently displayed quest. diff --git a/api/GetNumQuestCurrencies.lua b/api/GetNumQuestCurrencies.lua index 82e6822..b042c1d 100644 --- a/api/GetNumQuestCurrencies.lua +++ b/api/GetNumQuestCurrencies.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumQuestCurrencies() end diff --git a/api/GetNumQuestItemDrops.lua b/api/GetNumQuestItemDrops.lua index 10d6d43..ee1fc10 100644 --- a/api/GetNumQuestItemDrops.lua +++ b/api/GetNumQuestItemDrops.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumQuestItemDrops() end diff --git a/api/GetNumQuestItems.lua b/api/GetNumQuestItems.lua index e1d4365..9d679bb 100644 --- a/api/GetNumQuestItems.lua +++ b/api/GetNumQuestItems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numRequiredItems ---Returns the number of different items required to complete the quest presented by a questgiver. Usable following the QUEST_PROGRESS event in which it is determined whether the player can complete the quest. diff --git a/api/GetNumQuestLeaderBoards.lua b/api/GetNumQuestLeaderBoards.lua index 1d01794..d52c140 100644 --- a/api/GetNumQuestLeaderBoards.lua +++ b/api/GetNumQuestLeaderBoards.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questIndex number ---@return number numObjectives diff --git a/api/GetNumQuestLogChoices.lua b/api/GetNumQuestLogChoices.lua index ffbf21d..498e84d 100644 --- a/api/GetNumQuestLogChoices.lua +++ b/api/GetNumQuestLogChoices.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numChoices ---Returns the number of available item reward choices for the selected quest in the quest log. This function refers to quest rewards for which the player is allowed to choose one item from among several; for items always awarded upon quest completion, see GetNumQuestLogRewards. diff --git a/api/GetNumQuestLogEntries.lua b/api/GetNumQuestLogEntries.lua index 6431977..abe7630 100644 --- a/api/GetNumQuestLogEntries.lua +++ b/api/GetNumQuestLogEntries.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numEntries ---@return number numQuests diff --git a/api/GetNumQuestLogRewardCurrencies.lua b/api/GetNumQuestLogRewardCurrencies.lua index f0a15ba..d3aff1b 100644 --- a/api/GetNumQuestLogRewardCurrencies.lua +++ b/api/GetNumQuestLogRewardCurrencies.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumQuestLogRewardCurrencies() end diff --git a/api/GetNumQuestLogRewardFactions.lua b/api/GetNumQuestLogRewardFactions.lua index 768c37f..83519f1 100644 --- a/api/GetNumQuestLogRewardFactions.lua +++ b/api/GetNumQuestLogRewardFactions.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumQuestLogRewardFactions() end diff --git a/api/GetNumQuestLogRewards.lua b/api/GetNumQuestLogRewards.lua index 86f7492..ef15fe7 100644 --- a/api/GetNumQuestLogRewards.lua +++ b/api/GetNumQuestLogRewards.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numRewards ---Returns the number of item rewards for the selected quest in the quest log. This function refers to items always awarded upon quest completion; for quest rewards for which the player is allowed to choose one item from among several, see GetNumQuestLogChoices. diff --git a/api/GetNumQuestLogTasks.lua b/api/GetNumQuestLogTasks.lua index 47080e0..e273811 100644 --- a/api/GetNumQuestLogTasks.lua +++ b/api/GetNumQuestLogTasks.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumQuestLogTasks() end diff --git a/api/GetNumQuestPOIWorldEffects.lua b/api/GetNumQuestPOIWorldEffects.lua index 06b8288..c0c229c 100644 --- a/api/GetNumQuestPOIWorldEffects.lua +++ b/api/GetNumQuestPOIWorldEffects.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumQuestPOIWorldEffects() end diff --git a/api/GetNumQuestRewards.lua b/api/GetNumQuestRewards.lua index 7274600..5347c48 100644 --- a/api/GetNumQuestRewards.lua +++ b/api/GetNumQuestRewards.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numQuestRewards ---Returns the number of different items always awarded upon completing the quest presented by a questgiver. Only valid during the accept/decline or completion stages of a quest dialog (following the QUEST_DETAIL or QUEST_COMPLETE events); otherwise may return 0 or a value from the most recently displayed quest. diff --git a/api/GetNumQuestWatches.lua b/api/GetNumQuestWatches.lua index 375e327..8a802aa 100644 --- a/api/GetNumQuestWatches.lua +++ b/api/GetNumQuestWatches.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numWatches ---Returns the number of quests included in the objectives tracker diff --git a/api/GetNumRFDungeons.lua b/api/GetNumRFDungeons.lua index 0a14b44..1eacdbd 100644 --- a/api/GetNumRFDungeons.lua +++ b/api/GetNumRFDungeons.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numberOfRFDungeons ---Returns the number of raid finder instances. diff --git a/api/GetNumRaidProfiles.lua b/api/GetNumRaidProfiles.lua index 67e74dd..97016aa 100644 --- a/api/GetNumRaidProfiles.lua +++ b/api/GetNumRaidProfiles.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumRaidProfiles() end diff --git a/api/GetNumRandomScenarios.lua b/api/GetNumRandomScenarios.lua index 21f5992..74eb223 100644 --- a/api/GetNumRandomScenarios.lua +++ b/api/GetNumRandomScenarios.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumRandomScenarios() end diff --git a/api/GetNumRecruitingGuilds.lua b/api/GetNumRecruitingGuilds.lua index caf0496..770a1b7 100644 --- a/api/GetNumRecruitingGuilds.lua +++ b/api/GetNumRecruitingGuilds.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumRecruitingGuilds() end diff --git a/api/GetNumRewardCurrencies.lua b/api/GetNumRewardCurrencies.lua index 32b1f1d..d05c6aa 100644 --- a/api/GetNumRewardCurrencies.lua +++ b/api/GetNumRewardCurrencies.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumRewardCurrencies() end diff --git a/api/GetNumRoutes.lua b/api/GetNumRoutes.lua index b9f01c6..0478d1b 100644 --- a/api/GetNumRoutes.lua +++ b/api/GetNumRoutes.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number numHops diff --git a/api/GetNumSavedInstances.lua b/api/GetNumSavedInstances.lua index 0d4c62e..83ab324 100644 --- a/api/GetNumSavedInstances.lua +++ b/api/GetNumSavedInstances.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number savedInstances ---Returns the number of instances to which the player is saved diff --git a/api/GetNumSavedWorldBosses.lua b/api/GetNumSavedWorldBosses.lua index e6bb019..1c07537 100644 --- a/api/GetNumSavedWorldBosses.lua +++ b/api/GetNumSavedWorldBosses.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumSavedWorldBosses() end diff --git a/api/GetNumScenarios.lua b/api/GetNumScenarios.lua index ed5ce7a..e8521f3 100644 --- a/api/GetNumScenarios.lua +++ b/api/GetNumScenarios.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumScenarios() end diff --git a/api/GetNumShapeshiftForms.lua b/api/GetNumShapeshiftForms.lua index 97134eb..974b839 100644 --- a/api/GetNumShapeshiftForms.lua +++ b/api/GetNumShapeshiftForms.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numForms ---Returns the number of abilities to be presented on the stance/shapeshift bar diff --git a/api/GetNumSockets.lua b/api/GetNumSockets.lua index 9dbd2fd..d719cca 100644 --- a/api/GetNumSockets.lua +++ b/api/GetNumSockets.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numSockets ---Returns the number of sockets on the item currently being socketed. Only returns valid information when the Item Socketing UI is open (i.e. between the SOCKET_INFO_UPDATE and SOCKET_INFO_CLOSE events). diff --git a/api/GetNumSpecGroups.lua b/api/GetNumSpecGroups.lua index 1dda8be..3160b39 100644 --- a/api/GetNumSpecGroups.lua +++ b/api/GetNumSpecGroups.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumSpecGroups() end diff --git a/api/GetNumSpecializations.lua b/api/GetNumSpecializations.lua index 25b7439..640ff23 100644 --- a/api/GetNumSpecializations.lua +++ b/api/GetNumSpecializations.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumSpecializations() end diff --git a/api/GetNumSpecializationsForClassID.lua b/api/GetNumSpecializationsForClassID.lua index f0a82a6..344cbbe 100644 --- a/api/GetNumSpecializationsForClassID.lua +++ b/api/GetNumSpecializationsForClassID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumSpecializationsForClassID() end diff --git a/api/GetNumSpellTabs.lua b/api/GetNumSpellTabs.lua index a8275c1..de31431 100644 --- a/api/GetNumSpellTabs.lua +++ b/api/GetNumSpellTabs.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numTabs ---Returns the number of tabs in the player's spellbook diff --git a/api/GetNumStationeries.lua b/api/GetNumStationeries.lua index 7968006..dfd8a19 100644 --- a/api/GetNumStationeries.lua +++ b/api/GetNumStationeries.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numStationeries ---Returns the number of available stationery types. Always returns 1; the stationery feature for sending mail is not implemented in the current version of World of Warcraft. diff --git a/api/GetNumSubgroupMembers.lua b/api/GetNumSubgroupMembers.lua index 7352d40..f474521 100644 --- a/api/GetNumSubgroupMembers.lua +++ b/api/GetNumSubgroupMembers.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number playerNumber ---Return number of other players in current player’s raid subgroup. diff --git a/api/GetNumTitles.lua b/api/GetNumTitles.lua index 20dad70..590f670 100644 --- a/api/GetNumTitles.lua +++ b/api/GetNumTitles.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numTitles ---Returns the number of available player titles. Includes all titles, not just those earned by the player diff --git a/api/GetNumTrackedAchievements.lua b/api/GetNumTrackedAchievements.lua index d99a013..2d2654a 100644 --- a/api/GetNumTrackedAchievements.lua +++ b/api/GetNumTrackedAchievements.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number count ---Returns the number of achievements flagged for display in the objectives tracker UI diff --git a/api/GetNumTrackingTypes.lua b/api/GetNumTrackingTypes.lua index 0d478dd..84b3cb5 100644 --- a/api/GetNumTrackingTypes.lua +++ b/api/GetNumTrackingTypes.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number count ---Returns the number of available minimap object/unit tracking abilities diff --git a/api/GetNumTradeSkills.lua b/api/GetNumTradeSkills.lua index 62d8f4c..6c1f2ac 100644 --- a/api/GetNumTradeSkills.lua +++ b/api/GetNumTradeSkills.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numSkills ---Returns the number of entries in the trade skill listing. Entries include both group headers and individual trade skill recipes. Reflects the list as it should currently be displayed, not necessarily the complete list -- if headers are collapsed or a filter is enabled, a smaller number will be returned. Returns 0 if a trade skill is not "open". diff --git a/api/GetNumTrainerServices.lua b/api/GetNumTrainerServices.lua index 1496c03..c301fcd 100644 --- a/api/GetNumTrainerServices.lua +++ b/api/GetNumTrainerServices.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numServices ---Returns the number of entries in the trainer service listing. Entries include both group headers and individual trainer services (i.e spells or recipes to be purchased). Reflects the list as it should currently be displayed, not necessarily the complete list -- if headers are collapsed or a filter is enabled, a smaller number will be returned. Returns 0 if not interacting with a trainer. diff --git a/api/GetNumUnspentTalents.lua b/api/GetNumUnspentTalents.lua index da4afce..2b8cb34 100644 --- a/api/GetNumUnspentTalents.lua +++ b/api/GetNumUnspentTalents.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumUnspentTalents() end diff --git a/api/GetNumVoiceSessionMembersBySessionID.lua b/api/GetNumVoiceSessionMembersBySessionID.lua index 4e23958..942dd57 100644 --- a/api/GetNumVoiceSessionMembersBySessionID.lua +++ b/api/GetNumVoiceSessionMembersBySessionID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param sessionId number ---@return number numMembers diff --git a/api/GetNumVoiceSessions.lua b/api/GetNumVoiceSessions.lua index 07c0196..eafcd58 100644 --- a/api/GetNumVoiceSessions.lua +++ b/api/GetNumVoiceSessions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number count ---Returns the number of available voice channels. Returns 0 if voice chat is disabled. diff --git a/api/GetNumVoidTransferDeposit.lua b/api/GetNumVoidTransferDeposit.lua index 545271a..3bafa5e 100644 --- a/api/GetNumVoidTransferDeposit.lua +++ b/api/GetNumVoidTransferDeposit.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumVoidTransferDeposit() end diff --git a/api/GetNumVoidTransferWithdrawal.lua b/api/GetNumVoidTransferWithdrawal.lua index 2681c4b..4b25a70 100644 --- a/api/GetNumVoidTransferWithdrawal.lua +++ b/api/GetNumVoidTransferWithdrawal.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumVoidTransferWithdrawal() end diff --git a/api/GetNumWarGameTypes.lua b/api/GetNumWarGameTypes.lua index 7c39943..1bbd9c8 100644 --- a/api/GetNumWarGameTypes.lua +++ b/api/GetNumWarGameTypes.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumWarGameTypes() end diff --git a/api/GetNumWhoResults.lua b/api/GetNumWhoResults.lua index 1c4e0f1..af7ad45 100644 --- a/api/GetNumWhoResults.lua +++ b/api/GetNumWhoResults.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numResults ---@return number totalCount diff --git a/api/GetNumWorldPVPAreas.lua b/api/GetNumWorldPVPAreas.lua index 72ab91a..bab3364 100644 --- a/api/GetNumWorldPVPAreas.lua +++ b/api/GetNumWorldPVPAreas.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumWorldPVPAreas() end diff --git a/api/GetNumWorldStateUI.lua b/api/GetNumWorldStateUI.lua index 77271e6..87196e6 100644 --- a/api/GetNumWorldStateUI.lua +++ b/api/GetNumWorldStateUI.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numUI ---Returns the number of world state UI elements. World State UI elements include PvP, instance, and quest objective information (displayed at the top center of the screen in the default UI) as well as more specific information for "control point" style PvP objectives. Examples: the Horde/Alliance score in Arathi Basin, the tower status and capture progress bars in Hellfire Peninsula, the progress text in the Black Morass and Violet Hold instances, and the event status text for quests The Light of Dawn and The Battle For The Undercity. diff --git a/api/GetNumberOfDetailTiles.lua b/api/GetNumberOfDetailTiles.lua index 8c4c716..71b07a1 100644 --- a/api/GetNumberOfDetailTiles.lua +++ b/api/GetNumberOfDetailTiles.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetNumberOfDetailTiles() end diff --git a/api/GetOSLocale.lua b/api/GetOSLocale.lua index f9ceeee..0ca8122 100644 --- a/api/GetOSLocale.lua +++ b/api/GetOSLocale.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetOSLocale() end diff --git a/api/GetObjectiveText.lua b/api/GetObjectiveText.lua index 1b4283c..c6b7597 100644 --- a/api/GetObjectiveText.lua +++ b/api/GetObjectiveText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string questObjective ---Returns a summary of objectives for the quest offered by a questgiver. Only valid when the questgiver UI is showing the accept/decline stage of a quest dialog (between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return the empty string or a value from the most recently displayed quest. diff --git a/api/GetOptOutOfLoot.lua b/api/GetOptOutOfLoot.lua index 33c1d35..de5c3bc 100644 --- a/api/GetOptOutOfLoot.lua +++ b/api/GetOptOutOfLoot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isOptOut ---Returns whether the player has opted out of loot rolls. When opting out, no prompt will be shown for loot which ordinarily would prompt the player to roll (need/greed) or pass; the loot rolling process will continue for other group members as if the player had chosen to pass on every roll. diff --git a/api/GetOutdoorPVPWaitTime.lua b/api/GetOutdoorPVPWaitTime.lua index de89ffd..d57c36c 100644 --- a/api/GetOutdoorPVPWaitTime.lua +++ b/api/GetOutdoorPVPWaitTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number waitTime ---Returns the world PvP wait time for the currently selected zone, nil otherwise. Authors looking for information regarding specific world PvP zones should consider using GetWorldPVPAreaInfo() instead. diff --git a/api/GetOverrideAPBySpellPower.lua b/api/GetOverrideAPBySpellPower.lua index 08e38a6..f6a61d7 100644 --- a/api/GetOverrideAPBySpellPower.lua +++ b/api/GetOverrideAPBySpellPower.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetOverrideAPBySpellPower() end diff --git a/api/GetOverrideBarIndex.lua b/api/GetOverrideBarIndex.lua index e9c1961..93eb67a 100644 --- a/api/GetOverrideBarIndex.lua +++ b/api/GetOverrideBarIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetOverrideBarIndex() end diff --git a/api/GetOverrideBarSkin.lua b/api/GetOverrideBarSkin.lua index e00bf2a..9c24718 100644 --- a/api/GetOverrideBarSkin.lua +++ b/api/GetOverrideBarSkin.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetOverrideBarSkin() end diff --git a/api/GetOverrideSpellPowerByAP.lua b/api/GetOverrideSpellPowerByAP.lua index 95e1fd5..8e10fe1 100644 --- a/api/GetOverrideSpellPowerByAP.lua +++ b/api/GetOverrideSpellPowerByAP.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number spellPower ---Returns how much spell power is returned by attack power (Shaman). Currently valid for Enhancement Shamans only. diff --git a/api/GetOwnerAuctionItems.lua b/api/GetOwnerAuctionItems.lua index 020a0e3..cce62d5 100644 --- a/api/GetOwnerAuctionItems.lua +++ b/api/GetOwnerAuctionItems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests data from the server for the list of auctions created by the player. The AUCTION_OWNED_LIST_UPDATE event fires if new data is available; listing information can then be retrieved using GetAuctionItemInfo() or other Auction APIs. function GetOwnerAuctionItems() end diff --git a/api/GetPOITextureCoords.lua b/api/GetPOITextureCoords.lua index f15de06..8ea2020 100644 --- a/api/GetPOITextureCoords.lua +++ b/api/GetPOITextureCoords.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param textureIndex number ---@return number x1 diff --git a/api/GetPVPDesired.lua b/api/GetPVPDesired.lua index 401490c..98b8195 100644 --- a/api/GetPVPDesired.lua +++ b/api/GetPVPDesired.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number isPVPDesired ---Returns whether the player has manually enabled PvP status. Only indicates whether the player has manually and directly enabled his PvP flag (e.g. by typing "/pvp" or using the default UI's menu when right-clicking the player portrait); returns 0 if the player only became PvP flagged by attacking an enemy player, entering an enemy zone, etc. diff --git a/api/GetPVPLifetimeStats.lua b/api/GetPVPLifetimeStats.lua index 536e5fb..9b1fcab 100644 --- a/api/GetPVPLifetimeStats.lua +++ b/api/GetPVPLifetimeStats.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number hk ---@return number highestRank diff --git a/api/GetPVPRewards.lua b/api/GetPVPRewards.lua index e74ba78..331900e 100644 --- a/api/GetPVPRewards.lua +++ b/api/GetPVPRewards.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number pointsThisWeek ---@return number maxPointsThisWeek diff --git a/api/GetPVPRoles.lua b/api/GetPVPRoles.lua index 76f7f71..da43274 100644 --- a/api/GetPVPRoles.lua +++ b/api/GetPVPRoles.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetPVPRoles() end diff --git a/api/GetPVPSessionStats.lua b/api/GetPVPSessionStats.lua index 8b310f6..13dfbd0 100644 --- a/api/GetPVPSessionStats.lua +++ b/api/GetPVPSessionStats.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number honorKills ---@return number honorPoints diff --git a/api/GetPVPTimer.lua b/api/GetPVPTimer.lua index 79e1c1c..cfafbe7 100644 --- a/api/GetPVPTimer.lua +++ b/api/GetPVPTimer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number timer ---Returns the amount of time until the player's PVP flag expires. Returns 300000 or higher if the player's PvP flag is manually enabled or if the player is in a PvP or enemy zone. diff --git a/api/GetPVPYesterdayStats.lua b/api/GetPVPYesterdayStats.lua index 22eac71..b2e28c8 100644 --- a/api/GetPVPYesterdayStats.lua +++ b/api/GetPVPYesterdayStats.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number honorKills ---@return number honorPoints diff --git a/api/GetPackageInfo.lua b/api/GetPackageInfo.lua index 6b66cba..7326ee9 100644 --- a/api/GetPackageInfo.lua +++ b/api/GetPackageInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetPackageInfo() end diff --git a/api/GetParryChance.lua b/api/GetParryChance.lua index 0db0799..e7e132f 100644 --- a/api/GetParryChance.lua +++ b/api/GetParryChance.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number chance ---Returns the player's parry chance diff --git a/api/GetPartyAssignment.lua b/api/GetPartyAssignment.lua index 931ede2..41a0557 100644 --- a/api/GetPartyAssignment.lua +++ b/api/GetPartyAssignment.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param assignment MAINTANK ---@param MAINASSIST diff --git a/api/GetPartyLFGBackfillInfo.lua b/api/GetPartyLFGBackfillInfo.lua index 57e1507..8f9ef46 100644 --- a/api/GetPartyLFGBackfillInfo.lua +++ b/api/GetPartyLFGBackfillInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetPartyLFGBackfillInfo() end diff --git a/api/GetPartyLFGID.lua b/api/GetPartyLFGID.lua index 8ae3dae..db996a8 100644 --- a/api/GetPartyLFGID.lua +++ b/api/GetPartyLFGID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetPartyLFGID() end diff --git a/api/GetPersonalRatedInfo.lua b/api/GetPersonalRatedInfo.lua index 4a9553a..cd7fb38 100644 --- a/api/GetPersonalRatedInfo.lua +++ b/api/GetPersonalRatedInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetPersonalRatedInfo() end diff --git a/api/GetPetActionCooldown.lua b/api/GetPetActionCooldown.lua index b9c0fdf..90ac4f3 100644 --- a/api/GetPetActionCooldown.lua +++ b/api/GetPetActionCooldown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number start diff --git a/api/GetPetActionInfo.lua b/api/GetPetActionInfo.lua index 3c702d6..eddf3d1 100644 --- a/api/GetPetActionInfo.lua +++ b/api/GetPetActionInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetPetActionSlotUsable.lua b/api/GetPetActionSlotUsable.lua index 2905e1f..eaa6a94 100644 --- a/api/GetPetActionSlotUsable.lua +++ b/api/GetPetActionSlotUsable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return 1nil usable diff --git a/api/GetPetActionsUsable.lua b/api/GetPetActionsUsable.lua index 1474b31..f7de9c1 100644 --- a/api/GetPetActionsUsable.lua +++ b/api/GetPetActionsUsable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil petActionsUsable ---Returns whether the pet's actions are usable. Note: GetPetActionSlotUsable can return nil for individual actions even if GetPetActionsUsable returns 1 (though not the other way around). diff --git a/api/GetPetExperience.lua b/api/GetPetExperience.lua index 741ef33..2550b3d 100644 --- a/api/GetPetExperience.lua +++ b/api/GetPetExperience.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number currXP ---@return number nextXP diff --git a/api/GetPetFoodTypes.lua b/api/GetPetFoodTypes.lua index 415a091..2bcb975 100644 --- a/api/GetPetFoodTypes.lua +++ b/api/GetPetFoodTypes.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return Meat ... ---@return Bread diff --git a/api/GetPetIcon.lua b/api/GetPetIcon.lua index 6d11d71..eb42e12 100644 --- a/api/GetPetIcon.lua +++ b/api/GetPetIcon.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string texture ---Returns an icon representing the current pet. Used in the default Pet Stables and Talent UIs for hunter pets; returns nil for other pets. diff --git a/api/GetPetMeleeHaste.lua b/api/GetPetMeleeHaste.lua index e3aff54..9e2921e 100644 --- a/api/GetPetMeleeHaste.lua +++ b/api/GetPetMeleeHaste.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetPetMeleeHaste() end diff --git a/api/GetPetSpellBonusDamage.lua b/api/GetPetSpellBonusDamage.lua index 64861c4..033bb0f 100644 --- a/api/GetPetSpellBonusDamage.lua +++ b/api/GetPetSpellBonusDamage.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetPetSpellBonusDamage() end diff --git a/api/GetPetTalentTree.lua b/api/GetPetTalentTree.lua index e7d5988..9db418c 100644 --- a/api/GetPetTalentTree.lua +++ b/api/GetPetTalentTree.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string talent ---Returns the name of the talent tree used by the player's current pet. Hunter pets use one of three different talent trees according to pet type. Returns nil if the player does not have a pet or the player's current pet does not use talents (i.e. warlock pets, quest pets, etc.) diff --git a/api/GetPetTimeRemaining.lua b/api/GetPetTimeRemaining.lua index 14cdac7..f57d668 100644 --- a/api/GetPetTimeRemaining.lua +++ b/api/GetPetTimeRemaining.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number petTimeRemaining ---Returns the time remaining before a temporary pet is automatically dismissed. Temporary pets include priests' Shadowfriend, mages' Water Elemental, and various quest-related pets. diff --git a/api/GetPetitionInfo.lua b/api/GetPetitionInfo.lua index 341dc2c..dc5720d 100644 --- a/api/GetPetitionInfo.lua +++ b/api/GetPetitionInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return guild petitionType ---@return arena diff --git a/api/GetPetitionNameInfo.lua b/api/GetPetitionNameInfo.lua index 586f478..c657bd6 100644 --- a/api/GetPetitionNameInfo.lua +++ b/api/GetPetitionNameInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetPlayerFacing.lua b/api/GetPlayerFacing.lua index c39b82f..1528a3b 100644 --- a/api/GetPlayerFacing.lua +++ b/api/GetPlayerFacing.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number facing ---Returns the player's orientation (heading). Indicates the direction the player model is (normally) facing and in which the player will move if he begins walking forward, not the camera orientation. Value Value is equal to 0 for North and increases counterclockwise. Full 360° is equal to 2π. Example Direction Value Dump North 0 −0 North West .25π ~0.78538751602173 West .5π ~1.5707750320435 South π ~3.1415500640870 East 1.5π ~4.7124104499817 North East 1.75π ~5.4977979660034 diff --git a/api/GetPlayerInfoByGUID.lua b/api/GetPlayerInfoByGUID.lua index 0900efd..9e2519e 100644 --- a/api/GetPlayerInfoByGUID.lua +++ b/api/GetPlayerInfoByGUID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param guid string ---@return string class diff --git a/api/GetPlayerMapPosition.lua b/api/GetPlayerMapPosition.lua index 7b46703..d5c0d3b 100644 --- a/api/GetPlayerMapPosition.lua +++ b/api/GetPlayerMapPosition.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number unitX diff --git a/api/GetPlayerTradeCurrency.lua b/api/GetPlayerTradeCurrency.lua index 4b884b9..e9fecb6 100644 --- a/api/GetPlayerTradeCurrency.lua +++ b/api/GetPlayerTradeCurrency.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetPlayerTradeCurrency() end diff --git a/api/GetPlayerTradeMoney.lua b/api/GetPlayerTradeMoney.lua index 8a143dd..e50d642 100644 --- a/api/GetPlayerTradeMoney.lua +++ b/api/GetPlayerTradeMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number amount ---Returns the amount of money offered for trade by the player diff --git a/api/GetPossessInfo.lua b/api/GetPossessInfo.lua index c1fc8ea..c3f691e 100644 --- a/api/GetPossessInfo.lua +++ b/api/GetPossessInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string texture diff --git a/api/GetPowerRegen.lua b/api/GetPowerRegen.lua index 6dfe15e..a49adc1 100644 --- a/api/GetPowerRegen.lua +++ b/api/GetPowerRegen.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number inactiveRegen ---@return number activeRegen diff --git a/api/GetPrevCompleatedTutorial.lua b/api/GetPrevCompleatedTutorial.lua index abb9629..c320509 100644 --- a/api/GetPrevCompleatedTutorial.lua +++ b/api/GetPrevCompleatedTutorial.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetPrevCompleatedTutorial() end diff --git a/api/GetPreviousAchievement.lua b/api/GetPreviousAchievement.lua index 7ca4488..f370025 100644 --- a/api/GetPreviousAchievement.lua +++ b/api/GetPreviousAchievement.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return number previousID diff --git a/api/GetPreviousArenaSeason.lua b/api/GetPreviousArenaSeason.lua index f110222..1eca1c5 100644 --- a/api/GetPreviousArenaSeason.lua +++ b/api/GetPreviousArenaSeason.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number season ---Returns a number identifying the previous arena season. New arena seasons begin every few months, resetting team rankings and providing new rewards. diff --git a/api/GetProfessionInfo.lua b/api/GetProfessionInfo.lua index e432d2b..e84bd98 100644 --- a/api/GetProfessionInfo.lua +++ b/api/GetProfessionInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetProfessions.lua b/api/GetProfessions.lua index 001336b..cdcd59f 100644 --- a/api/GetProfessions.lua +++ b/api/GetProfessions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number prof1 ---@return number prof2 diff --git a/api/GetProgressText.lua b/api/GetProgressText.lua index fb248db..ddb0942 100644 --- a/api/GetProgressText.lua +++ b/api/GetProgressText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string text ---Returns the quest progress text presented by a questgiver. Only valid when the questgiver UI is showing the progress stage of a quest dialog (between the QUEST_PROGRESS and QUEST_FINISHED events); otherwise may return the empty string or a value from the most recently displayed quest. diff --git a/api/GetPvpPowerDamage.lua b/api/GetPvpPowerDamage.lua index 596b8bc..bbdf96d 100644 --- a/api/GetPvpPowerDamage.lua +++ b/api/GetPvpPowerDamage.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetPvpPowerDamage() end diff --git a/api/GetPvpPowerHealing.lua b/api/GetPvpPowerHealing.lua index 63b46bc..07ed127 100644 --- a/api/GetPvpPowerHealing.lua +++ b/api/GetPvpPowerHealing.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetPvpPowerHealing() end diff --git a/api/GetQuestBackgroundMaterial.lua b/api/GetQuestBackgroundMaterial.lua index e4cc872..a57d6f5 100644 --- a/api/GetQuestBackgroundMaterial.lua +++ b/api/GetQuestBackgroundMaterial.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return Stone material ---@return Bronze diff --git a/api/GetQuestChoiceInfo.lua b/api/GetQuestChoiceInfo.lua index 2416d09..f69fbce 100644 --- a/api/GetQuestChoiceInfo.lua +++ b/api/GetQuestChoiceInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestChoiceInfo() end diff --git a/api/GetQuestChoiceOptionInfo.lua b/api/GetQuestChoiceOptionInfo.lua index a698ba9..4c228c6 100644 --- a/api/GetQuestChoiceOptionInfo.lua +++ b/api/GetQuestChoiceOptionInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestChoiceOptionInfo() end diff --git a/api/GetQuestChoiceRewardCurrency.lua b/api/GetQuestChoiceRewardCurrency.lua index a146cb5..7340e90 100644 --- a/api/GetQuestChoiceRewardCurrency.lua +++ b/api/GetQuestChoiceRewardCurrency.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestChoiceRewardCurrency() end diff --git a/api/GetQuestChoiceRewardFaction.lua b/api/GetQuestChoiceRewardFaction.lua index 1d401a7..091c75a 100644 --- a/api/GetQuestChoiceRewardFaction.lua +++ b/api/GetQuestChoiceRewardFaction.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestChoiceRewardFaction() end diff --git a/api/GetQuestChoiceRewardInfo.lua b/api/GetQuestChoiceRewardInfo.lua index c8ef4db..f38346a 100644 --- a/api/GetQuestChoiceRewardInfo.lua +++ b/api/GetQuestChoiceRewardInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestChoiceRewardInfo() end diff --git a/api/GetQuestChoiceRewardItem.lua b/api/GetQuestChoiceRewardItem.lua index 54b6eeb..56ca807 100644 --- a/api/GetQuestChoiceRewardItem.lua +++ b/api/GetQuestChoiceRewardItem.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestChoiceRewardItem() end diff --git a/api/GetQuestCurrencyInfo.lua b/api/GetQuestCurrencyInfo.lua index 0fa673e..d93e31c 100644 --- a/api/GetQuestCurrencyInfo.lua +++ b/api/GetQuestCurrencyInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param type reward ---@param required diff --git a/api/GetQuestDifficultyColor.lua b/api/GetQuestDifficultyColor.lua index cfe1d56..9cf1c31 100644 --- a/api/GetQuestDifficultyColor.lua +++ b/api/GetQuestDifficultyColor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param level number ---@return table color diff --git a/api/GetQuestFactionGroup.lua b/api/GetQuestFactionGroup.lua index 9af518a..4f3945f 100644 --- a/api/GetQuestFactionGroup.lua +++ b/api/GetQuestFactionGroup.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestFactionGroup() end diff --git a/api/GetQuestGreenRange.lua b/api/GetQuestGreenRange.lua index c4c588e..1aaaaef 100644 --- a/api/GetQuestGreenRange.lua +++ b/api/GetQuestGreenRange.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number range ---Returns the level range in which a quest below the player's level still rewards XP. If a quest's level is up to range levels below the player's level, the quest is considered easy but still rewards experience points upon completion; these quests are colored green in the default UI's quest log. (Quests more than range levels below the player's are colored gray in the default UI and reward no XP.) diff --git a/api/GetQuestID.lua b/api/GetQuestID.lua index dd7f926..c9439e7 100644 --- a/api/GetQuestID.lua +++ b/api/GetQuestID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number questID ---Returns the internal ID of a quest featured in the currently active NPC dialogue (available after a QUEST_DETAIL event). Returns 0 if no quest dialogue happened in the current session yet. Warning: returns the last offered quest ID - it will keep returning the last value even out of any QUEST_DETAIL dialogue context, until a new quest is mentioned. diff --git a/api/GetQuestIndexForTimer.lua b/api/GetQuestIndexForTimer.lua index 0673659..b9bd47d 100644 --- a/api/GetQuestIndexForTimer.lua +++ b/api/GetQuestIndexForTimer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number questIndex diff --git a/api/GetQuestIndexForWatch.lua b/api/GetQuestIndexForWatch.lua index 0bace06..50ff7f0 100644 --- a/api/GetQuestIndexForWatch.lua +++ b/api/GetQuestIndexForWatch.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number questIndex diff --git a/api/GetQuestItemInfo.lua b/api/GetQuestItemInfo.lua index 106d80c..945a499 100644 --- a/api/GetQuestItemInfo.lua +++ b/api/GetQuestItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param type reward ---@param choice diff --git a/api/GetQuestItemLink.lua b/api/GetQuestItemLink.lua index 9b8beeb..74ee734 100644 --- a/api/GetQuestItemLink.lua +++ b/api/GetQuestItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemType reward ---@param choice diff --git a/api/GetQuestLink.lua b/api/GetQuestLink.lua index a1eb17b..b732bc5 100644 --- a/api/GetQuestLink.lua +++ b/api/GetQuestLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questID number ---@return string link diff --git a/api/GetQuestLogChoiceInfo.lua b/api/GetQuestLogChoiceInfo.lua index bb7d210..1457548 100644 --- a/api/GetQuestLogChoiceInfo.lua +++ b/api/GetQuestLogChoiceInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetQuestLogCompletionText.lua b/api/GetQuestLogCompletionText.lua index b7ced14..e87f5a4 100644 --- a/api/GetQuestLogCompletionText.lua +++ b/api/GetQuestLogCompletionText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string completionText ---Returns the completion text for the selected quest in the quest log. Completion text usually includes instructions on to whom and where to hand in the quest once it has been completed. Example: "Return to William Pestle at Goldshire in Elwynn Forest." diff --git a/api/GetQuestLogCriteriaSpell.lua b/api/GetQuestLogCriteriaSpell.lua index c7ecfec..d341ea5 100644 --- a/api/GetQuestLogCriteriaSpell.lua +++ b/api/GetQuestLogCriteriaSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number spellID diff --git a/api/GetQuestLogGroupNum.lua b/api/GetQuestLogGroupNum.lua index 7bf393e..2af665e 100644 --- a/api/GetQuestLogGroupNum.lua +++ b/api/GetQuestLogGroupNum.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number suggestedGroup ---Returns the suggested group size for the selected quest in the quest log diff --git a/api/GetQuestLogIndexByID.lua b/api/GetQuestLogIndexByID.lua index 1faea99..648b95b 100644 --- a/api/GetQuestLogIndexByID.lua +++ b/api/GetQuestLogIndexByID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return number index diff --git a/api/GetQuestLogIsAutoComplete.lua b/api/GetQuestLogIsAutoComplete.lua index c640cd1..cb289b3 100644 --- a/api/GetQuestLogIsAutoComplete.lua +++ b/api/GetQuestLogIsAutoComplete.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestLogIsAutoComplete() end diff --git a/api/GetQuestLogItemDrop.lua b/api/GetQuestLogItemDrop.lua index 1bbafbf..af02b0b 100644 --- a/api/GetQuestLogItemDrop.lua +++ b/api/GetQuestLogItemDrop.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestLogItemDrop() end diff --git a/api/GetQuestLogItemLink.lua b/api/GetQuestLogItemLink.lua index dfb5ff0..7566b74 100644 --- a/api/GetQuestLogItemLink.lua +++ b/api/GetQuestLogItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemType reward ---@param choice diff --git a/api/GetQuestLogLeaderBoard.lua b/api/GetQuestLogLeaderBoard.lua index a1aaa2f..94c9a57 100644 --- a/api/GetQuestLogLeaderBoard.lua +++ b/api/GetQuestLogLeaderBoard.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param objective number ---@param questIndex number diff --git a/api/GetQuestLogPortraitGiver.lua b/api/GetQuestLogPortraitGiver.lua index 0b95122..c7d5407 100644 --- a/api/GetQuestLogPortraitGiver.lua +++ b/api/GetQuestLogPortraitGiver.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number questPortrait ---@return string questPortraitText diff --git a/api/GetQuestLogPortraitTurnIn.lua b/api/GetQuestLogPortraitTurnIn.lua index 72239cc..d660627 100644 --- a/api/GetQuestLogPortraitTurnIn.lua +++ b/api/GetQuestLogPortraitTurnIn.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number questPortrait ---@return string questPortraitText diff --git a/api/GetQuestLogPushable.lua b/api/GetQuestLogPushable.lua index 006180f..376e5cb 100644 --- a/api/GetQuestLogPushable.lua +++ b/api/GetQuestLogPushable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil shareable ---Return whether the selected quest in the quest log can be shared to party members diff --git a/api/GetQuestLogQuestText.lua b/api/GetQuestLogQuestText.lua index c380b26..d69829e 100644 --- a/api/GetQuestLogQuestText.lua +++ b/api/GetQuestLogQuestText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string questDescription ---@return string questObjectives diff --git a/api/GetQuestLogQuestType.lua b/api/GetQuestLogQuestType.lua index 330e005..1d21d23 100644 --- a/api/GetQuestLogQuestType.lua +++ b/api/GetQuestLogQuestType.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestLogQuestType() end diff --git a/api/GetQuestLogRequiredMoney.lua b/api/GetQuestLogRequiredMoney.lua index 3ed9515..6d82e87 100644 --- a/api/GetQuestLogRequiredMoney.lua +++ b/api/GetQuestLogRequiredMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number money ---Returns the amount of money required for the selected quest in the quest log diff --git a/api/GetQuestLogRewardCurrencyInfo.lua b/api/GetQuestLogRewardCurrencyInfo.lua index 83a1182..c21972e 100644 --- a/api/GetQuestLogRewardCurrencyInfo.lua +++ b/api/GetQuestLogRewardCurrencyInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestLogRewardCurrencyInfo() end diff --git a/api/GetQuestLogRewardFactionInfo.lua b/api/GetQuestLogRewardFactionInfo.lua index 26406e5..42a6315 100644 --- a/api/GetQuestLogRewardFactionInfo.lua +++ b/api/GetQuestLogRewardFactionInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestLogRewardFactionInfo() end diff --git a/api/GetQuestLogRewardInfo.lua b/api/GetQuestLogRewardInfo.lua index 63485dc..1320b1a 100644 --- a/api/GetQuestLogRewardInfo.lua +++ b/api/GetQuestLogRewardInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetQuestLogRewardMoney.lua b/api/GetQuestLogRewardMoney.lua index 8bf5203..f06290d 100644 --- a/api/GetQuestLogRewardMoney.lua +++ b/api/GetQuestLogRewardMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number money ---Returns the money reward for the selected quest in the quest log diff --git a/api/GetQuestLogRewardSkillPoints.lua b/api/GetQuestLogRewardSkillPoints.lua index 7bce258..9a375ce 100644 --- a/api/GetQuestLogRewardSkillPoints.lua +++ b/api/GetQuestLogRewardSkillPoints.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string skillName ---@return string icon diff --git a/api/GetQuestLogRewardSpell.lua b/api/GetQuestLogRewardSpell.lua index 4906caf..ee39365 100644 --- a/api/GetQuestLogRewardSpell.lua +++ b/api/GetQuestLogRewardSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string texture ---@return string name diff --git a/api/GetQuestLogRewardTalents.lua b/api/GetQuestLogRewardTalents.lua index 57b3d80..818a4b3 100644 --- a/api/GetQuestLogRewardTalents.lua +++ b/api/GetQuestLogRewardTalents.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number talents ---Returns the talent point reward for the selected quest in the quest log. Returns 0 for quests which do not award talent points. (Very few quests award talent points; currently this functionality is only used within the Death Knight starting experience.) diff --git a/api/GetQuestLogRewardTitle.lua b/api/GetQuestLogRewardTitle.lua index 9a2f8f0..0ee2a65 100644 --- a/api/GetQuestLogRewardTitle.lua +++ b/api/GetQuestLogRewardTitle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string title ---Returns the title reward for the selected quest in the quest log. Returns nil if no title is awarded or if no quest is selected. diff --git a/api/GetQuestLogRewardXP.lua b/api/GetQuestLogRewardXP.lua index 0e97606..a0a18f9 100644 --- a/api/GetQuestLogRewardXP.lua +++ b/api/GetQuestLogRewardXP.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number experience ---Returns the experience reward at the player's level for the selected quest in the quest log diff --git a/api/GetQuestLogSelection.lua b/api/GetQuestLogSelection.lua index d5c32ce..9a981ab 100644 --- a/api/GetQuestLogSelection.lua +++ b/api/GetQuestLogSelection.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number questIndex ---Returns the index of the selected quest in the quest log diff --git a/api/GetQuestLogSpecialItemCooldown.lua b/api/GetQuestLogSpecialItemCooldown.lua index 2f621bb..09453ef 100644 --- a/api/GetQuestLogSpecialItemCooldown.lua +++ b/api/GetQuestLogSpecialItemCooldown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questIndex number ---@return number start diff --git a/api/GetQuestLogSpecialItemInfo.lua b/api/GetQuestLogSpecialItemInfo.lua index 540d95c..e36d325 100644 --- a/api/GetQuestLogSpecialItemInfo.lua +++ b/api/GetQuestLogSpecialItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questIndex number ---@return string link diff --git a/api/GetQuestLogSpellLink.lua b/api/GetQuestLogSpellLink.lua index 220f065..0fe8300 100644 --- a/api/GetQuestLogSpellLink.lua +++ b/api/GetQuestLogSpellLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string link ---Returns a hyperlink for a spell in the selected quest in the quest log diff --git a/api/GetQuestLogTaskInfo.lua b/api/GetQuestLogTaskInfo.lua index eeefcf5..cfacada 100644 --- a/api/GetQuestLogTaskInfo.lua +++ b/api/GetQuestLogTaskInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestLogTaskInfo() end diff --git a/api/GetQuestLogTimeLeft.lua b/api/GetQuestLogTimeLeft.lua index 0a8434c..37c7d2f 100644 --- a/api/GetQuestLogTimeLeft.lua +++ b/api/GetQuestLogTimeLeft.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number questTimer ---Returns time remaining for the selected quest in the quest log. If the selected quest is not timed, returns nil. diff --git a/api/GetQuestLogTitle.lua b/api/GetQuestLogTitle.lua index a0f6c3a..5bb3445 100644 --- a/api/GetQuestLogTitle.lua +++ b/api/GetQuestLogTitle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questIndex number ---@return string title diff --git a/api/GetQuestMoneyToGet.lua b/api/GetQuestMoneyToGet.lua index 765290a..eb4ee80 100644 --- a/api/GetQuestMoneyToGet.lua +++ b/api/GetQuestMoneyToGet.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number money ---Returns the amount of money required to complete the quest presented by a questgiver. Usable following the QUEST_PROGRESS event in which it is determined whether the player can complete the quest. diff --git a/api/GetQuestObjectiveInfo.lua b/api/GetQuestObjectiveInfo.lua index bef01d8..395d6a0 100644 --- a/api/GetQuestObjectiveInfo.lua +++ b/api/GetQuestObjectiveInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestObjectiveInfo() end diff --git a/api/GetQuestPOIBlobCount.lua b/api/GetQuestPOIBlobCount.lua index 1b45e33..24c386f 100644 --- a/api/GetQuestPOIBlobCount.lua +++ b/api/GetQuestPOIBlobCount.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestPOIBlobCount() end diff --git a/api/GetQuestPOILeaderBoard.lua b/api/GetQuestPOILeaderBoard.lua index 8abe918..e4d619a 100644 --- a/api/GetQuestPOILeaderBoard.lua +++ b/api/GetQuestPOILeaderBoard.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestPOILeaderBoard() end diff --git a/api/GetQuestPOIWorldEffectInfo.lua b/api/GetQuestPOIWorldEffectInfo.lua index 1d44319..82f4358 100644 --- a/api/GetQuestPOIWorldEffectInfo.lua +++ b/api/GetQuestPOIWorldEffectInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestPOIWorldEffectInfo() end diff --git a/api/GetQuestPOIs.lua b/api/GetQuestPOIs.lua index 33540f8..3d80c45 100644 --- a/api/GetQuestPOIs.lua +++ b/api/GetQuestPOIs.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestPOIs() end diff --git a/api/GetQuestPortraitGiver.lua b/api/GetQuestPortraitGiver.lua index fb32860..a9e0c33 100644 --- a/api/GetQuestPortraitGiver.lua +++ b/api/GetQuestPortraitGiver.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number questPortrait ---@return string questPortraitText diff --git a/api/GetQuestPortraitTurnIn.lua b/api/GetQuestPortraitTurnIn.lua index 459f6c7..8c40a7f 100644 --- a/api/GetQuestPortraitTurnIn.lua +++ b/api/GetQuestPortraitTurnIn.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number questPortrait ---@return string questPortraitText diff --git a/api/GetQuestProgressBarPercent.lua b/api/GetQuestProgressBarPercent.lua index e428fef..b7b3fc1 100644 --- a/api/GetQuestProgressBarPercent.lua +++ b/api/GetQuestProgressBarPercent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questID number ---@return number percent diff --git a/api/GetQuestResetTime.lua b/api/GetQuestResetTime.lua index 3144daf..0168374 100644 --- a/api/GetQuestResetTime.lua +++ b/api/GetQuestResetTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number time ---Returns the amount of time remaining until the daily quest period resets diff --git a/api/GetQuestReward.lua b/api/GetQuestReward.lua index 8b9d535..108c4be 100644 --- a/api/GetQuestReward.lua +++ b/api/GetQuestReward.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param choice number ---Finishes turning in a quest to a questgiver, selecting an item reward if applicable. Usable following the QUEST_COMPLETE event in which the questgiver presents the player with rewards. diff --git a/api/GetQuestSortIndex.lua b/api/GetQuestSortIndex.lua index 4ad2cae..12ddaf5 100644 --- a/api/GetQuestSortIndex.lua +++ b/api/GetQuestSortIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestSortIndex() end diff --git a/api/GetQuestSpellLink.lua b/api/GetQuestSpellLink.lua index 5661e5a..8da2f81 100644 --- a/api/GetQuestSpellLink.lua +++ b/api/GetQuestSpellLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string link ---Returns a hyperlink for a spell in a questgiver dialog. Only valid when the questgiver UI is showing the accept/decline, progress, or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED, QUEST_PROGRESS and QUEST_FINISHED, or QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return empty values or those from the most recently displayed quest. diff --git a/api/GetQuestTagInfo.lua b/api/GetQuestTagInfo.lua index 669a955..1fd38fa 100644 --- a/api/GetQuestTagInfo.lua +++ b/api/GetQuestTagInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestTagInfo() end diff --git a/api/GetQuestText.lua b/api/GetQuestText.lua index 2625011..1fd8bc9 100644 --- a/api/GetQuestText.lua +++ b/api/GetQuestText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string text ---Returns the text for the quest offered by a questgiver. Only valid when the questgiver UI is showing the accept/decline stage of a quest dialog (between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return the empty string or a value from the most recently displayed quest. diff --git a/api/GetQuestTimers.lua b/api/GetQuestTimers.lua index 9bf20ad..8da24d3 100644 --- a/api/GetQuestTimers.lua +++ b/api/GetQuestTimers.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number ... ---Returns a list of the times remaining for any active timed quests diff --git a/api/GetQuestWatchIndex.lua b/api/GetQuestWatchIndex.lua index 2b36862..352d65f 100644 --- a/api/GetQuestWatchIndex.lua +++ b/api/GetQuestWatchIndex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questLogIndex number ---@return number questWatchIndex diff --git a/api/GetQuestWatchInfo.lua b/api/GetQuestWatchInfo.lua index ca98419..f82f0ba 100644 --- a/api/GetQuestWatchInfo.lua +++ b/api/GetQuestWatchInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetQuestWatchInfo() end diff --git a/api/GetQuestWorldMapAreaID.lua b/api/GetQuestWorldMapAreaID.lua index 380b3e9..e9711fe 100644 --- a/api/GetQuestWorldMapAreaID.lua +++ b/api/GetQuestWorldMapAreaID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questID number ---@return number mapID diff --git a/api/GetQuestsCompleted.lua b/api/GetQuestsCompleted.lua index 4121cf5..11406bb 100644 --- a/api/GetQuestsCompleted.lua +++ b/api/GetQuestsCompleted.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questTbl table ---@return table completedQuests diff --git a/api/GetRFDungeonInfo.lua b/api/GetRFDungeonInfo.lua index 2f21266..42d5395 100644 --- a/api/GetRFDungeonInfo.lua +++ b/api/GetRFDungeonInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index GetNumRFDungeons() ---@return number dungeonID diff --git a/api/GetRaidBuffInfo.lua b/api/GetRaidBuffInfo.lua index 94cdd64..036ac14 100644 --- a/api/GetRaidBuffInfo.lua +++ b/api/GetRaidBuffInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRaidBuffInfo() end diff --git a/api/GetRaidBuffTrayAuraInfo.lua b/api/GetRaidBuffTrayAuraInfo.lua index 6c8ff54..8ac9414 100644 --- a/api/GetRaidBuffTrayAuraInfo.lua +++ b/api/GetRaidBuffTrayAuraInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param nil number ---@return string name diff --git a/api/GetRaidDifficultyID.lua b/api/GetRaidDifficultyID.lua index bd5192c..0d8aeda 100644 --- a/api/GetRaidDifficultyID.lua +++ b/api/GetRaidDifficultyID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRaidDifficultyID() end diff --git a/api/GetRaidProfileFlattenedOptions.lua b/api/GetRaidProfileFlattenedOptions.lua index 9e928db..d4372e6 100644 --- a/api/GetRaidProfileFlattenedOptions.lua +++ b/api/GetRaidProfileFlattenedOptions.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRaidProfileFlattenedOptions() end diff --git a/api/GetRaidProfileName.lua b/api/GetRaidProfileName.lua index 10704f9..f33ec66 100644 --- a/api/GetRaidProfileName.lua +++ b/api/GetRaidProfileName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRaidProfileName() end diff --git a/api/GetRaidProfileOption.lua b/api/GetRaidProfileOption.lua index 3e19e36..ba80ca9 100644 --- a/api/GetRaidProfileOption.lua +++ b/api/GetRaidProfileOption.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRaidProfileOption() end diff --git a/api/GetRaidProfileSavedPosition.lua b/api/GetRaidProfileSavedPosition.lua index f670643..7582808 100644 --- a/api/GetRaidProfileSavedPosition.lua +++ b/api/GetRaidProfileSavedPosition.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRaidProfileSavedPosition() end diff --git a/api/GetRaidRosterInfo.lua b/api/GetRaidRosterInfo.lua index 36d9917..d49ffe1 100644 --- a/api/GetRaidRosterInfo.lua +++ b/api/GetRaidRosterInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetRaidTargetIndex.lua b/api/GetRaidTargetIndex.lua index cb27d21..7429f53 100644 --- a/api/GetRaidTargetIndex.lua +++ b/api/GetRaidTargetIndex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/GetRandomBGHonorCurrencyBonuses.lua b/api/GetRandomBGHonorCurrencyBonuses.lua index 01bbd84..f5053fa 100644 --- a/api/GetRandomBGHonorCurrencyBonuses.lua +++ b/api/GetRandomBGHonorCurrencyBonuses.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRandomBGHonorCurrencyBonuses() end diff --git a/api/GetRandomDungeonBestChoice.lua b/api/GetRandomDungeonBestChoice.lua index b13b558..9aec73c 100644 --- a/api/GetRandomDungeonBestChoice.lua +++ b/api/GetRandomDungeonBestChoice.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns the dungeonID of the random dungeon group that provides the best loot for the player.. The dungeonID that is returned refers to an integer found in LFGDungeons.dbc. This function is normally used only for initialization of the LFGQueueFrame in FrameXML LFDFrame.lua. You can programatically join the suggested queue for a random dungeon for which your character is eligible. function GetRandomDungeonBestChoice() end diff --git a/api/GetRandomScenarioBestChoice.lua b/api/GetRandomScenarioBestChoice.lua index 44ea01d..8d79781 100644 --- a/api/GetRandomScenarioBestChoice.lua +++ b/api/GetRandomScenarioBestChoice.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRandomScenarioBestChoice() end diff --git a/api/GetRandomScenarioInfo.lua b/api/GetRandomScenarioInfo.lua index 0ada880..2e6a960 100644 --- a/api/GetRandomScenarioInfo.lua +++ b/api/GetRandomScenarioInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRandomScenarioInfo() end diff --git a/api/GetRangedCritChance.lua b/api/GetRangedCritChance.lua index 0130c94..0ae45d3 100644 --- a/api/GetRangedCritChance.lua +++ b/api/GetRangedCritChance.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number critChance ---Returns the player's ranged critical strike chance diff --git a/api/GetRangedHaste.lua b/api/GetRangedHaste.lua index a5835a3..6e21f40 100644 --- a/api/GetRangedHaste.lua +++ b/api/GetRangedHaste.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number haste ---Returns information about the player's ranged haste diff --git a/api/GetRatedBattleGroundInfo.lua b/api/GetRatedBattleGroundInfo.lua index 1eab2a4..33edfd0 100644 --- a/api/GetRatedBattleGroundInfo.lua +++ b/api/GetRatedBattleGroundInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRatedBattleGroundInfo() end diff --git a/api/GetReadyCheckStatus.lua b/api/GetReadyCheckStatus.lua index 760ea0e..8010759 100644 --- a/api/GetReadyCheckStatus.lua +++ b/api/GetReadyCheckStatus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return nil status diff --git a/api/GetReadyCheckTimeLeft.lua b/api/GetReadyCheckTimeLeft.lua index 6cffd9f..278a0b6 100644 --- a/api/GetReadyCheckTimeLeft.lua +++ b/api/GetReadyCheckTimeLeft.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number timeLeft ---Returns the amount of time left on the current ready check. Returns 0 if no ready check is in progress. diff --git a/api/GetReagentBankCost.lua b/api/GetReagentBankCost.lua index 1363691..0716834 100644 --- a/api/GetReagentBankCost.lua +++ b/api/GetReagentBankCost.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number cost ---Returns the cost of the reagent bank tab diff --git a/api/GetRealZoneText.lua b/api/GetRealZoneText.lua index cfaf366..6b44b4a 100644 --- a/api/GetRealZoneText.lua +++ b/api/GetRealZoneText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string zoneName ---Returns the "official" name of the zone or instance in which the player is located. This name matches that seen in the Who, Guild, and Friends UIs when reporting character locations. It may differ from those the default UI displays in other locations (GetZoneText() and GetMinimapZoneText()), especially if the player is in an instance: e.g. this function returns "The Stockade" when the others return "Stormwind Stockade". diff --git a/api/GetRealmName.lua b/api/GetRealmName.lua index a58f948..b07919e 100644 --- a/api/GetRealmName.lua +++ b/api/GetRealmName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string realm ---Returns the name of the player's realm (server name) diff --git a/api/GetRecruitingGuildInfo.lua b/api/GetRecruitingGuildInfo.lua index 913771d..f8017d0 100644 --- a/api/GetRecruitingGuildInfo.lua +++ b/api/GetRecruitingGuildInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRecruitingGuildInfo() end diff --git a/api/GetRecruitingGuildSelection.lua b/api/GetRecruitingGuildSelection.lua index 3a36082..3d6b8f5 100644 --- a/api/GetRecruitingGuildSelection.lua +++ b/api/GetRecruitingGuildSelection.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRecruitingGuildSelection() end diff --git a/api/GetRecruitingGuildSettings.lua b/api/GetRecruitingGuildSettings.lua index 88b3d12..2eb67bf 100644 --- a/api/GetRecruitingGuildSettings.lua +++ b/api/GetRecruitingGuildSettings.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRecruitingGuildSettings() end diff --git a/api/GetRecruitingGuildTabardInfo.lua b/api/GetRecruitingGuildTabardInfo.lua index 6a3ceb2..a3e212b 100644 --- a/api/GetRecruitingGuildTabardInfo.lua +++ b/api/GetRecruitingGuildTabardInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRecruitingGuildTabardInfo() end diff --git a/api/GetRefreshRates.lua b/api/GetRefreshRates.lua index b74e3e6..b8343e9 100644 --- a/api/GetRefreshRates.lua +++ b/api/GetRefreshRates.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number ... ---Returns a list of available screen refresh rates. The current refresh rate can be found in the gxRefresh CVar. diff --git a/api/GetRegisteredAddonMessagePrefixes.lua b/api/GetRegisteredAddonMessagePrefixes.lua index 1131d1f..52c0d1b 100644 --- a/api/GetRegisteredAddonMessagePrefixes.lua +++ b/api/GetRegisteredAddonMessagePrefixes.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param prefixTable table ---@return table registeredPrefixes diff --git a/api/GetReleaseTimeRemaining.lua b/api/GetReleaseTimeRemaining.lua index ac3eb91..f18f34d 100644 --- a/api/GetReleaseTimeRemaining.lua +++ b/api/GetReleaseTimeRemaining.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number timeleft ---Returns the amount of time remaining until the player's spirit is automatically released when dead. Returns -1 if the player died in a dungeon or raid instance; in such cases, the player's spirit will not be released automatically (see RepopMe() to release manually). diff --git a/api/GetRepairAllCost.lua b/api/GetRepairAllCost.lua index 8dda041..39f3709 100644 --- a/api/GetRepairAllCost.lua +++ b/api/GetRepairAllCost.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number repairAllCost ---@return 1nil canRepair diff --git a/api/GetResSicknessDuration.lua b/api/GetResSicknessDuration.lua index 1f46958..9ea15de 100644 --- a/api/GetResSicknessDuration.lua +++ b/api/GetResSicknessDuration.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string resSicknessTime ---Returns the duration of resurrection sickness at the player's current level. Returns nil for players under level 10, who are allowed to resurrect at a spirit healer without suffering resurrection sickness. diff --git a/api/GetRestState.lua b/api/GetRestState.lua index 837c49a..bd062cc 100644 --- a/api/GetRestState.lua +++ b/api/GetRestState.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 4 state ---@return 1 diff --git a/api/GetRestrictedAccountData.lua b/api/GetRestrictedAccountData.lua index bbd6b89..556d0cd 100644 --- a/api/GetRestrictedAccountData.lua +++ b/api/GetRestrictedAccountData.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRestrictedAccountData() end diff --git a/api/GetRewardMoney.lua b/api/GetRewardMoney.lua index e8606f5..63c246b 100644 --- a/api/GetRewardMoney.lua +++ b/api/GetRewardMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number money ---Returns the amount of money awarded when completing a quest.   Only valid when the questgiver UI is showing the accept/decline or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED events, or between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return zero or a value from the most recently displayed quest. diff --git a/api/GetRewardNumSkillUps.lua b/api/GetRewardNumSkillUps.lua index 313355b..6e1d0f0 100644 --- a/api/GetRewardNumSkillUps.lua +++ b/api/GetRewardNumSkillUps.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRewardNumSkillUps() end diff --git a/api/GetRewardSkillLineID.lua b/api/GetRewardSkillLineID.lua index b86803a..0600099 100644 --- a/api/GetRewardSkillLineID.lua +++ b/api/GetRewardSkillLineID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRewardSkillLineID() end diff --git a/api/GetRewardSkillPoints.lua b/api/GetRewardSkillPoints.lua index 0ea9297..8ef4eaa 100644 --- a/api/GetRewardSkillPoints.lua +++ b/api/GetRewardSkillPoints.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetRewardSkillPoints() end diff --git a/api/GetRewardSpell.lua b/api/GetRewardSpell.lua index 6e4ceb4..74b8843 100644 --- a/api/GetRewardSpell.lua +++ b/api/GetRewardSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string texture ---@return string name diff --git a/api/GetRewardTalents.lua b/api/GetRewardTalents.lua index 5ec46f9..6bf3fce 100644 --- a/api/GetRewardTalents.lua +++ b/api/GetRewardTalents.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number talents ---Returns the talent points awarded when completing a quest. Only valid when the questgiver UI is showing the accept/decline or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED events, or between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return zero or a value from the most recently displayed quest. (Very few quests award talent points; currently this functionality is only used within the Death Knight starting experience.) diff --git a/api/GetRewardText.lua b/api/GetRewardText.lua index 015c8e7..686ce02 100644 --- a/api/GetRewardText.lua +++ b/api/GetRewardText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string text ---Returns questgiver dialog to be displayed when completing a quest. Only valid when the questgiver UI is showing the completion stage of a quest dialog (between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return the empty string or a value from the most recently displayed quest. diff --git a/api/GetRewardTitle.lua b/api/GetRewardTitle.lua index 4190630..f7a1960 100644 --- a/api/GetRewardTitle.lua +++ b/api/GetRewardTitle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string title ---Returns the title awarded when completing a quest. Only valid when the questgiver UI is showing the accept/decline or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED events, or between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return nil or a value from the most recently displayed quest. diff --git a/api/GetRewardXP.lua b/api/GetRewardXP.lua index 8f00ede..13d4a19 100644 --- a/api/GetRewardXP.lua +++ b/api/GetRewardXP.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number amount ---Returns the experience awarded when completing a quest. Only valid when the questgiver UI is showing the accept/decline or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED events, or between the QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return nil or a value from the most recently displayed quest. diff --git a/api/GetRuneCooldown.lua b/api/GetRuneCooldown.lua index 95e6342..09f9dfb 100644 --- a/api/GetRuneCooldown.lua +++ b/api/GetRuneCooldown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot 6 ---@param 1 diff --git a/api/GetRuneCount.lua b/api/GetRuneCount.lua index 0ec24e9..7fb281d 100644 --- a/api/GetRuneCount.lua +++ b/api/GetRuneCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot 6 ---@param 1 diff --git a/api/GetRuneType.lua b/api/GetRuneType.lua index 67c61ba..ab9b92d 100644 --- a/api/GetRuneType.lua +++ b/api/GetRuneType.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot 6 ---@param 1 diff --git a/api/GetRunningMacro.lua b/api/GetRunningMacro.lua index 86a4836..deec7b9 100644 --- a/api/GetRunningMacro.lua +++ b/api/GetRunningMacro.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the index of the currently running macro. diff --git a/api/GetRunningMacroButton.lua b/api/GetRunningMacroButton.lua index b489fce..d37859d 100644 --- a/api/GetRunningMacroButton.lua +++ b/api/GetRunningMacroButton.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return RightButton button ---@return Button4 diff --git a/api/GetSavedInstanceChatLink.lua b/api/GetSavedInstanceChatLink.lua index 009c843..9b02c0e 100644 --- a/api/GetSavedInstanceChatLink.lua +++ b/api/GetSavedInstanceChatLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string hyperlink diff --git a/api/GetSavedInstanceEncounterInfo.lua b/api/GetSavedInstanceEncounterInfo.lua index 7bd72c0..34bbd1b 100644 --- a/api/GetSavedInstanceEncounterInfo.lua +++ b/api/GetSavedInstanceEncounterInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSavedInstanceEncounterInfo() end diff --git a/api/GetSavedInstanceInfo.lua b/api/GetSavedInstanceInfo.lua index 8b9f5e4..d2b0cf1 100644 --- a/api/GetSavedInstanceInfo.lua +++ b/api/GetSavedInstanceInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string instanceName diff --git a/api/GetSavedWorldBossInfo.lua b/api/GetSavedWorldBossInfo.lua index 883d0c1..5a745b3 100644 --- a/api/GetSavedWorldBossInfo.lua +++ b/api/GetSavedWorldBossInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string instanceName diff --git a/api/GetScenariosChoiceOrder.lua b/api/GetScenariosChoiceOrder.lua index 38c7212..29563e9 100644 --- a/api/GetScenariosChoiceOrder.lua +++ b/api/GetScenariosChoiceOrder.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetScenariosChoiceOrder() end diff --git a/api/GetScreenHeight.lua b/api/GetScreenHeight.lua index 80e987b..37b9ce5 100644 --- a/api/GetScreenHeight.lua +++ b/api/GetScreenHeight.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number height ---Returns the height of the screen for UI layout purposes. Measurements for layout are affected by the UI Scale setting (i.e. the uiscale CVar) and may not match actual screen pixels. diff --git a/api/GetScreenResolutions.lua b/api/GetScreenResolutions.lua index e4c3df8..4f60d87 100644 --- a/api/GetScreenResolutions.lua +++ b/api/GetScreenResolutions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string ... ---Returns a list of available screen resolutions diff --git a/api/GetScreenWidth.lua b/api/GetScreenWidth.lua index 211971e..31710d7 100644 --- a/api/GetScreenWidth.lua +++ b/api/GetScreenWidth.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number screenWidth ---Returns the width of the screen for UI layout purposes. Measurements for layout are affected by the UI Scale setting (i.e. the uiscale CVar) and may not match actual screen pixels. diff --git a/api/GetScriptCPUUsage.lua b/api/GetScriptCPUUsage.lua index 1aa1d96..4d27308 100644 --- a/api/GetScriptCPUUsage.lua +++ b/api/GetScriptCPUUsage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number usage ---Returns the total CPU time used by the scripting system. Only returns valid data if the scriptProfile CVar is set to 1; returns 0 otherwise. diff --git a/api/GetSelectedArtifactInfo.lua b/api/GetSelectedArtifactInfo.lua index 7d8e720..4860580 100644 --- a/api/GetSelectedArtifactInfo.lua +++ b/api/GetSelectedArtifactInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string name ---@return string description diff --git a/api/GetSelectedAuctionItem.lua b/api/GetSelectedAuctionItem.lua index 14511b2..c7e5904 100644 --- a/api/GetSelectedAuctionItem.lua +++ b/api/GetSelectedAuctionItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param list owner ---@param bidder diff --git a/api/GetSelectedDisplayChannel.lua b/api/GetSelectedDisplayChannel.lua index f22af5f..89b4c0d 100644 --- a/api/GetSelectedDisplayChannel.lua +++ b/api/GetSelectedDisplayChannel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the selected channel in the channel list display diff --git a/api/GetSelectedFaction.lua b/api/GetSelectedFaction.lua index e7a8311..80bad34 100644 --- a/api/GetSelectedFaction.lua +++ b/api/GetSelectedFaction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns which faction entry is selected in the reputation UI. Selection has no bearing on other faction-related APIs; this function merely facilitates behaviors of Blizzard's reputation UI. diff --git a/api/GetSelectedFriend.lua b/api/GetSelectedFriend.lua index 25d3cb4..179980d 100644 --- a/api/GetSelectedFriend.lua +++ b/api/GetSelectedFriend.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the index of the selected character in the player's friends list. Selection in the Friends list is used only for display in the default UI and has no effect on other Friends list APIs. diff --git a/api/GetSelectedGlyphSpellIndex.lua b/api/GetSelectedGlyphSpellIndex.lua index d3e936e..44a8f5d 100644 --- a/api/GetSelectedGlyphSpellIndex.lua +++ b/api/GetSelectedGlyphSpellIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSelectedGlyphSpellIndex() end diff --git a/api/GetSelectedIgnore.lua b/api/GetSelectedIgnore.lua index f56b8a5..69fc04f 100644 --- a/api/GetSelectedIgnore.lua +++ b/api/GetSelectedIgnore.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the index of the selected character in the player's ignore list. Selection in the Ignore list is used only for display in the default UI and has no effect on other Ignore list APIs. diff --git a/api/GetSelectedMute.lua b/api/GetSelectedMute.lua index 27259e7..b27186d 100644 --- a/api/GetSelectedMute.lua +++ b/api/GetSelectedMute.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number selectedMute ---Returns the index of the selected entry in the Muted list. Mute list selection is only used for display purposes in the default UI and has no effect on other API functions. diff --git a/api/GetSelectedStationeryTexture.lua b/api/GetSelectedStationeryTexture.lua index e728924..682ab02 100644 --- a/api/GetSelectedStationeryTexture.lua +++ b/api/GetSelectedStationeryTexture.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the currently selected stationery type. Always returns 1; the stationery feature for sending mail is not implemented in the current version of World of Warcraft. diff --git a/api/GetSelectedWarGameType.lua b/api/GetSelectedWarGameType.lua index c6535dd..ee38cb5 100644 --- a/api/GetSelectedWarGameType.lua +++ b/api/GetSelectedWarGameType.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSelectedWarGameType() end diff --git a/api/GetSendMailCOD.lua b/api/GetSendMailCOD.lua index 86ec69f..1682249 100644 --- a/api/GetSendMailCOD.lua +++ b/api/GetSendMailCOD.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number amount ---Returns the Cash-On-Delivery cost of the outgoing message. Returns the amount set via SetSendMailCOD(), which in the default UI is only called once its Send button has been clicked (immediately before sending the message). Thus, does not return the COD amount set in the default UI's Send Mail window. diff --git a/api/GetSendMailItem.lua b/api/GetSendMailItem.lua index 988d18e..d70efcc 100644 --- a/api/GetSendMailItem.lua +++ b/api/GetSendMailItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return string itemName diff --git a/api/GetSendMailItemLink.lua b/api/GetSendMailItemLink.lua index 958ebfc..29e42e5 100644 --- a/api/GetSendMailItemLink.lua +++ b/api/GetSendMailItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return string itemlink diff --git a/api/GetSendMailMoney.lua b/api/GetSendMailMoney.lua index 40b0543..579de96 100644 --- a/api/GetSendMailMoney.lua +++ b/api/GetSendMailMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number amount ---Returns the amount of money to be sent with the outgoing message. Returns the amount set via SetSendMailMoney(), which in the default UI is only called once its Send button has been clicked (immediately before sending the message). Thus, does not return the Send Money amount set in the default UI's Send Mail window. diff --git a/api/GetSendMailPrice.lua b/api/GetSendMailPrice.lua index 2edba98..1801f4f 100644 --- a/api/GetSendMailPrice.lua +++ b/api/GetSendMailPrice.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number price ---Returns the cost to send the outgoing mail message. The cost of sending a message rises as more items are attached. diff --git a/api/GetSessionTime.lua b/api/GetSessionTime.lua index 85299f8..4b70756 100644 --- a/api/GetSessionTime.lua +++ b/api/GetSessionTime.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSessionTime() end diff --git a/api/GetSetBonusesForSpecializationByItemID.lua b/api/GetSetBonusesForSpecializationByItemID.lua index b5e4058..8fd8dc7 100644 --- a/api/GetSetBonusesForSpecializationByItemID.lua +++ b/api/GetSetBonusesForSpecializationByItemID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSetBonusesForSpecializationByItemID() end diff --git a/api/GetShapeshiftForm.lua b/api/GetShapeshiftForm.lua index 45d438c..121531c 100644 --- a/api/GetShapeshiftForm.lua +++ b/api/GetShapeshiftForm.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the index of the active ability on the stance/shapeshift bar diff --git a/api/GetShapeshiftFormCooldown.lua b/api/GetShapeshiftFormCooldown.lua index 0900e22..d95384a 100644 --- a/api/GetShapeshiftFormCooldown.lua +++ b/api/GetShapeshiftFormCooldown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number start diff --git a/api/GetShapeshiftFormID.lua b/api/GetShapeshiftFormID.lua index 5eb3f3e..e330177 100644 --- a/api/GetShapeshiftFormID.lua +++ b/api/GetShapeshiftFormID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number id ---Returns the ID of the active shapeshift form. Possible return values are: Druids: Bear Form - 5 (BEAR_FORM constant) Cat Form - 1 (CAT_FORM constant) Aquatic Form - 4 Travel Form - 3 Moonkin Form - 31 (MOONKIN_FORM constant) Tree of Life - 2 Flight Form - 27 Holy Priests: Chakra: Chastise - 1 Chakra: Sanctuary - 2 Chakra: Serenity - 3 Spirit of Redemption - 4 Warriors: Battle Stance - 17 Defensive Stance - 18 Berserker Stance - 19 Warlocks: Metamorphosis - 22 diff --git a/api/GetShapeshiftFormInfo.lua b/api/GetShapeshiftFormInfo.lua index 914b62b..d51f5ea 100644 --- a/api/GetShapeshiftFormInfo.lua +++ b/api/GetShapeshiftFormInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string texture diff --git a/api/GetShieldBlock.lua b/api/GetShieldBlock.lua index 2816c86..4b62b27 100644 --- a/api/GetShieldBlock.lua +++ b/api/GetShieldBlock.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number damage ---Returns the amount of damage prevented when the player blocks with a shield diff --git a/api/GetSocketItemBoundTradeable.lua b/api/GetSocketItemBoundTradeable.lua index f69d5d2..884438a 100644 --- a/api/GetSocketItemBoundTradeable.lua +++ b/api/GetSocketItemBoundTradeable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil tradeable ---Returns whether the item open for socketing is temporarily tradeable. A Bind on Pickup item looted by the player can be traded to other characters who were originally eligible to loot it, but only within a limited time after looting. This period can be ended prematurely if the player attempts certain actions (such as socketing gems into the item). diff --git a/api/GetSocketItemInfo.lua b/api/GetSocketItemInfo.lua index d3c868b..5f2cb35 100644 --- a/api/GetSocketItemInfo.lua +++ b/api/GetSocketItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string name ---@return string icon diff --git a/api/GetSocketItemRefundable.lua b/api/GetSocketItemRefundable.lua index c5975a6..086d5ae 100644 --- a/api/GetSocketItemRefundable.lua +++ b/api/GetSocketItemRefundable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil refundable ---Returns whether the item open for socketing is temporarily refundable. Items bought with alternate currency (honor points, arena points, or special items such as Emblems of Heroism and Dalaran Cooking Awards) can be returned to a vendor for a full refund, but only within a limited time after the original purchase. This period can be ended prematurely if the player attempts certain actions (such as socketing gems into the item). diff --git a/api/GetSocketTypes.lua b/api/GetSocketTypes.lua index 18b2fac..10ffe4a 100644 --- a/api/GetSocketTypes.lua +++ b/api/GetSocketTypes.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return Yellow gemColor diff --git a/api/GetSortBagsRightToLeft.lua b/api/GetSortBagsRightToLeft.lua index 8bfd063..d3d79e7 100644 --- a/api/GetSortBagsRightToLeft.lua +++ b/api/GetSortBagsRightToLeft.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSortBagsRightToLeft() end diff --git a/api/GetSpecialization.lua b/api/GetSpecialization.lua index a68b4dc..0be75a5 100644 --- a/api/GetSpecialization.lua +++ b/api/GetSpecialization.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number specID ---Return non-global specialization ID of currently active specialization. diff --git a/api/GetSpecializationInfo.lua b/api/GetSpecializationInfo.lua index a747379..cde8e39 100644 --- a/api/GetSpecializationInfo.lua +++ b/api/GetSpecializationInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param specID number ---@param isInspect boolean diff --git a/api/GetSpecializationInfoByID.lua b/api/GetSpecializationInfoByID.lua index c841e0d..7ca669f 100644 --- a/api/GetSpecializationInfoByID.lua +++ b/api/GetSpecializationInfoByID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param specID number ---@return number id diff --git a/api/GetSpecializationInfoForClassID.lua b/api/GetSpecializationInfoForClassID.lua index 0a34829..9e7136e 100644 --- a/api/GetSpecializationInfoForClassID.lua +++ b/api/GetSpecializationInfoForClassID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSpecializationInfoForClassID() end diff --git a/api/GetSpecializationMasterySpells.lua b/api/GetSpecializationMasterySpells.lua index 21dbd36..3b55036 100644 --- a/api/GetSpecializationMasterySpells.lua +++ b/api/GetSpecializationMasterySpells.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param specIndex number ---@param isInspect boolean diff --git a/api/GetSpecializationNameForSpecID.lua b/api/GetSpecializationNameForSpecID.lua index 467aaa4..011270c 100644 --- a/api/GetSpecializationNameForSpecID.lua +++ b/api/GetSpecializationNameForSpecID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return string name diff --git a/api/GetSpecializationReadinessSpell.lua b/api/GetSpecializationReadinessSpell.lua index d308822..ee7a1e7 100644 --- a/api/GetSpecializationReadinessSpell.lua +++ b/api/GetSpecializationReadinessSpell.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSpecializationReadinessSpell() end diff --git a/api/GetSpecializationRole.lua b/api/GetSpecializationRole.lua index 0896c3d..2118254 100644 --- a/api/GetSpecializationRole.lua +++ b/api/GetSpecializationRole.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSpecializationRole() end diff --git a/api/GetSpecializationRoleByID.lua b/api/GetSpecializationRoleByID.lua index 0c26533..ba23513 100644 --- a/api/GetSpecializationRoleByID.lua +++ b/api/GetSpecializationRoleByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSpecializationRoleByID() end diff --git a/api/GetSpecializationSpells.lua b/api/GetSpecializationSpells.lua index 94ded8f..ccf7959 100644 --- a/api/GetSpecializationSpells.lua +++ b/api/GetSpecializationSpells.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param specIndex number ---@param isInspect boolean diff --git a/api/GetSpecsForSpell.lua b/api/GetSpecsForSpell.lua index 94d9fb5..7db6b4f 100644 --- a/api/GetSpecsForSpell.lua +++ b/api/GetSpecsForSpell.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSpecsForSpell() end diff --git a/api/GetSpeed.lua b/api/GetSpeed.lua index 8d9a0f1..79025b3 100644 --- a/api/GetSpeed.lua +++ b/api/GetSpeed.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSpeed() end diff --git a/api/GetSpellAutocast.lua b/api/GetSpellAutocast.lua index c5af23a..df6e855 100644 --- a/api/GetSpellAutocast.lua +++ b/api/GetSpellAutocast.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@param bookType spell diff --git a/api/GetSpellAvailableLevel.lua b/api/GetSpellAvailableLevel.lua index 1a3fd16..f290e46 100644 --- a/api/GetSpellAvailableLevel.lua +++ b/api/GetSpellAvailableLevel.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSpellAvailableLevel() end diff --git a/api/GetSpellBaseCooldown.lua b/api/GetSpellBaseCooldown.lua index d98eeac..45f13f3 100644 --- a/api/GetSpellBaseCooldown.lua +++ b/api/GetSpellBaseCooldown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return number cooldown diff --git a/api/GetSpellBonusDamage.lua b/api/GetSpellBonusDamage.lua index 52ff3e3..4c6ce90 100644 --- a/api/GetSpellBonusDamage.lua +++ b/api/GetSpellBonusDamage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param school 7 ---@param 1 diff --git a/api/GetSpellBonusHealing.lua b/api/GetSpellBonusHealing.lua index 82a0b50..22e23c7 100644 --- a/api/GetSpellBonusHealing.lua +++ b/api/GetSpellBonusHealing.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return integer bonusHealing ---Returns the player's amount of bonus healing diff --git a/api/GetSpellBookItemInfo.lua b/api/GetSpellBookItemInfo.lua index 2cec23d..1b8cc2d 100644 --- a/api/GetSpellBookItemInfo.lua +++ b/api/GetSpellBookItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/GetSpellBookItemName.lua b/api/GetSpellBookItemName.lua index da5c649..d647701 100644 --- a/api/GetSpellBookItemName.lua +++ b/api/GetSpellBookItemName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/GetSpellBookItemTexture.lua b/api/GetSpellBookItemTexture.lua index d3dab09..0224452 100644 --- a/api/GetSpellBookItemTexture.lua +++ b/api/GetSpellBookItemTexture.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSpellBookItemTexture() end diff --git a/api/GetSpellCharges.lua b/api/GetSpellCharges.lua index 9b14a8e..c55bc92 100644 --- a/api/GetSpellCharges.lua +++ b/api/GetSpellCharges.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param id number diff --git a/api/GetSpellConfirmationPromptsInfo.lua b/api/GetSpellConfirmationPromptsInfo.lua index b634412..b8237b4 100644 --- a/api/GetSpellConfirmationPromptsInfo.lua +++ b/api/GetSpellConfirmationPromptsInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSpellConfirmationPromptsInfo() end diff --git a/api/GetSpellCooldown.lua b/api/GetSpellCooldown.lua index a6084bf..89eb00c 100644 --- a/api/GetSpellCooldown.lua +++ b/api/GetSpellCooldown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@alias bookType ---| 'SPELL' diff --git a/api/GetSpellCount.lua b/api/GetSpellCount.lua index a5fdbf1..6789314 100644 --- a/api/GetSpellCount.lua +++ b/api/GetSpellCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/GetSpellCritChance.lua b/api/GetSpellCritChance.lua index 01a789b..ed45f79 100644 --- a/api/GetSpellCritChance.lua +++ b/api/GetSpellCritChance.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param school 7 ---@param 1 diff --git a/api/GetSpellCritChanceFromIntellect.lua b/api/GetSpellCritChanceFromIntellect.lua index 9468113..436848c 100644 --- a/api/GetSpellCritChanceFromIntellect.lua +++ b/api/GetSpellCritChanceFromIntellect.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number critChance diff --git a/api/GetSpellDescription.lua b/api/GetSpellDescription.lua index b6bf722..696d75b 100644 --- a/api/GetSpellDescription.lua +++ b/api/GetSpellDescription.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param spellId number ---@return string desc diff --git a/api/GetSpellHitModifier.lua b/api/GetSpellHitModifier.lua index bf6aa4a..c43ebbb 100644 --- a/api/GetSpellHitModifier.lua +++ b/api/GetSpellHitModifier.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSpellHitModifier() end diff --git a/api/GetSpellInfo.lua b/api/GetSpellInfo.lua index bdf7b98..7ef8195 100644 --- a/api/GetSpellInfo.lua +++ b/api/GetSpellInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/GetSpellLevelLearned.lua b/api/GetSpellLevelLearned.lua index fb36ec4..3a9c266 100644 --- a/api/GetSpellLevelLearned.lua +++ b/api/GetSpellLevelLearned.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSpellLevelLearned() end diff --git a/api/GetSpellLink.lua b/api/GetSpellLink.lua index 0a95b1d..8019883 100644 --- a/api/GetSpellLink.lua +++ b/api/GetSpellLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/GetSpellLossOfControlCooldown.lua b/api/GetSpellLossOfControlCooldown.lua index 49a1227..260234b 100644 --- a/api/GetSpellLossOfControlCooldown.lua +++ b/api/GetSpellLossOfControlCooldown.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSpellLossOfControlCooldown() end diff --git a/api/GetSpellPenetration.lua b/api/GetSpellPenetration.lua index f2a516c..8a30900 100644 --- a/api/GetSpellPenetration.lua +++ b/api/GetSpellPenetration.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number penetration ---Returns the amount of enemy magic resistance ignored due to the player's Spell Penetration Rating diff --git a/api/GetSpellTabInfo.lua b/api/GetSpellTabInfo.lua index e6bb9de..ca1f4a2 100644 --- a/api/GetSpellTabInfo.lua +++ b/api/GetSpellTabInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetSpellTexture.lua b/api/GetSpellTexture.lua index 0561405..d7c6a3c 100644 --- a/api/GetSpellTexture.lua +++ b/api/GetSpellTexture.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/GetSpellsForCharacterUpgradeTier.lua b/api/GetSpellsForCharacterUpgradeTier.lua index 0ee4fa5..6654288 100644 --- a/api/GetSpellsForCharacterUpgradeTier.lua +++ b/api/GetSpellsForCharacterUpgradeTier.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSpellsForCharacterUpgradeTier() end diff --git a/api/GetStablePetFoodTypes.lua b/api/GetStablePetFoodTypes.lua index f02d918..40190f4 100644 --- a/api/GetStablePetFoodTypes.lua +++ b/api/GetStablePetFoodTypes.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index 1 to NUM_PET_STABLE_SLOTS ---@param 0 diff --git a/api/GetStablePetInfo.lua b/api/GetStablePetInfo.lua index 9eb6174..4073915 100644 --- a/api/GetStablePetInfo.lua +++ b/api/GetStablePetInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index 1 to NUM_PET_STABLE_SLOTS ---@param 0 diff --git a/api/GetStationeryInfo.lua b/api/GetStationeryInfo.lua index cf8b920..cc1de83 100644 --- a/api/GetStationeryInfo.lua +++ b/api/GetStationeryInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetStatistic.lua b/api/GetStatistic.lua index 7963b37..e183ccf 100644 --- a/api/GetStatistic.lua +++ b/api/GetStatistic.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return string info diff --git a/api/GetStatisticsCategoryList.lua b/api/GetStatisticsCategoryList.lua index d0103e4..031c33e 100644 --- a/api/GetStatisticsCategoryList.lua +++ b/api/GetStatisticsCategoryList.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return table categories ---Returns a list of all statistic categories diff --git a/api/GetSubZoneText.lua b/api/GetSubZoneText.lua index 594a3cc..3d710e4 100644 --- a/api/GetSubZoneText.lua +++ b/api/GetSubZoneText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string subzoneText ---Returns the name of the minor area in which the player is located. Subzones are named regions within a larger zone or instance: e.g. the Valley of Trials in Durotar, the Terrace of Light in Shattrath City, or the Njorn Stair in Utgarde Keep. diff --git a/api/GetSuggestedGroupNum.lua b/api/GetSuggestedGroupNum.lua index 89bd622..75896b8 100644 --- a/api/GetSuggestedGroupNum.lua +++ b/api/GetSuggestedGroupNum.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number suggestedGroup ---Returns the suggested group size for attempting the quest currently offered by a questgiver. Usable following the QUEST_DETAIL event in which the questgiver presents the player with the details of a quest and the option to accept or decline. diff --git a/api/GetSummonConfirmAreaName.lua b/api/GetSummonConfirmAreaName.lua index f47c758..a692eb7 100644 --- a/api/GetSummonConfirmAreaName.lua +++ b/api/GetSummonConfirmAreaName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string area ---Returns the destination area of an offered summons. The name returned is generally that of the subzone in which the summoner performed the spell. Usable between when the CONFIRM_SUMMON event fires (due to a summoning spell cast by another player) and when the value returned by GetSummonConfirmTimeLeft() reaches zero. diff --git a/api/GetSummonConfirmSummoner.lua b/api/GetSummonConfirmSummoner.lua index 2ba51df..5b8cc26 100644 --- a/api/GetSummonConfirmSummoner.lua +++ b/api/GetSummonConfirmSummoner.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string text ---Returns the name of the unit offering a summons to the player. Usable between when the CONFIRM_SUMMON event fires (due to a summoning spell cast by another player) and when the value returned by GetSummonConfirmTimeLeft() reaches zero. diff --git a/api/GetSummonConfirmTimeLeft.lua b/api/GetSummonConfirmTimeLeft.lua index db1f602..d434dec 100644 --- a/api/GetSummonConfirmTimeLeft.lua +++ b/api/GetSummonConfirmTimeLeft.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number timeleft ---Returns the amount of time remaining before an offered summons expires. Returns 0 if no summons is currently available. diff --git a/api/GetSummonFriendCooldown.lua b/api/GetSummonFriendCooldown.lua index 2ff7043..851033f 100644 --- a/api/GetSummonFriendCooldown.lua +++ b/api/GetSummonFriendCooldown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number start ---@return number duration diff --git a/api/GetSuperTrackedQuestID.lua b/api/GetSuperTrackedQuestID.lua index 925d30a..97f0d28 100644 --- a/api/GetSuperTrackedQuestID.lua +++ b/api/GetSuperTrackedQuestID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetSuperTrackedQuestID() end diff --git a/api/GetTabardCreationCost.lua b/api/GetTabardCreationCost.lua index f9dab59..4378f71 100644 --- a/api/GetTabardCreationCost.lua +++ b/api/GetTabardCreationCost.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number cost ---Returns the cost to create a guild tabard. Only returns valid data if the player is interacting with a tabard designer (i.e. between the OPEN_TABARD_FRAME and CLOSE_TABARD_FRAME events). diff --git a/api/GetTabardInfo.lua b/api/GetTabardInfo.lua index 671873e..662d4de 100644 --- a/api/GetTabardInfo.lua +++ b/api/GetTabardInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTabardInfo() end diff --git a/api/GetTalentClearInfo.lua b/api/GetTalentClearInfo.lua index 4cd0368..b0b458c 100644 --- a/api/GetTalentClearInfo.lua +++ b/api/GetTalentClearInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTalentClearInfo() end diff --git a/api/GetTalentInfo.lua b/api/GetTalentInfo.lua index 97217c7..2a78c52 100644 --- a/api/GetTalentInfo.lua +++ b/api/GetTalentInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tier number ---@param column number diff --git a/api/GetTalentInfoByID.lua b/api/GetTalentInfoByID.lua index 3317b99..80ec4b4 100644 --- a/api/GetTalentInfoByID.lua +++ b/api/GetTalentInfoByID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTalentInfoByID() end diff --git a/api/GetTalentInfoBySpecialization.lua b/api/GetTalentInfoBySpecialization.lua index 03718cb..01c9b66 100644 --- a/api/GetTalentInfoBySpecialization.lua +++ b/api/GetTalentInfoBySpecialization.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTalentInfoBySpecialization() end diff --git a/api/GetTalentLink.lua b/api/GetTalentLink.lua index cd9e090..d281276 100644 --- a/api/GetTalentLink.lua +++ b/api/GetTalentLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tabIndex number ---@param talentIndex number diff --git a/api/GetTalentRowSelectionInfo.lua b/api/GetTalentRowSelectionInfo.lua index f1a2211..0f93401 100644 --- a/api/GetTalentRowSelectionInfo.lua +++ b/api/GetTalentRowSelectionInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTalentRowSelectionInfo() end diff --git a/api/GetTargetTradeCurrency.lua b/api/GetTargetTradeCurrency.lua index 8ac665b..8e1d0b9 100644 --- a/api/GetTargetTradeCurrency.lua +++ b/api/GetTargetTradeCurrency.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTargetTradeCurrency() end diff --git a/api/GetTargetTradeMoney.lua b/api/GetTargetTradeMoney.lua index c35dff4..3b2189b 100644 --- a/api/GetTargetTradeMoney.lua +++ b/api/GetTargetTradeMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number amount ---Returns the amount of money offered for trade by the target diff --git a/api/GetTaxiBenchmarkMode.lua b/api/GetTaxiBenchmarkMode.lua index d0bc863..173df5f 100644 --- a/api/GetTaxiBenchmarkMode.lua +++ b/api/GetTaxiBenchmarkMode.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isBenchmark ---Returns whether flight path benchmark mode is enabled diff --git a/api/GetTempShapeshiftBarIndex.lua b/api/GetTempShapeshiftBarIndex.lua index 8ba88c7..b69dd89 100644 --- a/api/GetTempShapeshiftBarIndex.lua +++ b/api/GetTempShapeshiftBarIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTempShapeshiftBarIndex() end diff --git a/api/GetText.lua b/api/GetText.lua index b53d88a..2152850 100644 --- a/api/GetText.lua +++ b/api/GetText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param token string ---@param gender number diff --git a/api/GetThreatStatusColor.lua b/api/GetThreatStatusColor.lua index 57c4da5..66a13bb 100644 --- a/api/GetThreatStatusColor.lua +++ b/api/GetThreatStatusColor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param status number ---@return number red diff --git a/api/GetTime.lua b/api/GetTime.lua index 276da37..b01d05f 100644 --- a/api/GetTime.lua +++ b/api/GetTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number time ---Returns a number representing the current time (with millisecond precision). Unlike with time(), the number returned by this function has no meaning of its own and may not be comparable across clients; however, since it also provides higher resolution it can be compared against itself for high-precision time measurements. As of patch 4.3 this function's value is cached and will not change until the next OnUpdate fires. See debugprofilestop() for an alternative. diff --git a/api/GetTimeToWellRested.lua b/api/GetTimeToWellRested.lua index 7cef6ae..834595e 100644 --- a/api/GetTimeToWellRested.lua +++ b/api/GetTimeToWellRested.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTimeToWellRested() end diff --git a/api/GetTitleName.lua b/api/GetTitleName.lua index d5c186a..2c25e65 100644 --- a/api/GetTitleName.lua +++ b/api/GetTitleName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param titleIndex integer ---@return string titleName diff --git a/api/GetTitleText.lua b/api/GetTitleText.lua index ab049d5..60945ed 100644 --- a/api/GetTitleText.lua +++ b/api/GetTitleText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string text ---Returns the title text for the quest presented by a questgiver. Only valid following the QUEST_DETAIL, QUEST_PROGRESS, or QUEST_COMPLETE events; otherwise may return nil or a value from the most recently displayed quest. diff --git a/api/GetTotalAchievementPoints.lua b/api/GetTotalAchievementPoints.lua index 7a2f1d6..3fc07d6 100644 --- a/api/GetTotalAchievementPoints.lua +++ b/api/GetTotalAchievementPoints.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param guild bool ---@return number points diff --git a/api/GetTotemInfo.lua b/api/GetTotemInfo.lua index a62542c..15e4072 100644 --- a/api/GetTotemInfo.lua +++ b/api/GetTotemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot 4 ---@param 1 diff --git a/api/GetTotemTimeLeft.lua b/api/GetTotemTimeLeft.lua index 0d466d3..5d1ed27 100644 --- a/api/GetTotemTimeLeft.lua +++ b/api/GetTotemTimeLeft.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot 4 ---@param 1 diff --git a/api/GetTrackedAchievements.lua b/api/GetTrackedAchievements.lua index 37d2966..43fd2de 100644 --- a/api/GetTrackedAchievements.lua +++ b/api/GetTrackedAchievements.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns numeric IDs of the achievements flagged for display in the objectives tracker UI diff --git a/api/GetTrackingInfo.lua b/api/GetTrackingInfo.lua index 9f4d6dd..d01455a 100644 --- a/api/GetTrackingInfo.lua +++ b/api/GetTrackingInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetTradePlayerItemInfo.lua b/api/GetTradePlayerItemInfo.lua index 8312d08..dd0a16d 100644 --- a/api/GetTradePlayerItemInfo.lua +++ b/api/GetTradePlayerItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetTradePlayerItemLink.lua b/api/GetTradePlayerItemLink.lua index 1beb783..53de7d7 100644 --- a/api/GetTradePlayerItemLink.lua +++ b/api/GetTradePlayerItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string link diff --git a/api/GetTradeSkillCategoryFilter.lua b/api/GetTradeSkillCategoryFilter.lua index 63a0382..48b952f 100644 --- a/api/GetTradeSkillCategoryFilter.lua +++ b/api/GetTradeSkillCategoryFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTradeSkillCategoryFilter() end diff --git a/api/GetTradeSkillCooldown.lua b/api/GetTradeSkillCooldown.lua index c17b51f..76899a7 100644 --- a/api/GetTradeSkillCooldown.lua +++ b/api/GetTradeSkillCooldown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number cooldown diff --git a/api/GetTradeSkillDescription.lua b/api/GetTradeSkillDescription.lua index b069cca..e78074b 100644 --- a/api/GetTradeSkillDescription.lua +++ b/api/GetTradeSkillDescription.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string description diff --git a/api/GetTradeSkillIcon.lua b/api/GetTradeSkillIcon.lua index 2906796..52bcaaf 100644 --- a/api/GetTradeSkillIcon.lua +++ b/api/GetTradeSkillIcon.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string texturePath diff --git a/api/GetTradeSkillInfo.lua b/api/GetTradeSkillInfo.lua index efdcb07..e49faf0 100644 --- a/api/GetTradeSkillInfo.lua +++ b/api/GetTradeSkillInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string skillName diff --git a/api/GetTradeSkillInvSlotFilter.lua b/api/GetTradeSkillInvSlotFilter.lua index b8e13c4..6855564 100644 --- a/api/GetTradeSkillInvSlotFilter.lua +++ b/api/GetTradeSkillInvSlotFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return 1nil enabled diff --git a/api/GetTradeSkillInvSlots.lua b/api/GetTradeSkillInvSlots.lua index 128be03..4f8c4b5 100644 --- a/api/GetTradeSkillInvSlots.lua +++ b/api/GetTradeSkillInvSlots.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns a list of recipe equipment slots for the current trade skill. These inventory types correspond to those of the items produced (see GetItemInfo() and GetAuctionItemInvTypes()) and can be used to filter the recipe list. diff --git a/api/GetTradeSkillItemLevelFilter.lua b/api/GetTradeSkillItemLevelFilter.lua index 2f19c29..56e520d 100644 --- a/api/GetTradeSkillItemLevelFilter.lua +++ b/api/GetTradeSkillItemLevelFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number minLevel ---@return number maxLevel diff --git a/api/GetTradeSkillItemLink.lua b/api/GetTradeSkillItemLink.lua index f360d1d..3905ba2 100644 --- a/api/GetTradeSkillItemLink.lua +++ b/api/GetTradeSkillItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string link diff --git a/api/GetTradeSkillItemNameFilter.lua b/api/GetTradeSkillItemNameFilter.lua index 3bfa58d..b9ed8c1 100644 --- a/api/GetTradeSkillItemNameFilter.lua +++ b/api/GetTradeSkillItemNameFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string text ---Returns the current search text for filtering the trade skill listing by name diff --git a/api/GetTradeSkillLine.lua b/api/GetTradeSkillLine.lua index 74bde84..0fe9ec0 100644 --- a/api/GetTradeSkillLine.lua +++ b/api/GetTradeSkillLine.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string tradeskillName ---@return number rank diff --git a/api/GetTradeSkillListLink.lua b/api/GetTradeSkillListLink.lua index c2a3d89..68e0e33 100644 --- a/api/GetTradeSkillListLink.lua +++ b/api/GetTradeSkillListLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string link ---Returns a hyperlink to the player's list of recipes for the current trade skill diff --git a/api/GetTradeSkillNumMade.lua b/api/GetTradeSkillNumMade.lua index e548c00..683f5e3 100644 --- a/api/GetTradeSkillNumMade.lua +++ b/api/GetTradeSkillNumMade.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number minMade diff --git a/api/GetTradeSkillNumReagents.lua b/api/GetTradeSkillNumReagents.lua index 38b7b1b..127b024 100644 --- a/api/GetTradeSkillNumReagents.lua +++ b/api/GetTradeSkillNumReagents.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number numReagents diff --git a/api/GetTradeSkillReagentInfo.lua b/api/GetTradeSkillReagentInfo.lua index 8949f0e..2fa6fe3 100644 --- a/api/GetTradeSkillReagentInfo.lua +++ b/api/GetTradeSkillReagentInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param skillIndex number ---@param reagentIndex number diff --git a/api/GetTradeSkillReagentItemLink.lua b/api/GetTradeSkillReagentItemLink.lua index c247c63..72958c0 100644 --- a/api/GetTradeSkillReagentItemLink.lua +++ b/api/GetTradeSkillReagentItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param skillIndex number ---@param reagentIndex number diff --git a/api/GetTradeSkillRecipeLink.lua b/api/GetTradeSkillRecipeLink.lua index 15ab016..d9b2a5a 100644 --- a/api/GetTradeSkillRecipeLink.lua +++ b/api/GetTradeSkillRecipeLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string link diff --git a/api/GetTradeSkillSelectionIndex.lua b/api/GetTradeSkillSelectionIndex.lua index c3af289..17d6e5e 100644 --- a/api/GetTradeSkillSelectionIndex.lua +++ b/api/GetTradeSkillSelectionIndex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the index of the currently selected trade skill recipe. Selection in the recipe list is used only for display in the default UI and has no effect on other Trade Skill APIs. diff --git a/api/GetTradeSkillSubCategories.lua b/api/GetTradeSkillSubCategories.lua index 1cba467..3177172 100644 --- a/api/GetTradeSkillSubCategories.lua +++ b/api/GetTradeSkillSubCategories.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTradeSkillSubCategories() end diff --git a/api/GetTradeSkillSubClassFilteredSlots.lua b/api/GetTradeSkillSubClassFilteredSlots.lua index 886ef5e..991acb5 100644 --- a/api/GetTradeSkillSubClassFilteredSlots.lua +++ b/api/GetTradeSkillSubClassFilteredSlots.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTradeSkillSubClassFilteredSlots() end diff --git a/api/GetTradeSkillSubClasses.lua b/api/GetTradeSkillSubClasses.lua index 7cffaa9..df4f7c2 100644 --- a/api/GetTradeSkillSubClasses.lua +++ b/api/GetTradeSkillSubClasses.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns a list of recipe subclasses for the current trade skill. These subclasses correspond to those of the items produced (see GetItemInfo() and GetAuctionItemSubClasses()) and can be used to filter the recipe list. diff --git a/api/GetTradeSkillTexture.lua b/api/GetTradeSkillTexture.lua index 2acce2a..35597f0 100644 --- a/api/GetTradeSkillTexture.lua +++ b/api/GetTradeSkillTexture.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTradeSkillTexture() end diff --git a/api/GetTradeSkillTools.lua b/api/GetTradeSkillTools.lua index 5aa9b77..b1ecc94 100644 --- a/api/GetTradeSkillTools.lua +++ b/api/GetTradeSkillTools.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string toolName diff --git a/api/GetTradeTargetItemInfo.lua b/api/GetTradeTargetItemInfo.lua index 70bf1f1..2634f13 100644 --- a/api/GetTradeTargetItemInfo.lua +++ b/api/GetTradeTargetItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetTradeTargetItemLink.lua b/api/GetTradeTargetItemLink.lua index c8816de..3275841 100644 --- a/api/GetTradeTargetItemLink.lua +++ b/api/GetTradeTargetItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string link diff --git a/api/GetTradeskillRepeatCount.lua b/api/GetTradeskillRepeatCount.lua index df96536..efb58ef 100644 --- a/api/GetTradeskillRepeatCount.lua +++ b/api/GetTradeskillRepeatCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number repeatCount ---Returns the number of times the trade skill recipe currently being performed will repeat. Returns 1 if a recipe is not being performed; after DoTradeSkill() is called, returns the number of repetitions queued (which decrements as each repetition is finished). diff --git a/api/GetTrainerGreetingText.lua b/api/GetTrainerGreetingText.lua index 675ac14..17604e6 100644 --- a/api/GetTrainerGreetingText.lua +++ b/api/GetTrainerGreetingText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string text ---Returns the current trainer's greeting text. In the default UI, this text is displayed at the top of the trainer window. May return the empty string or the last used trainer's greeting text if called while not interacting with a trainer. diff --git a/api/GetTrainerSelectionIndex.lua b/api/GetTrainerSelectionIndex.lua index 3c5ee9a..9810ec5 100644 --- a/api/GetTrainerSelectionIndex.lua +++ b/api/GetTrainerSelectionIndex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number selectionIndex ---Returns the index of the currently selected trainer service. Selection in the recipe list is used only for display in the default UI and has no effect on other Trade Skill APIs. diff --git a/api/GetTrainerServiceAbilityReq.lua b/api/GetTrainerServiceAbilityReq.lua index 31d8d6e..4cb3c35 100644 --- a/api/GetTrainerServiceAbilityReq.lua +++ b/api/GetTrainerServiceAbilityReq.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param abilityIndex number diff --git a/api/GetTrainerServiceCost.lua b/api/GetTrainerServiceCost.lua index f7dcb74..2596b03 100644 --- a/api/GetTrainerServiceCost.lua +++ b/api/GetTrainerServiceCost.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number moneyCost diff --git a/api/GetTrainerServiceDescription.lua b/api/GetTrainerServiceDescription.lua index 5e43bf9..04b2f83 100644 --- a/api/GetTrainerServiceDescription.lua +++ b/api/GetTrainerServiceDescription.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string text diff --git a/api/GetTrainerServiceIcon.lua b/api/GetTrainerServiceIcon.lua index c46e089..0ad0cd3 100644 --- a/api/GetTrainerServiceIcon.lua +++ b/api/GetTrainerServiceIcon.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string icon diff --git a/api/GetTrainerServiceInfo.lua b/api/GetTrainerServiceInfo.lua index 362e733..2d3decf 100644 --- a/api/GetTrainerServiceInfo.lua +++ b/api/GetTrainerServiceInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string serviceName diff --git a/api/GetTrainerServiceItemLink.lua b/api/GetTrainerServiceItemLink.lua index 8cf7414..4d17537 100644 --- a/api/GetTrainerServiceItemLink.lua +++ b/api/GetTrainerServiceItemLink.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string link diff --git a/api/GetTrainerServiceLevelReq.lua b/api/GetTrainerServiceLevelReq.lua index bc88c11..028b79a 100644 --- a/api/GetTrainerServiceLevelReq.lua +++ b/api/GetTrainerServiceLevelReq.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number reqLevel diff --git a/api/GetTrainerServiceNumAbilityReq.lua b/api/GetTrainerServiceNumAbilityReq.lua index 1080b01..f8b5e36 100644 --- a/api/GetTrainerServiceNumAbilityReq.lua +++ b/api/GetTrainerServiceNumAbilityReq.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number numRequirements diff --git a/api/GetTrainerServiceSkillLine.lua b/api/GetTrainerServiceSkillLine.lua index 2eb18c8..8d82280 100644 --- a/api/GetTrainerServiceSkillLine.lua +++ b/api/GetTrainerServiceSkillLine.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string skillLine diff --git a/api/GetTrainerServiceSkillReq.lua b/api/GetTrainerServiceSkillReq.lua index 37f10c8..c724dee 100644 --- a/api/GetTrainerServiceSkillReq.lua +++ b/api/GetTrainerServiceSkillReq.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string skill diff --git a/api/GetTrainerServiceStepIndex.lua b/api/GetTrainerServiceStepIndex.lua index df1a618..0437d5e 100644 --- a/api/GetTrainerServiceStepIndex.lua +++ b/api/GetTrainerServiceStepIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTrainerServiceStepIndex() end diff --git a/api/GetTrainerServiceTypeFilter.lua b/api/GetTrainerServiceTypeFilter.lua index 7dadb24..162c16d 100644 --- a/api/GetTrainerServiceTypeFilter.lua +++ b/api/GetTrainerServiceTypeFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param type used ---@param available diff --git a/api/GetTrainerTradeskillRankValues.lua b/api/GetTrainerTradeskillRankValues.lua index 8f62621..9f22f48 100644 --- a/api/GetTrainerTradeskillRankValues.lua +++ b/api/GetTrainerTradeskillRankValues.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTrainerTradeskillRankValues() end diff --git a/api/GetTransmogrifyCost.lua b/api/GetTransmogrifyCost.lua index 4d19246..3629675 100644 --- a/api/GetTransmogrifyCost.lua +++ b/api/GetTransmogrifyCost.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTransmogrifyCost() end diff --git a/api/GetTransmogrifySlotInfo.lua b/api/GetTransmogrifySlotInfo.lua index 01ad310..beab660 100644 --- a/api/GetTransmogrifySlotInfo.lua +++ b/api/GetTransmogrifySlotInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return boolean isTransmogrified diff --git a/api/GetTutorialsEnabled.lua b/api/GetTutorialsEnabled.lua index e8aa778..931d5ff 100644 --- a/api/GetTutorialsEnabled.lua +++ b/api/GetTutorialsEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetTutorialsEnabled() end diff --git a/api/GetUnitHealthModifier.lua b/api/GetUnitHealthModifier.lua index 8b9dd2a..edf8fb0 100644 --- a/api/GetUnitHealthModifier.lua +++ b/api/GetUnitHealthModifier.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number modifier diff --git a/api/GetUnitManaRegenRateFromSpirit.lua b/api/GetUnitManaRegenRateFromSpirit.lua index d5fabf7..a1cfb6e 100644 --- a/api/GetUnitManaRegenRateFromSpirit.lua +++ b/api/GetUnitManaRegenRateFromSpirit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number regen diff --git a/api/GetUnitMaxHealthModifier.lua b/api/GetUnitMaxHealthModifier.lua index 807d4d0..61950b8 100644 --- a/api/GetUnitMaxHealthModifier.lua +++ b/api/GetUnitMaxHealthModifier.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number modifier diff --git a/api/GetUnitName.lua b/api/GetUnitName.lua index 07a55d2..8afdc18 100644 --- a/api/GetUnitName.lua +++ b/api/GetUnitName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param showServerName boolean diff --git a/api/GetUnitPitch.lua b/api/GetUnitPitch.lua index 77ad07d..d6611df 100644 --- a/api/GetUnitPitch.lua +++ b/api/GetUnitPitch.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number pitch diff --git a/api/GetUnitPowerModifier.lua b/api/GetUnitPowerModifier.lua index ceb47db..166615b 100644 --- a/api/GetUnitPowerModifier.lua +++ b/api/GetUnitPowerModifier.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number modifier diff --git a/api/GetUnitSpeed.lua b/api/GetUnitSpeed.lua index 151f5fb..2740eec 100644 --- a/api/GetUnitSpeed.lua +++ b/api/GetUnitSpeed.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit unitid ---@return number speed diff --git a/api/GetVehicleBarIndex.lua b/api/GetVehicleBarIndex.lua index d204f14..b9c659d 100644 --- a/api/GetVehicleBarIndex.lua +++ b/api/GetVehicleBarIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetVehicleBarIndex() end diff --git a/api/GetVehicleUIIndicator.lua b/api/GetVehicleUIIndicator.lua index 1b455ad..e81b758 100644 --- a/api/GetVehicleUIIndicator.lua +++ b/api/GetVehicleUIIndicator.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetVehicleUIIndicator() end diff --git a/api/GetVehicleUIIndicatorSeat.lua b/api/GetVehicleUIIndicatorSeat.lua index 320efa4..bccea62 100644 --- a/api/GetVehicleUIIndicatorSeat.lua +++ b/api/GetVehicleUIIndicatorSeat.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetVehicleUIIndicatorSeat() end diff --git a/api/GetVersatilityBonus.lua b/api/GetVersatilityBonus.lua index 9e25ff5..a47cbaf 100644 --- a/api/GetVersatilityBonus.lua +++ b/api/GetVersatilityBonus.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetVersatilityBonus() end diff --git a/api/GetVideoCaps.lua b/api/GetVideoCaps.lua index ab9b2b1..f6d9cd9 100644 --- a/api/GetVideoCaps.lua +++ b/api/GetVideoCaps.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number hasAnisotropic ---@return number hasPixelShaders diff --git a/api/GetVideoOptions.lua b/api/GetVideoOptions.lua index c85d6ed..c6641ed 100644 --- a/api/GetVideoOptions.lua +++ b/api/GetVideoOptions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param qualityLevel number ---@return string name diff --git a/api/GetVoiceCurrentSessionID.lua b/api/GetVoiceCurrentSessionID.lua index 7ea836a..5fc98a8 100644 --- a/api/GetVoiceCurrentSessionID.lua +++ b/api/GetVoiceCurrentSessionID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number id ---Returns an identifier for the active voice session diff --git a/api/GetVoiceSessionInfo.lua b/api/GetVoiceSessionInfo.lua index 06b2738..fb1ffb1 100644 --- a/api/GetVoiceSessionInfo.lua +++ b/api/GetVoiceSessionInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param session number ---@return string name diff --git a/api/GetVoiceSessionMemberInfoBySessionID.lua b/api/GetVoiceSessionMemberInfoBySessionID.lua index 1209d6d..728a9cb 100644 --- a/api/GetVoiceSessionMemberInfoBySessionID.lua +++ b/api/GetVoiceSessionMemberInfoBySessionID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param session number ---@param index number diff --git a/api/GetVoiceStatus.lua b/api/GetVoiceStatus.lua index 24ed942..9f7d3df 100644 --- a/api/GetVoiceStatus.lua +++ b/api/GetVoiceStatus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit unitid ---@param name string diff --git a/api/GetVoidItemHyperlinkString.lua b/api/GetVoidItemHyperlinkString.lua index 692dc86..fe6add3 100644 --- a/api/GetVoidItemHyperlinkString.lua +++ b/api/GetVoidItemHyperlinkString.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetVoidItemHyperlinkString() end diff --git a/api/GetVoidItemInfo.lua b/api/GetVoidItemInfo.lua index 0801be9..8761d21 100644 --- a/api/GetVoidItemInfo.lua +++ b/api/GetVoidItemInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@param slot number diff --git a/api/GetVoidStorageSlotPageIndex.lua b/api/GetVoidStorageSlotPageIndex.lua index 5ad11be..b45171b 100644 --- a/api/GetVoidStorageSlotPageIndex.lua +++ b/api/GetVoidStorageSlotPageIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetVoidStorageSlotPageIndex() end diff --git a/api/GetVoidTransferCost.lua b/api/GetVoidTransferCost.lua index cd6fba4..1b18d82 100644 --- a/api/GetVoidTransferCost.lua +++ b/api/GetVoidTransferCost.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetVoidTransferCost() end diff --git a/api/GetVoidTransferDepositInfo.lua b/api/GetVoidTransferDepositInfo.lua index e959ff9..3fd34a9 100644 --- a/api/GetVoidTransferDepositInfo.lua +++ b/api/GetVoidTransferDepositInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetVoidTransferDepositInfo() end diff --git a/api/GetVoidTransferWithdrawalInfo.lua b/api/GetVoidTransferWithdrawalInfo.lua index 19f5eb1..fc97be4 100644 --- a/api/GetVoidTransferWithdrawalInfo.lua +++ b/api/GetVoidTransferWithdrawalInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetVoidTransferWithdrawalInfo() end diff --git a/api/GetVoidUnlockCost.lua b/api/GetVoidUnlockCost.lua index 6b2b9d3..1930779 100644 --- a/api/GetVoidUnlockCost.lua +++ b/api/GetVoidUnlockCost.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetVoidUnlockCost() end diff --git a/api/GetWarGameQueueStatus.lua b/api/GetWarGameQueueStatus.lua index 49dda64..f7f27f6 100644 --- a/api/GetWarGameQueueStatus.lua +++ b/api/GetWarGameQueueStatus.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetWarGameQueueStatus() end diff --git a/api/GetWarGameTypeInfo.lua b/api/GetWarGameTypeInfo.lua index b621f38..3a43e83 100644 --- a/api/GetWarGameTypeInfo.lua +++ b/api/GetWarGameTypeInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetWarGameTypeInfo() end diff --git a/api/GetWatchedFactionInfo.lua b/api/GetWatchedFactionInfo.lua index fd6e588..d407cfb 100644 --- a/api/GetWatchedFactionInfo.lua +++ b/api/GetWatchedFactionInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string name ---@return 8 standingID diff --git a/api/GetWeaponEnchantInfo.lua b/api/GetWeaponEnchantInfo.lua index 25c27af..09d8a61 100644 --- a/api/GetWeaponEnchantInfo.lua +++ b/api/GetWeaponEnchantInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasMainHandEnchant ---@return number mainHandExpiration diff --git a/api/GetWhoInfo.lua b/api/GetWhoInfo.lua index cee2945..330ec0c 100644 --- a/api/GetWhoInfo.lua +++ b/api/GetWhoInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/GetWorldElapsedTime.lua b/api/GetWorldElapsedTime.lua index ecdae16..fa2234c 100644 --- a/api/GetWorldElapsedTime.lua +++ b/api/GetWorldElapsedTime.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetWorldElapsedTime() end diff --git a/api/GetWorldElapsedTimers.lua b/api/GetWorldElapsedTimers.lua index 96d9a72..41c3b75 100644 --- a/api/GetWorldElapsedTimers.lua +++ b/api/GetWorldElapsedTimers.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetWorldElapsedTimers() end diff --git a/api/GetWorldLocFromMapPos.lua b/api/GetWorldLocFromMapPos.lua index 9f20eb3..fdc6363 100644 --- a/api/GetWorldLocFromMapPos.lua +++ b/api/GetWorldLocFromMapPos.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetWorldLocFromMapPos() end diff --git a/api/GetWorldMapTransformInfo.lua b/api/GetWorldMapTransformInfo.lua index 06fdab4..7ccbc77 100644 --- a/api/GetWorldMapTransformInfo.lua +++ b/api/GetWorldMapTransformInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetWorldMapTransformInfo() end diff --git a/api/GetWorldMapTransforms.lua b/api/GetWorldMapTransforms.lua index bb1ca6d..cb5a287 100644 --- a/api/GetWorldMapTransforms.lua +++ b/api/GetWorldMapTransforms.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GetWorldMapTransforms() end diff --git a/api/GetWorldPVPAreaInfo.lua b/api/GetWorldPVPAreaInfo.lua index 5f2d6cd..a312b0a 100644 --- a/api/GetWorldPVPAreaInfo.lua +++ b/api/GetWorldPVPAreaInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param pvpMapID 2 ---@param 1 diff --git a/api/GetWorldPVPQueueStatus.lua b/api/GetWorldPVPQueueStatus.lua index 4f48237..d263b7e 100644 --- a/api/GetWorldPVPQueueStatus.lua +++ b/api/GetWorldPVPQueueStatus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return queued status diff --git a/api/GetWorldStateUIInfo.lua b/api/GetWorldStateUIInfo.lua index 0599a9e..51b4224 100644 --- a/api/GetWorldStateUIInfo.lua +++ b/api/GetWorldStateUIInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number uiType diff --git a/api/GetXPExhaustion.lua b/api/GetXPExhaustion.lua index 6bf654e..dee6240 100644 --- a/api/GetXPExhaustion.lua +++ b/api/GetXPExhaustion.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number exhaustionXP ---Returns the amount of rested bonus experience available. This value increments as the player spends time resting and depletes as the player earns experience from kills while rested. diff --git a/api/GetZonePVPInfo.lua b/api/GetZonePVPInfo.lua index 7d44cd7..cada16b 100644 --- a/api/GetZonePVPInfo.lua +++ b/api/GetZonePVPInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return sanctuary pvpType ---@return arena diff --git a/api/GetZoneText.lua b/api/GetZoneText.lua index 8adb812..89fb7f2 100644 --- a/api/GetZoneText.lua +++ b/api/GetZoneText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string zone ---Returns the name of the zone in which the player is located diff --git a/api/GiveMasterLoot.lua b/api/GiveMasterLoot.lua index 53f788b..75ed836 100644 --- a/api/GiveMasterLoot.lua +++ b/api/GiveMasterLoot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@param index number diff --git a/api/GlyphMatchesSocket.lua b/api/GlyphMatchesSocket.lua index 05cbe32..d649d36 100644 --- a/api/GlyphMatchesSocket.lua +++ b/api/GlyphMatchesSocket.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param socket number ---@return 1nil match diff --git a/api/GrantLevel.lua b/api/GrantLevel.lua index 789f928..a156fb1 100644 --- a/api/GrantLevel.lua +++ b/api/GrantLevel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---Grants a level to the player's Recruit-a-Friend partner. Does not immediately cause the partner character to level up: that player is given a chance to accept or decline the offered level. diff --git a/api/GuildControlAddRank.lua b/api/GuildControlAddRank.lua index 0623f61..8106b7f 100644 --- a/api/GuildControlAddRank.lua +++ b/api/GuildControlAddRank.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Adds a new rank to the player's guild. The newly added rank becomes the lowest rank in the guild. diff --git a/api/GuildControlDelRank.lua b/api/GuildControlDelRank.lua index 41035e4..83dc6eb 100644 --- a/api/GuildControlDelRank.lua +++ b/api/GuildControlDelRank.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Deletes a guild rank diff --git a/api/GuildControlGetAllowedShifts.lua b/api/GuildControlGetAllowedShifts.lua index 4c96e5e..1970d0d 100644 --- a/api/GuildControlGetAllowedShifts.lua +++ b/api/GuildControlGetAllowedShifts.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GuildControlGetAllowedShifts() end diff --git a/api/GuildControlGetNumRanks.lua b/api/GuildControlGetNumRanks.lua index 0ceb24b..aa4e2c4 100644 --- a/api/GuildControlGetNumRanks.lua +++ b/api/GuildControlGetNumRanks.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numRanks ---Returns the number of ranks in the guild diff --git a/api/GuildControlGetRankFlags.lua b/api/GuildControlGetRankFlags.lua index 1c53378..f13f3af 100644 --- a/api/GuildControlGetRankFlags.lua +++ b/api/GuildControlGetRankFlags.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return list ... ---Returns the list of privileges for the guild rank being edited. The name of a privilege for an index in this list can be found in the global variable "GUILDCONTROL_OPTION"..index. diff --git a/api/GuildControlGetRankName.lua b/api/GuildControlGetRankName.lua index 3f8ebdc..2cd3231 100644 --- a/api/GuildControlGetRankName.lua +++ b/api/GuildControlGetRankName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param rank number ---@return string rankName diff --git a/api/GuildControlSaveRank.lua b/api/GuildControlSaveRank.lua index 0ec0eee..acd1a3d 100644 --- a/api/GuildControlSaveRank.lua +++ b/api/GuildControlSaveRank.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Saves changes to the guild rank being edited diff --git a/api/GuildControlSetRank.lua b/api/GuildControlSetRank.lua index 222e5b6..ff0f3ce 100644 --- a/api/GuildControlSetRank.lua +++ b/api/GuildControlSetRank.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param rank number ---Chooses a guild rank to edit diff --git a/api/GuildControlSetRankFlag.lua b/api/GuildControlSetRankFlag.lua index 8f85dfe..6e2b85f 100644 --- a/api/GuildControlSetRankFlag.lua +++ b/api/GuildControlSetRankFlag.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index 17 ---@param 1 diff --git a/api/GuildControlShiftRankDown.lua b/api/GuildControlShiftRankDown.lua index e3399c4..fd8a8a0 100644 --- a/api/GuildControlShiftRankDown.lua +++ b/api/GuildControlShiftRankDown.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GuildControlShiftRankDown() end diff --git a/api/GuildControlShiftRankUp.lua b/api/GuildControlShiftRankUp.lua index 9f0d66a..ca703f5 100644 --- a/api/GuildControlShiftRankUp.lua +++ b/api/GuildControlShiftRankUp.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GuildControlShiftRankUp() end diff --git a/api/GuildDemote.lua b/api/GuildDemote.lua index e8a12b2..48a8383 100644 --- a/api/GuildDemote.lua +++ b/api/GuildDemote.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Reduces a guild member's rank by one. The player can only demote members whose rank is below the player's own, and only if the player has permission to demote (i.e. if CanGuildDemote() returns 1). diff --git a/api/GuildDisband.lua b/api/GuildDisband.lua index b0371cd..1ade7cd 100644 --- a/api/GuildDisband.lua +++ b/api/GuildDisband.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Disbands the player's guild. Only has effect if the player is the guild leader function GuildDisband() end diff --git a/api/GuildInfo.lua b/api/GuildInfo.lua index 7a51d7c..002ee29 100644 --- a/api/GuildInfo.lua +++ b/api/GuildInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests guild information from the server. Fires two CHAT_MSG_SYSTEM events, one containing the name of the guild, followed by one containing the date the guild was created and how many players and accounts belong to the guild. function GuildInfo() end diff --git a/api/GuildInvite.lua b/api/GuildInvite.lua index ddac28d..f686317 100644 --- a/api/GuildInvite.lua +++ b/api/GuildInvite.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Invites a character to join the player's guild diff --git a/api/GuildLeave.lua b/api/GuildLeave.lua index 609e084..8a9afd4 100644 --- a/api/GuildLeave.lua +++ b/api/GuildLeave.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Leaves the player's current guild function GuildLeave() end diff --git a/api/GuildMasterAbsent.lua b/api/GuildMasterAbsent.lua index 6ba5f6a..da911f4 100644 --- a/api/GuildMasterAbsent.lua +++ b/api/GuildMasterAbsent.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GuildMasterAbsent() end diff --git a/api/GuildNewsSetSticky.lua b/api/GuildNewsSetSticky.lua index 54aeca6..1b7e0d3 100644 --- a/api/GuildNewsSetSticky.lua +++ b/api/GuildNewsSetSticky.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GuildNewsSetSticky() end diff --git a/api/GuildNewsSort.lua b/api/GuildNewsSort.lua index a0e3bb2..aea5559 100644 --- a/api/GuildNewsSort.lua +++ b/api/GuildNewsSort.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GuildNewsSort() end diff --git a/api/GuildPromote.lua b/api/GuildPromote.lua index 4189a3e..ab4f3a4 100644 --- a/api/GuildPromote.lua +++ b/api/GuildPromote.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Increases a guild member's rank by one. The player can only promote members up to the rank immediately below the player's own, and only if the player has permission to promote (i.e. if CanGuildPromote() returns 1). diff --git a/api/GuildRoster.lua b/api/GuildRoster.lua index e7d73d4..cc8496a 100644 --- a/api/GuildRoster.lua +++ b/api/GuildRoster.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests guild roster information from the server. Information is not returned immediately; the GUILD_ROSTER_UPDATE event fires when data is available for retrieval via GetGuildRosterInfo() and related functions. Requests are throttled to reduce server load; the server will only respond to a new request approximately 10 seconds after a previous request. function GuildRoster() end diff --git a/api/GuildRosterSendSoR.lua b/api/GuildRosterSendSoR.lua index f9ca573..b65c858 100644 --- a/api/GuildRosterSendSoR.lua +++ b/api/GuildRosterSendSoR.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function GuildRosterSendSoR() end diff --git a/api/GuildRosterSetOfficerNote.lua b/api/GuildRosterSetOfficerNote.lua index 499b0aa..c541529 100644 --- a/api/GuildRosterSetOfficerNote.lua +++ b/api/GuildRosterSetOfficerNote.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param note string diff --git a/api/GuildRosterSetPublicNote.lua b/api/GuildRosterSetPublicNote.lua index bdd38ed..4921102 100644 --- a/api/GuildRosterSetPublicNote.lua +++ b/api/GuildRosterSetPublicNote.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param note string diff --git a/api/GuildSetLeader.lua b/api/GuildSetLeader.lua index 3fc1920..06fc2e2 100644 --- a/api/GuildSetLeader.lua +++ b/api/GuildSetLeader.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Promotes a member to guild leader. Only works if the player is the guild leader and the named character is in the guild and currently online. diff --git a/api/GuildSetMOTD.lua b/api/GuildSetMOTD.lua index d0a4e78..969daae 100644 --- a/api/GuildSetMOTD.lua +++ b/api/GuildSetMOTD.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param message string ---Sets the guild Message of the Day. Guild members see the message of the day upon login and whenever it is changed (and cannot disable its display in the default UI), so keeping the message concise is recommended. diff --git a/api/GuildUninvite.lua b/api/GuildUninvite.lua index da8536f..57db8b1 100644 --- a/api/GuildUninvite.lua +++ b/api/GuildUninvite.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Removes a character from the player's guild diff --git a/api/HasAPEffectsSpellPower.lua b/api/HasAPEffectsSpellPower.lua index cc55da6..695be65 100644 --- a/api/HasAPEffectsSpellPower.lua +++ b/api/HasAPEffectsSpellPower.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function HasAPEffectsSpellPower() end diff --git a/api/HasAction.lua b/api/HasAction.lua index 8f68a73..cc1e85c 100644 --- a/api/HasAction.lua +++ b/api/HasAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return 1nil hasAction diff --git a/api/HasBonusActionBar.lua b/api/HasBonusActionBar.lua index c07e8cf..a594ac9 100644 --- a/api/HasBonusActionBar.lua +++ b/api/HasBonusActionBar.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function HasBonusActionBar() end diff --git a/api/HasCompletedAnyAchievement.lua b/api/HasCompletedAnyAchievement.lua index 4af5355..f551e76 100644 --- a/api/HasCompletedAnyAchievement.lua +++ b/api/HasCompletedAnyAchievement.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean state ---Checks if the player has completed at least 1 achievement. Used to determine whether or not the achievements frame should be loaded, and if the Achievements button on the micro menu should be enabled or not. diff --git a/api/HasDebugZoneMap.lua b/api/HasDebugZoneMap.lua index 4ae3de2..3b0d70f 100644 --- a/api/HasDebugZoneMap.lua +++ b/api/HasDebugZoneMap.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function HasDebugZoneMap() end diff --git a/api/HasDraenorZoneAbility.lua b/api/HasDraenorZoneAbility.lua index b25b885..c57c3c5 100644 --- a/api/HasDraenorZoneAbility.lua +++ b/api/HasDraenorZoneAbility.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function HasDraenorZoneAbility() end diff --git a/api/HasExtraActionBar.lua b/api/HasExtraActionBar.lua index 54cbb01..5b0d043 100644 --- a/api/HasExtraActionBar.lua +++ b/api/HasExtraActionBar.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function HasExtraActionBar() end diff --git a/api/HasFullControl.lua b/api/HasFullControl.lua index 717b35c..38ee651 100644 --- a/api/HasFullControl.lua +++ b/api/HasFullControl.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasControl ---Returns whether the player character can be controlled diff --git a/api/HasInspectHonorData.lua b/api/HasInspectHonorData.lua index 0f2fee7..5ef7069 100644 --- a/api/HasInspectHonorData.lua +++ b/api/HasInspectHonorData.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasData ---Returns whether PvP honor and arena data for the currently inspected unit has been downloaded from the server. See RequestInspectHonorData() to request PvP data from the server. diff --git a/api/HasKey.lua b/api/HasKey.lua index ac534c7..4ad45a6 100644 --- a/api/HasKey.lua +++ b/api/HasKey.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasKey ---Returns whether the player has any keys stored in the Keyring container. Used in the default UI to show or hide the UI for the Keyring container diff --git a/api/HasLFGRestrictions.lua b/api/HasLFGRestrictions.lua index b480aae..fd8414b 100644 --- a/api/HasLFGRestrictions.lua +++ b/api/HasLFGRestrictions.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function HasLFGRestrictions() end diff --git a/api/HasNewMail.lua b/api/HasNewMail.lua index 3fd9a55..7407f6e 100644 --- a/api/HasNewMail.lua +++ b/api/HasNewMail.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasMail ---Returns whether the player has received new mail since last visiting a mailbox diff --git a/api/HasOverrideActionBar.lua b/api/HasOverrideActionBar.lua index 3c11417..8a6fa44 100644 --- a/api/HasOverrideActionBar.lua +++ b/api/HasOverrideActionBar.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function HasOverrideActionBar() end diff --git a/api/HasPetSpells.lua b/api/HasPetSpells.lua index 890c20c..660bd28 100644 --- a/api/HasPetSpells.lua +++ b/api/HasPetSpells.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasPetSpells ---@return PET petType diff --git a/api/HasPetUI.lua b/api/HasPetUI.lua index 2c6d8be..f2d8036 100644 --- a/api/HasPetUI.lua +++ b/api/HasPetUI.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasPetUI ---@return 1nil isHunterPet diff --git a/api/HasSPEffectsAttackPower.lua b/api/HasSPEffectsAttackPower.lua index f1840df..004b61d 100644 --- a/api/HasSPEffectsAttackPower.lua +++ b/api/HasSPEffectsAttackPower.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function HasSPEffectsAttackPower() end diff --git a/api/HasSoulstone.lua b/api/HasSoulstone.lua index efe81c1..e00f507 100644 --- a/api/HasSoulstone.lua +++ b/api/HasSoulstone.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string text ---Returns whether the player can instantly resurrect in place. Only returns valid information while the player is dead and has not yet released his or her spirit to the graveyard. diff --git a/api/HasTempShapeshiftActionBar.lua b/api/HasTempShapeshiftActionBar.lua index e42d849..88ed296 100644 --- a/api/HasTempShapeshiftActionBar.lua +++ b/api/HasTempShapeshiftActionBar.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function HasTempShapeshiftActionBar() end diff --git a/api/HasVehicleActionBar.lua b/api/HasVehicleActionBar.lua index f9211e0..8aac577 100644 --- a/api/HasVehicleActionBar.lua +++ b/api/HasVehicleActionBar.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function HasVehicleActionBar() end diff --git a/api/HasWandEquipped.lua b/api/HasWandEquipped.lua index b016202..3fff20d 100644 --- a/api/HasWandEquipped.lua +++ b/api/HasWandEquipped.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isEquipped ---Returns whether the player has a wand equipped diff --git a/api/HaveQuestData.lua b/api/HaveQuestData.lua index 781cf86..b885e8e 100644 --- a/api/HaveQuestData.lua +++ b/api/HaveQuestData.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function HaveQuestData() end diff --git a/api/HearthAndResurrectFromArea.lua b/api/HearthAndResurrectFromArea.lua index 80cacc4..e05eb12 100644 --- a/api/HearthAndResurrectFromArea.lua +++ b/api/HearthAndResurrectFromArea.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Instantly exits the current world PvP zone, returning to the player's Hearthstone location. Resets the player's Hearthstone cooldown, and also returns the player to life if dead. Only usable if the player is in a world PvP combat zone (i.e. Wintergrasp). function HearthAndResurrectFromArea() end diff --git a/api/HideRepairCursor.lua b/api/HideRepairCursor.lua index affaf41..6eba950 100644 --- a/api/HideRepairCursor.lua +++ b/api/HideRepairCursor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns the cursor to normal mode after use of ShowRepairCursor() function HideRepairCursor() end diff --git a/api/InActiveBattlefield.lua b/api/InActiveBattlefield.lua index 81127ce..d243f3b 100644 --- a/api/InActiveBattlefield.lua +++ b/api/InActiveBattlefield.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function InActiveBattlefield() end diff --git a/api/InCinematic.lua b/api/InCinematic.lua index ea3ec97..ef13845 100644 --- a/api/InCinematic.lua +++ b/api/InCinematic.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil inCinematic ---Returns whether an in-game cinematic is playing. Applies to in-game-engine cinematics (such as when logging into a new character for the first time), not prerecorded movies. diff --git a/api/InCombatLockdown.lua b/api/InCombatLockdown.lua index 7840180..3fbcb84 100644 --- a/api/InCombatLockdown.lua +++ b/api/InCombatLockdown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil inLockdown ---Returns whether the user interface is protected due to combat. Non-Blizzard code is allowed to perform certain UI actions (such as changing secure template attributes or moving/showing/hiding secure frames) only if the player is not in combat; this function can be used to determine whether such actions are currently available. diff --git a/api/InGuildParty.lua b/api/InGuildParty.lua index 8b7388c..06f6460 100644 --- a/api/InGuildParty.lua +++ b/api/InGuildParty.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean inGroup ---@return number numGuildPresent diff --git a/api/InRepairMode.lua b/api/InRepairMode.lua index c176911..2e80137 100644 --- a/api/InRepairMode.lua +++ b/api/InRepairMode.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil inRepair ---Returns whether the item repair cursor mode is currently active. Repair mode is entered by calling ShowRepairCursor() and exited by calling HideRepairCursor(); while in repair mode, calling PickupContainerItem() or PickupInventoryItem() will attempt to repair the item (and deduct the cost of such from the player's savings) instead of putting it on the cursor. diff --git a/api/InboxItemCanDelete.lua b/api/InboxItemCanDelete.lua index 503f460..81eb76d 100644 --- a/api/InboxItemCanDelete.lua +++ b/api/InboxItemCanDelete.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param mailID number ---@return 1nil canDelete diff --git a/api/InitWorldMapPing.lua b/api/InitWorldMapPing.lua index 69c85ba..bb48375 100644 --- a/api/InitWorldMapPing.lua +++ b/api/InitWorldMapPing.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Initializes the frame used to display the character location "ping" on the World Map function InitWorldMapPing() end diff --git a/api/InitiateRolePoll.lua b/api/InitiateRolePoll.lua index b81fa9f..58603df 100644 --- a/api/InitiateRolePoll.lua +++ b/api/InitiateRolePoll.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean success ---Initiates a raid-wide role check. Every raid member is required to set his own role in a popup role window. diff --git a/api/InitiateTrade.lua b/api/InitiateTrade.lua index 8971e1a..9dc77e9 100644 --- a/api/InitiateTrade.lua +++ b/api/InitiateTrade.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/InteractUnit.lua b/api/InteractUnit.lua index beeff21..f322103 100644 --- a/api/InteractUnit.lua +++ b/api/InteractUnit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit unitid ---Interacts with (as with right-clicking on) a unit diff --git a/api/InterfaceOptionsFrame_OpenToCategory.lua b/api/InterfaceOptionsFrame_OpenToCategory.lua index 810d7b5..c8bb9e8 100644 --- a/api/InterfaceOptionsFrame_OpenToCategory.lua +++ b/api/InterfaceOptionsFrame_OpenToCategory.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param panelName string ---@param panel table diff --git a/api/InterfaceOptions_AddCategory.lua b/api/InterfaceOptions_AddCategory.lua index 3b9284a..26d2d68 100644 --- a/api/InterfaceOptions_AddCategory.lua +++ b/api/InterfaceOptions_AddCategory.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param panel table ---Registers a panel to be displayed in the Interface Options window. The following members and methods are used by the Interface Options frame to display and organize panels: panel.name - string (required) - The name of the AddOn or group of configuration options. This is the text that will display in the AddOn options list. panel.parent - string (optional) - Name of the parent of the AddOn or group of configuration options. This identifies "panel" as the child of another category. If the parent category doesn't exist, "panel" will be displayed as a regular category. panel.okay - function (optional) - This method will run when the player clicks "okay" in the Interface Options. panel.cancel - function (optional) - This method will run when the player clicks "cancel" in the Interface Options. Use this to revert their changes. panel.default - function (optional) - This method will run when the player clicks "defaults". Use this to revert their changes to your defaults. panel.refresh - function (optional) - This method will run when the Interface Options frame calls its OnShow function and after defaults have been applied via the panel.default method described above. Use this to refresh your panel's UI in case settings were changed without player interaction. diff --git a/api/InviteUnit.lua b/api/InviteUnit.lua index 035618c..0d3e28e 100644 --- a/api/InviteUnit.lua +++ b/api/InviteUnit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Invites a character to the player's party or raid diff --git a/api/IsAchievementEligible.lua b/api/IsAchievementEligible.lua index daa0702..142ce95 100644 --- a/api/IsAchievementEligible.lua +++ b/api/IsAchievementEligible.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsAchievementEligible() end diff --git a/api/IsActionInRange.lua b/api/IsActionInRange.lua index 0157076..405635c 100644 --- a/api/IsActionInRange.lua +++ b/api/IsActionInRange.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@param unit string diff --git a/api/IsActiveBattlefieldArena.lua b/api/IsActiveBattlefieldArena.lua index 5e9f483..272b357 100644 --- a/api/IsActiveBattlefieldArena.lua +++ b/api/IsActiveBattlefieldArena.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isArena ---@return 1nil isRegistered diff --git a/api/IsActiveQuestLegendary.lua b/api/IsActiveQuestLegendary.lua index d5a26fe..5f020e9 100644 --- a/api/IsActiveQuestLegendary.lua +++ b/api/IsActiveQuestLegendary.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsActiveQuestLegendary() end diff --git a/api/IsActiveQuestTrivial.lua b/api/IsActiveQuestTrivial.lua index ef3d3c2..0629115 100644 --- a/api/IsActiveQuestTrivial.lua +++ b/api/IsActiveQuestTrivial.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return 1nil trivial diff --git a/api/IsAddOnLoadOnDemand.lua b/api/IsAddOnLoadOnDemand.lua index c49a427..335ec6d 100644 --- a/api/IsAddOnLoadOnDemand.lua +++ b/api/IsAddOnLoadOnDemand.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param index number diff --git a/api/IsAddOnLoaded.lua b/api/IsAddOnLoaded.lua index 43a96d6..27dbbcd 100644 --- a/api/IsAddOnLoaded.lua +++ b/api/IsAddOnLoaded.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param index number diff --git a/api/IsAddonMessagePrefixRegistered.lua b/api/IsAddonMessagePrefixRegistered.lua index d4d1dd1..42378a2 100644 --- a/api/IsAddonMessagePrefixRegistered.lua +++ b/api/IsAddonMessagePrefixRegistered.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param prefix string ---@return boolean isRegistered diff --git a/api/IsAddonVersionCheckEnabled.lua b/api/IsAddonVersionCheckEnabled.lua index b74b9c7..5a38643 100644 --- a/api/IsAddonVersionCheckEnabled.lua +++ b/api/IsAddonVersionCheckEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsAddonVersionCheckEnabled() end diff --git a/api/IsAltKeyDown.lua b/api/IsAltKeyDown.lua index eab4dc8..f5ca2b6 100644 --- a/api/IsAltKeyDown.lua +++ b/api/IsAltKeyDown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return true/false isDown ---Returns whether an Alt key on the keyboard is held down. diff --git a/api/IsArenaSkirmish.lua b/api/IsArenaSkirmish.lua index 2c5eb1e..b85fbe4 100644 --- a/api/IsArenaSkirmish.lua +++ b/api/IsArenaSkirmish.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsArenaSkirmish() end diff --git a/api/IsArenaTeamCaptain.lua b/api/IsArenaTeamCaptain.lua index d43471f..ebc5b0c 100644 --- a/api/IsArenaTeamCaptain.lua +++ b/api/IsArenaTeamCaptain.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param team number ---@return 1nil isCaptain diff --git a/api/IsArtifactCompletionHistoryAvailable.lua b/api/IsArtifactCompletionHistoryAvailable.lua index f54ddb0..3bc7470 100644 --- a/api/IsArtifactCompletionHistoryAvailable.lua +++ b/api/IsArtifactCompletionHistoryAvailable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsArtifactCompletionHistoryAvailable() end diff --git a/api/IsAtStableMaster.lua b/api/IsAtStableMaster.lua index 04736fa..b6545e7 100644 --- a/api/IsAtStableMaster.lua +++ b/api/IsAtStableMaster.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isAtNPC ---Returns whether the player is interacting with a Stable Master NPC. The Pet Stable UI/API can be active without an NPC if the player is using the Call Stabled Pet ability. New stable slots can only be purchased while talking to an NPC -- the default UI uses this function to determine whether to show UI elements related to purchasing slots. diff --git a/api/IsAttackAction.lua b/api/IsAttackAction.lua index a3d012b..f6868ad 100644 --- a/api/IsAttackAction.lua +++ b/api/IsAttackAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return 1nil isAttack diff --git a/api/IsAttackSpell.lua b/api/IsAttackSpell.lua index c048722..6e5c0be 100644 --- a/api/IsAttackSpell.lua +++ b/api/IsAttackSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/IsAuctionSortReversed.lua b/api/IsAuctionSortReversed.lua index 20ed61e..b5eda1e 100644 --- a/api/IsAuctionSortReversed.lua +++ b/api/IsAuctionSortReversed.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param list owner ---@param bidder diff --git a/api/IsAutoRepeatAction.lua b/api/IsAutoRepeatAction.lua index 694cda2..4dfc5d6 100644 --- a/api/IsAutoRepeatAction.lua +++ b/api/IsAutoRepeatAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return 1nil isRepeating diff --git a/api/IsAutoRepeatSpell.lua b/api/IsAutoRepeatSpell.lua index 05f3736..c719e61 100644 --- a/api/IsAutoRepeatSpell.lua +++ b/api/IsAutoRepeatSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param spellName string ---@return 1nil isAutoRepeat diff --git a/api/IsAvailableQuestTrivial.lua b/api/IsAvailableQuestTrivial.lua index e9100ab..59695e3 100644 --- a/api/IsAvailableQuestTrivial.lua +++ b/api/IsAvailableQuestTrivial.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return 1nil trivial diff --git a/api/IsBNLogin.lua b/api/IsBNLogin.lua index ecc11b3..57e7be6 100644 --- a/api/IsBNLogin.lua +++ b/api/IsBNLogin.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsBNLogin() end diff --git a/api/IsBagSlotFlagEnabledOnOtherBags.lua b/api/IsBagSlotFlagEnabledOnOtherBags.lua index 750b33d..bd3bc68 100644 --- a/api/IsBagSlotFlagEnabledOnOtherBags.lua +++ b/api/IsBagSlotFlagEnabledOnOtherBags.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsBagSlotFlagEnabledOnOtherBags() end diff --git a/api/IsBagSlotFlagEnabledOnOtherBankBags.lua b/api/IsBagSlotFlagEnabledOnOtherBankBags.lua index 3c635c7..db70928 100644 --- a/api/IsBagSlotFlagEnabledOnOtherBankBags.lua +++ b/api/IsBagSlotFlagEnabledOnOtherBankBags.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsBagSlotFlagEnabledOnOtherBankBags() end diff --git a/api/IsBarberShopStyleValid.lua b/api/IsBarberShopStyleValid.lua index 0caf33b..465fd98 100644 --- a/api/IsBarberShopStyleValid.lua +++ b/api/IsBarberShopStyleValid.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsBarberShopStyleValid() end diff --git a/api/IsBattlePayItem.lua b/api/IsBattlePayItem.lua index 65595cb..4fd8d29 100644 --- a/api/IsBattlePayItem.lua +++ b/api/IsBattlePayItem.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsBattlePayItem() end diff --git a/api/IsBlizzCon.lua b/api/IsBlizzCon.lua index e4fcfc2..7315991 100644 --- a/api/IsBlizzCon.lua +++ b/api/IsBlizzCon.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsBlizzCon() end diff --git a/api/IsBreadcrumbQuest.lua b/api/IsBreadcrumbQuest.lua index aefa70f..6dd2a1a 100644 --- a/api/IsBreadcrumbQuest.lua +++ b/api/IsBreadcrumbQuest.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsBreadcrumbQuest() end diff --git a/api/IsCemeterySelectionAvailable.lua b/api/IsCemeterySelectionAvailable.lua index 8f80003..e43e849 100644 --- a/api/IsCemeterySelectionAvailable.lua +++ b/api/IsCemeterySelectionAvailable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsCemeterySelectionAvailable() end diff --git a/api/IsCharacterNewlyBoosted.lua b/api/IsCharacterNewlyBoosted.lua index 49182be..2079346 100644 --- a/api/IsCharacterNewlyBoosted.lua +++ b/api/IsCharacterNewlyBoosted.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsCharacterNewlyBoosted() end diff --git a/api/IsChatAFK.lua b/api/IsChatAFK.lua index e58c73a..3118679 100644 --- a/api/IsChatAFK.lua +++ b/api/IsChatAFK.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isAway ---Returns whether the player's status is Away diff --git a/api/IsChatDND.lua b/api/IsChatDND.lua index aa76ebf..09b2e0b 100644 --- a/api/IsChatDND.lua +++ b/api/IsChatDND.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isBusy ---Returns whether the player's status is Busy diff --git a/api/IsConsumableAction.lua b/api/IsConsumableAction.lua index fe22b82..6d1e3cf 100644 --- a/api/IsConsumableAction.lua +++ b/api/IsConsumableAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return 1nil isConsumable diff --git a/api/IsConsumableItem.lua b/api/IsConsumableItem.lua index ce759cb..a193856 100644 --- a/api/IsConsumableItem.lua +++ b/api/IsConsumableItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/IsConsumableSpell.lua b/api/IsConsumableSpell.lua index ae28fe3..222dacf 100644 --- a/api/IsConsumableSpell.lua +++ b/api/IsConsumableSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/IsContainerFiltered.lua b/api/IsContainerFiltered.lua index d71aeba..971f918 100644 --- a/api/IsContainerFiltered.lua +++ b/api/IsContainerFiltered.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsContainerFiltered() end diff --git a/api/IsControlKeyDown.lua b/api/IsControlKeyDown.lua index 6501105..9202c2e 100644 --- a/api/IsControlKeyDown.lua +++ b/api/IsControlKeyDown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isDown ---Returns whether a Control key on the keyboard is held down diff --git a/api/IsCurrentAction.lua b/api/IsCurrentAction.lua index 5a2736c..87e987d 100644 --- a/api/IsCurrentAction.lua +++ b/api/IsCurrentAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return 1nil isCurrent diff --git a/api/IsCurrentItem.lua b/api/IsCurrentItem.lua index 5acf754..052bc12 100644 --- a/api/IsCurrentItem.lua +++ b/api/IsCurrentItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/IsCurrentQuestFailed.lua b/api/IsCurrentQuestFailed.lua index 34ff320..625d8a8 100644 --- a/api/IsCurrentQuestFailed.lua +++ b/api/IsCurrentQuestFailed.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isFailed ---Returns whether the player has failed the selected quest in the quest log diff --git a/api/IsCurrentSpell.lua b/api/IsCurrentSpell.lua index c93fbc5..5b095ac 100644 --- a/api/IsCurrentSpell.lua +++ b/api/IsCurrentSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/IsDebugBuild.lua b/api/IsDebugBuild.lua index a791d37..7a9913d 100644 --- a/api/IsDebugBuild.lua +++ b/api/IsDebugBuild.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsDebugBuild() end diff --git a/api/IsDesaturateSupported.lua b/api/IsDesaturateSupported.lua index 3aa9bf1..1fa9d85 100644 --- a/api/IsDesaturateSupported.lua +++ b/api/IsDesaturateSupported.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isSupported ---Returns whether the current hardware supports desaturated textures diff --git a/api/IsDisplayChannelModerator.lua b/api/IsDisplayChannelModerator.lua index bb57682..6e8f8f8 100644 --- a/api/IsDisplayChannelModerator.lua +++ b/api/IsDisplayChannelModerator.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isModerator ---Returns whether the player is a moderator of the selected channel in the channel list display diff --git a/api/IsDisplayChannelOwner.lua b/api/IsDisplayChannelOwner.lua index 75cf54b..91ed422 100644 --- a/api/IsDisplayChannelOwner.lua +++ b/api/IsDisplayChannelOwner.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isOwner ---Returns whether the player is the owner of the selected channel in the channel list display diff --git a/api/IsDressableItem.lua b/api/IsDressableItem.lua index 7e322e9..60547f3 100644 --- a/api/IsDressableItem.lua +++ b/api/IsDressableItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/IsEncounterInProgress.lua b/api/IsEncounterInProgress.lua index f430005..9c23f20 100644 --- a/api/IsEncounterInProgress.lua +++ b/api/IsEncounterInProgress.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsEncounterInProgress() end diff --git a/api/IsEquippableItem.lua b/api/IsEquippableItem.lua index 8ce4ade..e765dbf 100644 --- a/api/IsEquippableItem.lua +++ b/api/IsEquippableItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/IsEquippedAction.lua b/api/IsEquippedAction.lua index 7cbb514..3c98927 100644 --- a/api/IsEquippedAction.lua +++ b/api/IsEquippedAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return 1nil isEquipped diff --git a/api/IsEquippedItem.lua b/api/IsEquippedItem.lua index d07ff88..cceb044 100644 --- a/api/IsEquippedItem.lua +++ b/api/IsEquippedItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/IsEquippedItemType.lua b/api/IsEquippedItemType.lua index fcf51e2..d3b6f41 100644 --- a/api/IsEquippedItemType.lua +++ b/api/IsEquippedItemType.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param type string ---@return 1nil isEquipped diff --git a/api/IsEuropeanNumbers.lua b/api/IsEuropeanNumbers.lua index 1a67cac..75f7e5b 100644 --- a/api/IsEuropeanNumbers.lua +++ b/api/IsEuropeanNumbers.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsEuropeanNumbers() end diff --git a/api/IsEveryoneAssistant.lua b/api/IsEveryoneAssistant.lua index ba07ced..4cca0cf 100644 --- a/api/IsEveryoneAssistant.lua +++ b/api/IsEveryoneAssistant.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsEveryoneAssistant() end diff --git a/api/IsExpansionTrial.lua b/api/IsExpansionTrial.lua index b1d0041..63e2988 100644 --- a/api/IsExpansionTrial.lua +++ b/api/IsExpansionTrial.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsExpansionTrial() end diff --git a/api/IsFactionInactive.lua b/api/IsFactionInactive.lua index 165b0ec..5eaff83 100644 --- a/api/IsFactionInactive.lua +++ b/api/IsFactionInactive.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return 1nil isInactive diff --git a/api/IsFalling.lua b/api/IsFalling.lua index 67df97d..9e3ce38 100644 --- a/api/IsFalling.lua +++ b/api/IsFalling.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil falling ---Returns whether the player is currently falling diff --git a/api/IsFishingLoot.lua b/api/IsFishingLoot.lua index ffa4442..7e36f74 100644 --- a/api/IsFishingLoot.lua +++ b/api/IsFishingLoot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isFishing ---Returns whether the currently displayed loot came from fishing. Used in the default UI to play a fishing sound effect and change the appearance of the loot window. diff --git a/api/IsFlyableArea.lua b/api/IsFlyableArea.lua index a8506cf..911f2c1 100644 --- a/api/IsFlyableArea.lua +++ b/api/IsFlyableArea.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isFlyable ---Returns whether flight is allowed on the continent where the player is currently located. Returns 1 for some areas in which flight is disabled -- notably Dalaran (with the exception of the Krasus' Landing subzone) and Wintergrasp. diff --git a/api/IsFlying.lua b/api/IsFlying.lua index f06dac5..16acd2b 100644 --- a/api/IsFlying.lua +++ b/api/IsFlying.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isFlying ---Returns whether the player is currently flying diff --git a/api/IsGMClient.lua b/api/IsGMClient.lua index 920a25d..69b4144 100644 --- a/api/IsGMClient.lua +++ b/api/IsGMClient.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsGMClient() end diff --git a/api/IsGlyphFlagSet.lua b/api/IsGlyphFlagSet.lua index 94aff6c..c033f7a 100644 --- a/api/IsGlyphFlagSet.lua +++ b/api/IsGlyphFlagSet.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsGlyphFlagSet() end diff --git a/api/IsGuildLeader.lua b/api/IsGuildLeader.lua index 54ec5cc..6af217b 100644 --- a/api/IsGuildLeader.lua +++ b/api/IsGuildLeader.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isLeader ---Returns whether or player is leader of his or her guild diff --git a/api/IsGuildRankAssignmentAllowed.lua b/api/IsGuildRankAssignmentAllowed.lua index 2278391..b27f214 100644 --- a/api/IsGuildRankAssignmentAllowed.lua +++ b/api/IsGuildRankAssignmentAllowed.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsGuildRankAssignmentAllowed() end diff --git a/api/IsHarmfulItem.lua b/api/IsHarmfulItem.lua index 5f356c2..a7ff302 100644 --- a/api/IsHarmfulItem.lua +++ b/api/IsHarmfulItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/IsHarmfulSpell.lua b/api/IsHarmfulSpell.lua index 0a861be..26408a2 100644 --- a/api/IsHarmfulSpell.lua +++ b/api/IsHarmfulSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/IsHelpfulItem.lua b/api/IsHelpfulItem.lua index 5df33b0..2f29d14 100644 --- a/api/IsHelpfulItem.lua +++ b/api/IsHelpfulItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/IsHelpfulSpell.lua b/api/IsHelpfulSpell.lua index cdef2ac..750e890 100644 --- a/api/IsHelpfulSpell.lua +++ b/api/IsHelpfulSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/IsIgnored.lua b/api/IsIgnored.lua index e8b9a3f..ca5c2f5 100644 --- a/api/IsIgnored.lua +++ b/api/IsIgnored.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/IsIgnoredOrMuted.lua b/api/IsIgnoredOrMuted.lua index 024e34e..561f8df 100644 --- a/api/IsIgnoredOrMuted.lua +++ b/api/IsIgnoredOrMuted.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isIgnoredOrMuted diff --git a/api/IsInActiveWorldPVP.lua b/api/IsInActiveWorldPVP.lua index 90c2851..9e2810b 100644 --- a/api/IsInActiveWorldPVP.lua +++ b/api/IsInActiveWorldPVP.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsInActiveWorldPVP() end diff --git a/api/IsInArenaTeam.lua b/api/IsInArenaTeam.lua index 250793f..94c5ec5 100644 --- a/api/IsInArenaTeam.lua +++ b/api/IsInArenaTeam.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isInTeam ---Returns whether the player is on an arena team diff --git a/api/IsInGroup.lua b/api/IsInGroup.lua index 5540f09..8b69f1b 100644 --- a/api/IsInGroup.lua +++ b/api/IsInGroup.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param groupType LE_PARTY_CATEGORY_INSTANCE ---@param LE_PARTY_CATEGORY_HOME diff --git a/api/IsInGuild.lua b/api/IsInGuild.lua index 147b99d..bcb9816 100644 --- a/api/IsInGuild.lua +++ b/api/IsInGuild.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil inGuild ---Returns whether the player is in a guild diff --git a/api/IsInInstance.lua b/api/IsInInstance.lua index 677350d..8b2d4b2 100644 --- a/api/IsInInstance.lua +++ b/api/IsInInstance.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isInstance ---@return raid instanceType diff --git a/api/IsInLFGDungeon.lua b/api/IsInLFGDungeon.lua index 2727e7c..8082942 100644 --- a/api/IsInLFGDungeon.lua +++ b/api/IsInLFGDungeon.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsInLFGDungeon() end diff --git a/api/IsInRaid.lua b/api/IsInRaid.lua index ab3ae43..d071a15 100644 --- a/api/IsInRaid.lua +++ b/api/IsInRaid.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean inRaid ---Returns whether the player is currently in a raid group diff --git a/api/IsInScenarioGroup.lua b/api/IsInScenarioGroup.lua index 6832020..9187891 100644 --- a/api/IsInScenarioGroup.lua +++ b/api/IsInScenarioGroup.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsInScenarioGroup() end diff --git a/api/IsIndoors.lua b/api/IsIndoors.lua index 8ecbba7..a51db19 100644 --- a/api/IsIndoors.lua +++ b/api/IsIndoors.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil inside ---Returns whether the player is currently indoors diff --git a/api/IsInventoryItemLocked.lua b/api/IsInventoryItemLocked.lua index ca85ac9..f304546 100644 --- a/api/IsInventoryItemLocked.lua +++ b/api/IsInventoryItemLocked.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return 1nil isLocked diff --git a/api/IsInventoryItemProfessionBag.lua b/api/IsInventoryItemProfessionBag.lua index 45200b5..54f686c 100644 --- a/api/IsInventoryItemProfessionBag.lua +++ b/api/IsInventoryItemProfessionBag.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsInventoryItemProfessionBag() end diff --git a/api/IsItemAction.lua b/api/IsItemAction.lua index 909d43d..18a3c7b 100644 --- a/api/IsItemAction.lua +++ b/api/IsItemAction.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsItemAction() end diff --git a/api/IsItemInRange.lua b/api/IsItemInRange.lua index 67de747..f3069f1 100644 --- a/api/IsItemInRange.lua +++ b/api/IsItemInRange.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/IsLFGComplete.lua b/api/IsLFGComplete.lua index 1bfe63f..3b1dc4c 100644 --- a/api/IsLFGComplete.lua +++ b/api/IsLFGComplete.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsLFGComplete() end diff --git a/api/IsLFGDungeonJoinable.lua b/api/IsLFGDungeonJoinable.lua index 4aaf7fa..a1ef55a 100644 --- a/api/IsLFGDungeonJoinable.lua +++ b/api/IsLFGDungeonJoinable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsLFGDungeonJoinable() end diff --git a/api/IsLeftAltKeyDown.lua b/api/IsLeftAltKeyDown.lua index 8276ecf..904e57b 100644 --- a/api/IsLeftAltKeyDown.lua +++ b/api/IsLeftAltKeyDown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isDown ---Returns whether the left Alt key is currently held down. (Note: The Mac WoW client does not distingish between left and right modifier keys, so both Alt keys are reported as Left Alt.) diff --git a/api/IsLeftControlKeyDown.lua b/api/IsLeftControlKeyDown.lua index c493446..b8d9d2a 100644 --- a/api/IsLeftControlKeyDown.lua +++ b/api/IsLeftControlKeyDown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isDown ---Returns whether the left Control key is held down. (Note: The Mac WoW client does not distingish between left and right modifier keys, so both Control keys are reported as Left Control.) diff --git a/api/IsLeftShiftKeyDown.lua b/api/IsLeftShiftKeyDown.lua index c5b19c6..f3c6428 100644 --- a/api/IsLeftShiftKeyDown.lua +++ b/api/IsLeftShiftKeyDown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isDown ---Returns whether the left Shift key on the keyboard is held down. (Note: The Mac WoW client does not distingish between left and right modifier keys, so both Shift keys are reported as Left Shift.) diff --git a/api/IsLegacyDifficulty.lua b/api/IsLegacyDifficulty.lua index f560d66..0787ee0 100644 --- a/api/IsLegacyDifficulty.lua +++ b/api/IsLegacyDifficulty.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsLegacyDifficulty() end diff --git a/api/IsLinuxClient.lua b/api/IsLinuxClient.lua index 9eff9c9..a91b887 100644 --- a/api/IsLinuxClient.lua +++ b/api/IsLinuxClient.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return nil isLinux ---Returns whether the player is using the native Linux game client. This function does NOT return true if the player is running a Windows client under Wine or other virtualization software. No native Linux client has been made public at this time. diff --git a/api/IsLoggedIn.lua b/api/IsLoggedIn.lua index 8b3dabe..d06f3ac 100644 --- a/api/IsLoggedIn.lua +++ b/api/IsLoggedIn.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil loggedIn ---Returns whether the login process has completed. The PLAYER_LOGIN event provides similar information; this function presents an alternative that can be used across UI reloads. diff --git a/api/IsMacClient.lua b/api/IsMacClient.lua index 5a9f657..f33134a 100644 --- a/api/IsMacClient.lua +++ b/api/IsMacClient.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isMac ---Returns whether the player is using the Mac OS X game client diff --git a/api/IsMapGarrisonMap.lua b/api/IsMapGarrisonMap.lua index e18e20a..49a932f 100644 --- a/api/IsMapGarrisonMap.lua +++ b/api/IsMapGarrisonMap.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsMapGarrisonMap() end diff --git a/api/IsMasterLooter.lua b/api/IsMasterLooter.lua index 60a385f..c20217e 100644 --- a/api/IsMasterLooter.lua +++ b/api/IsMasterLooter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsMasterLooter() end diff --git a/api/IsModifiedClick.lua b/api/IsModifiedClick.lua index c32b0dc..a88c022 100644 --- a/api/IsModifiedClick.lua +++ b/api/IsModifiedClick.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param type string ---@return 1nil modifiedClick diff --git a/api/IsModifierKeyDown.lua b/api/IsModifierKeyDown.lua index 571a95e..19f63bb 100644 --- a/api/IsModifierKeyDown.lua +++ b/api/IsModifierKeyDown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isDown ---Returns whether a modifier key is held down. Modifier keys include shift, control or alt on either side of the keyboard. WoW does not recognize platform-specific modifier keys (such as fn, meta, Windows, or Command). diff --git a/api/IsMounted.lua b/api/IsMounted.lua index e2b8e64..635aede 100644 --- a/api/IsMounted.lua +++ b/api/IsMounted.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil mounted ---Returns whether the player is mounted diff --git a/api/IsMouseButtonDown.lua b/api/IsMouseButtonDown.lua index f63f2ec..3b05bcd 100644 --- a/api/IsMouseButtonDown.lua +++ b/api/IsMouseButtonDown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param button 5 or Button5 ---@param 1 or LeftButton diff --git a/api/IsMouselooking.lua b/api/IsMouselooking.lua index 38873b8..24d545e 100644 --- a/api/IsMouselooking.lua +++ b/api/IsMouselooking.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isLooking ---Returns whether mouselook mode is active diff --git a/api/IsMovieLocal.lua b/api/IsMovieLocal.lua index b024cdd..a7f93e8 100644 --- a/api/IsMovieLocal.lua +++ b/api/IsMovieLocal.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsMovieLocal() end diff --git a/api/IsMoviePlayable.lua b/api/IsMoviePlayable.lua index d9559dc..40f5550 100644 --- a/api/IsMoviePlayable.lua +++ b/api/IsMoviePlayable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsMoviePlayable() end diff --git a/api/IsMuted.lua b/api/IsMuted.lua index 94d3477..46c25cd 100644 --- a/api/IsMuted.lua +++ b/api/IsMuted.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/IsOnGlueScreen.lua b/api/IsOnGlueScreen.lua index 31b8333..7354fde 100644 --- a/api/IsOnGlueScreen.lua +++ b/api/IsOnGlueScreen.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsOnGlueScreen() end diff --git a/api/IsOnTournamentRealm.lua b/api/IsOnTournamentRealm.lua index 8096817..8704e71 100644 --- a/api/IsOnTournamentRealm.lua +++ b/api/IsOnTournamentRealm.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns whether the player is on an Arena Tournament realm function IsOnTournamentRealm() end diff --git a/api/IsOutOfBounds.lua b/api/IsOutOfBounds.lua index 1156784..39f1283 100644 --- a/api/IsOutOfBounds.lua +++ b/api/IsOutOfBounds.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil outOfBounds ---Returns whether the player is currently outside the bounds of the world. Used in the default UI (in conjunction with IsFalling()) to allow the player to release to a graveyard if the character has encountered a bug and fallen underneath the world geometry. diff --git a/api/IsOutdoors.lua b/api/IsOutdoors.lua index b51c224..499a2f5 100644 --- a/api/IsOutdoors.lua +++ b/api/IsOutdoors.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isOutdoors ---Returns whether the player is currently outdoors. "Outdoors" as defined by this function corresponds to the ability to use a mount in that specific location, not necessarily whether there is a roof above the player character's head. For example, returns 1 in Ironforge, Undercity, and the Caverns of Time, but nil in the nominally outdoor areas of instances such as Stratholme, Drak'tharon Keep, and Hellfire Ramparts. (Note that even in "outdoor" areas, standing on top of certain objects may interfere with the player's ability to mount up.) diff --git a/api/IsPVPTimerRunning.lua b/api/IsPVPTimerRunning.lua index 2713dfe..dd0e8c7 100644 --- a/api/IsPVPTimerRunning.lua +++ b/api/IsPVPTimerRunning.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isRunning ---Returns whether the player's PvP flag will expire after a period of time. If in a zone that flags the player for PvP, or if the player has manually enabled PvP, the flag will not expire. Once not in such a zone, or once the player has manually disabled PvP, or if the player has been flagged by attacking an enemy unit, the timer starts running and the player's PvP flag will expire after some time. diff --git a/api/IsPartyLFG.lua b/api/IsPartyLFG.lua index 16898e6..f4b65b9 100644 --- a/api/IsPartyLFG.lua +++ b/api/IsPartyLFG.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsPartyLFG() end diff --git a/api/IsPassiveSpell.lua b/api/IsPassiveSpell.lua index fb73ba8..b01e33f 100644 --- a/api/IsPassiveSpell.lua +++ b/api/IsPassiveSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/IsPetActive.lua b/api/IsPetActive.lua index 78a7081..7411d82 100644 --- a/api/IsPetActive.lua +++ b/api/IsPetActive.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsPetActive() end diff --git a/api/IsPetAttackAction.lua b/api/IsPetAttackAction.lua index ae51060..2ad5ff7 100644 --- a/api/IsPetAttackAction.lua +++ b/api/IsPetAttackAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return boolean isAttack diff --git a/api/IsPetAttackActive.lua b/api/IsPetAttackActive.lua index 02039ae..ce2f5d1 100644 --- a/api/IsPetAttackActive.lua +++ b/api/IsPetAttackActive.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isActive ---Returns whether the pet's attack action is currently active diff --git a/api/IsPlayerInMicroDungeon.lua b/api/IsPlayerInMicroDungeon.lua index f23ee1a..fccb497 100644 --- a/api/IsPlayerInMicroDungeon.lua +++ b/api/IsPlayerInMicroDungeon.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsPlayerInMicroDungeon() end diff --git a/api/IsPlayerInWorld.lua b/api/IsPlayerInWorld.lua index e784de5..eaf3885 100644 --- a/api/IsPlayerInWorld.lua +++ b/api/IsPlayerInWorld.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsPlayerInWorld() end diff --git a/api/IsPlayerMoving.lua b/api/IsPlayerMoving.lua index 5cecdc2..e1a83a4 100644 --- a/api/IsPlayerMoving.lua +++ b/api/IsPlayerMoving.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsPlayerMoving() end diff --git a/api/IsPlayerNeutral.lua b/api/IsPlayerNeutral.lua index ac953bd..07776ea 100644 --- a/api/IsPlayerNeutral.lua +++ b/api/IsPlayerNeutral.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsPlayerNeutral() end diff --git a/api/IsPlayerSpell.lua b/api/IsPlayerSpell.lua index eb7d3ff..47d7471 100644 --- a/api/IsPlayerSpell.lua +++ b/api/IsPlayerSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param spellID number ---@return boolean isPlayerSpell diff --git a/api/IsPossessBarVisible.lua b/api/IsPossessBarVisible.lua index 2805698..e5f35a4 100644 --- a/api/IsPossessBarVisible.lua +++ b/api/IsPossessBarVisible.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isVisible ---Returns whether a special action bar should be shown while the player possesses another unit. Used in the default UI to switch between using the ShapeshiftBarFrame or PossessBarFrame to show actions belonging to the possessed unit. diff --git a/api/IsQuestCompletable.lua b/api/IsQuestCompletable.lua index c657734..f90c45c 100644 --- a/api/IsQuestCompletable.lua +++ b/api/IsQuestCompletable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isCompletable ---Returns whether the player can complete the quest presented by a questgiver diff --git a/api/IsQuestComplete.lua b/api/IsQuestComplete.lua index 74a7ef9..d391298 100644 --- a/api/IsQuestComplete.lua +++ b/api/IsQuestComplete.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsQuestComplete() end diff --git a/api/IsQuestFlaggedCompleted.lua b/api/IsQuestFlaggedCompleted.lua index 2f870a4..84a3975 100644 --- a/api/IsQuestFlaggedCompleted.lua +++ b/api/IsQuestFlaggedCompleted.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questID number ---@return 1nil isCompleted diff --git a/api/IsQuestHardWatched.lua b/api/IsQuestHardWatched.lua index 79fd684..1985d44 100644 --- a/api/IsQuestHardWatched.lua +++ b/api/IsQuestHardWatched.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsQuestHardWatched() end diff --git a/api/IsQuestLogSpecialItemInRange.lua b/api/IsQuestLogSpecialItemInRange.lua index b6a1c12..af06ef9 100644 --- a/api/IsQuestLogSpecialItemInRange.lua +++ b/api/IsQuestLogSpecialItemInRange.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questIndex number ---@return number inRange diff --git a/api/IsQuestSequenced.lua b/api/IsQuestSequenced.lua index 7778c0c..b59ffe7 100644 --- a/api/IsQuestSequenced.lua +++ b/api/IsQuestSequenced.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsQuestSequenced() end diff --git a/api/IsQuestTask.lua b/api/IsQuestTask.lua index d0af29d..35eef85 100644 --- a/api/IsQuestTask.lua +++ b/api/IsQuestTask.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsQuestTask() end diff --git a/api/IsQuestWatched.lua b/api/IsQuestWatched.lua index 48f0729..591f28e 100644 --- a/api/IsQuestWatched.lua +++ b/api/IsQuestWatched.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questIndex number ---@return 1nil isWatched diff --git a/api/IsRaidMarkerActive.lua b/api/IsRaidMarkerActive.lua index 32afcb0..2993474 100644 --- a/api/IsRaidMarkerActive.lua +++ b/api/IsRaidMarkerActive.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsRaidMarkerActive() end diff --git a/api/IsRatedBattleground.lua b/api/IsRatedBattleground.lua index 5c1d25d..0de1298 100644 --- a/api/IsRatedBattleground.lua +++ b/api/IsRatedBattleground.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isRated ---Returns whether or not the player is in a rated battleground diff --git a/api/IsRatedMap.lua b/api/IsRatedMap.lua index aa60158..3fea65b 100644 --- a/api/IsRatedMap.lua +++ b/api/IsRatedMap.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsRatedMap() end diff --git a/api/IsReagentBankUnlocked.lua b/api/IsReagentBankUnlocked.lua index 26bd9a8..24ecb4b 100644 --- a/api/IsReagentBankUnlocked.lua +++ b/api/IsReagentBankUnlocked.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isBankUnlocked ---Returns true if Ragent Bank has been purchased diff --git a/api/IsReferAFriendLinked.lua b/api/IsReferAFriendLinked.lua index 6e5e145..094d8d3 100644 --- a/api/IsReferAFriendLinked.lua +++ b/api/IsReferAFriendLinked.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isLinked diff --git a/api/IsResting.lua b/api/IsResting.lua index 1af64a8..42e4eda 100644 --- a/api/IsResting.lua +++ b/api/IsResting.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean resting ---Returns whether the player is currently resting. Rest state is provided in Inns and major cities and allows the player to log out immediately (instead of after a brief delay) and accrue bonus XP to be awarded for kills. diff --git a/api/IsRestrictedAccount.lua b/api/IsRestrictedAccount.lua index 8b6c505..2065cca 100644 --- a/api/IsRestrictedAccount.lua +++ b/api/IsRestrictedAccount.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsRestrictedAccount() end diff --git a/api/IsRightAltKeyDown.lua b/api/IsRightAltKeyDown.lua index db2a127..c512f45 100644 --- a/api/IsRightAltKeyDown.lua +++ b/api/IsRightAltKeyDown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isDown ---Returns whether the right Alt key is currently held down. (Note: The Mac WoW client does not distingish between left and right modifier keys, so both Alt keys are reported as Left Alt.) diff --git a/api/IsRightControlKeyDown.lua b/api/IsRightControlKeyDown.lua index 42dac42..debe9ef 100644 --- a/api/IsRightControlKeyDown.lua +++ b/api/IsRightControlKeyDown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isDown ---Returns whether the right Control key on the keyboard is held down. (Note: The Mac WoW client does not distingish between left and right modifier keys, so both Control keys are reported as Left Control.) diff --git a/api/IsRightShiftKeyDown.lua b/api/IsRightShiftKeyDown.lua index 858a77b..98a238e 100644 --- a/api/IsRightShiftKeyDown.lua +++ b/api/IsRightShiftKeyDown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isDown ---Returns whether the right shift key on the keyboard is held down. (Note: The Mac WoW client does not distingish between left and right modifier keys, so both Shift keys are reported as Left Shift.) diff --git a/api/IsSelectedSpellBookItem.lua b/api/IsSelectedSpellBookItem.lua index 86c2023..ca74045 100644 --- a/api/IsSelectedSpellBookItem.lua +++ b/api/IsSelectedSpellBookItem.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsSelectedSpellBookItem() end diff --git a/api/IsShiftKeyDown.lua b/api/IsShiftKeyDown.lua index c9c54f6..63f2bf9 100644 --- a/api/IsShiftKeyDown.lua +++ b/api/IsShiftKeyDown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isDown ---Returns whether a Shift key on the keyboard is held down diff --git a/api/IsSilenced.lua b/api/IsSilenced.lua index ce7907d..fec46d7 100644 --- a/api/IsSilenced.lua +++ b/api/IsSilenced.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param channel string diff --git a/api/IsSpellClassOrSpec.lua b/api/IsSpellClassOrSpec.lua index 143ccaf..d479032 100644 --- a/api/IsSpellClassOrSpec.lua +++ b/api/IsSpellClassOrSpec.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsSpellClassOrSpec() end diff --git a/api/IsSpellInRange.lua b/api/IsSpellInRange.lua index 4130a55..66e4c35 100644 --- a/api/IsSpellInRange.lua +++ b/api/IsSpellInRange.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/IsSpellKnown.lua b/api/IsSpellKnown.lua index 6a2f35a..66be41f 100644 --- a/api/IsSpellKnown.lua +++ b/api/IsSpellKnown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param spellID number ---@param isPet boolean diff --git a/api/IsSpellOverlayed.lua b/api/IsSpellOverlayed.lua index ed16f49..ad68bd9 100644 --- a/api/IsSpellOverlayed.lua +++ b/api/IsSpellOverlayed.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param spellID integer ---@return boolean state diff --git a/api/IsStackableAction.lua b/api/IsStackableAction.lua index 586170f..157a453 100644 --- a/api/IsStackableAction.lua +++ b/api/IsStackableAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return 1nil isStackable diff --git a/api/IsStealthed.lua b/api/IsStealthed.lua index d131079..acbebce 100644 --- a/api/IsStealthed.lua +++ b/api/IsStealthed.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil stealthed ---Returns whether the player is currently stealthed diff --git a/api/IsStereoVideoAvailable.lua b/api/IsStereoVideoAvailable.lua index cdeef69..590b5dd 100644 --- a/api/IsStereoVideoAvailable.lua +++ b/api/IsStereoVideoAvailable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isAvailable ---Returns whether the current system supports stereoscopic 3D display diff --git a/api/IsStoryQuest.lua b/api/IsStoryQuest.lua index eea7062..f8d4b25 100644 --- a/api/IsStoryQuest.lua +++ b/api/IsStoryQuest.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsStoryQuest() end diff --git a/api/IsSubZonePVPPOI.lua b/api/IsSubZonePVPPOI.lua index 969efd4..2e27efe 100644 --- a/api/IsSubZonePVPPOI.lua +++ b/api/IsSubZonePVPPOI.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isPVPPOI ---Returns whether the current area has PvP (or other) objectives to be displayed. Used in the default UI when the "Display World PVP Objectives\ setting is set to \Dynamic\, in which case objective information is only shown when the player is near an objective. Examples include the towers in Eastern Plaguelands and Hellfire Peninsula as well as non-PvP objectives such as in the Old Hillsbrad instance, the Death Knight starter quests, and the Battle for Undercity quest event. diff --git a/api/IsSwimming.lua b/api/IsSwimming.lua index 0979064..baee75c 100644 --- a/api/IsSwimming.lua +++ b/api/IsSwimming.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isSwimming ---Returns whether the player is currently swimming. "Swimming" as defined by this function corresponds to the ability to use swimming abilities (such as druid Aquatic Form) or inability to use land-restricted abilities (such as eating or summoning a flying mount), not necessarily to whether the player is in water. diff --git a/api/IsTalentSpell.lua b/api/IsTalentSpell.lua index d26dc8a..69b687f 100644 --- a/api/IsTalentSpell.lua +++ b/api/IsTalentSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/IsTestBuild.lua b/api/IsTestBuild.lua index f7d5734..ecd3be7 100644 --- a/api/IsTestBuild.lua +++ b/api/IsTestBuild.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsTestBuild() end diff --git a/api/IsThreatWarningEnabled.lua b/api/IsThreatWarningEnabled.lua index 7d2eba1..4db19f4 100644 --- a/api/IsThreatWarningEnabled.lua +++ b/api/IsThreatWarningEnabled.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil enabled ---Returns whether the default Aggro Warning UI should currently be shown. This function (and the threatWarning CVar that affects its behavior) has no effect on other threat APIs; it merely indicates whether Blizzard's threat warning UI should be displayed. diff --git a/api/IsTitleKnown.lua b/api/IsTitleKnown.lua index 1794080..8d526cf 100644 --- a/api/IsTitleKnown.lua +++ b/api/IsTitleKnown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param titleIndex integer ---@return number isKnown diff --git a/api/IsTrackedAchievement.lua b/api/IsTrackedAchievement.lua index a5b2e84..fb2ea67 100644 --- a/api/IsTrackedAchievement.lua +++ b/api/IsTrackedAchievement.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@return boolean isTracked diff --git a/api/IsTrackingBattlePets.lua b/api/IsTrackingBattlePets.lua index 8bdfd69..cf6e2a8 100644 --- a/api/IsTrackingBattlePets.lua +++ b/api/IsTrackingBattlePets.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsTrackingBattlePets() end diff --git a/api/IsTradeSkillGuild.lua b/api/IsTradeSkillGuild.lua index e24fd6c..70b215d 100644 --- a/api/IsTradeSkillGuild.lua +++ b/api/IsTradeSkillGuild.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsTradeSkillGuild() end diff --git a/api/IsTradeSkillLinked.lua b/api/IsTradeSkillLinked.lua index 40df5c0..3c2ceb0 100644 --- a/api/IsTradeSkillLinked.lua +++ b/api/IsTradeSkillLinked.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isLinked ---@return string name diff --git a/api/IsTradeSkillReady.lua b/api/IsTradeSkillReady.lua index bd7e71a..071e154 100644 --- a/api/IsTradeSkillReady.lua +++ b/api/IsTradeSkillReady.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsTradeSkillReady() end diff --git a/api/IsTradeSkillRepeating.lua b/api/IsTradeSkillRepeating.lua index 759da93..dda539f 100644 --- a/api/IsTradeSkillRepeating.lua +++ b/api/IsTradeSkillRepeating.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsTradeSkillRepeating() end diff --git a/api/IsTradeskillTrainer.lua b/api/IsTradeskillTrainer.lua index 66942d5..1abe2c3 100644 --- a/api/IsTradeskillTrainer.lua +++ b/api/IsTradeskillTrainer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isTradeskill ---Returns whether the player is interacting with a trade skill trainer (as opposed to a class trainer) diff --git a/api/IsTrialAccount.lua b/api/IsTrialAccount.lua index 0d08849..5450583 100644 --- a/api/IsTrialAccount.lua +++ b/api/IsTrialAccount.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsTrialAccount() end diff --git a/api/IsTutorialFlagged.lua b/api/IsTutorialFlagged.lua index a08e975..30fea3f 100644 --- a/api/IsTutorialFlagged.lua +++ b/api/IsTutorialFlagged.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsTutorialFlagged() end diff --git a/api/IsUnitOnQuest.lua b/api/IsUnitOnQuest.lua index 818fa46..58cfd16 100644 --- a/api/IsUnitOnQuest.lua +++ b/api/IsUnitOnQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param unit string diff --git a/api/IsUnitOnQuestByQuestID.lua b/api/IsUnitOnQuestByQuestID.lua index 7a416ec..eaad83d 100644 --- a/api/IsUnitOnQuestByQuestID.lua +++ b/api/IsUnitOnQuestByQuestID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsUnitOnQuestByQuestID() end diff --git a/api/IsUsableAction.lua b/api/IsUsableAction.lua index 14fce09..df7e513 100644 --- a/api/IsUsableAction.lua +++ b/api/IsUsableAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@return 1nil isUsable diff --git a/api/IsUsableItem.lua b/api/IsUsableItem.lua index ce9f463..3ee4b6b 100644 --- a/api/IsUsableItem.lua +++ b/api/IsUsableItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/IsUsableSpell.lua b/api/IsUsableSpell.lua index b62368c..9bd36b7 100644 --- a/api/IsUsableSpell.lua +++ b/api/IsUsableSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/IsUsingVehicleControls.lua b/api/IsUsingVehicleControls.lua index 05db822..c0dc1a5 100644 --- a/api/IsUsingVehicleControls.lua +++ b/api/IsUsingVehicleControls.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsUsingVehicleControls() end diff --git a/api/IsVehicleAimAngleAdjustable.lua b/api/IsVehicleAimAngleAdjustable.lua index 7cf106f..dc0db83 100644 --- a/api/IsVehicleAimAngleAdjustable.lua +++ b/api/IsVehicleAimAngleAdjustable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasAngleControl ---Returns whether the player is controlling a vehicle weapon with adjustable aim angle diff --git a/api/IsVehicleAimPowerAdjustable.lua b/api/IsVehicleAimPowerAdjustable.lua index 08c6dc0..471a788 100644 --- a/api/IsVehicleAimPowerAdjustable.lua +++ b/api/IsVehicleAimPowerAdjustable.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsVehicleAimPowerAdjustable() end diff --git a/api/IsVoiceChatAllowed.lua b/api/IsVoiceChatAllowed.lua index 5df77c2..02cf904 100644 --- a/api/IsVoiceChatAllowed.lua +++ b/api/IsVoiceChatAllowed.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isAllowed ---Returns whether the player is allowed to enable the voice chat feature diff --git a/api/IsVoiceChatAllowedByServer.lua b/api/IsVoiceChatAllowedByServer.lua index dcb733c..4801aad 100644 --- a/api/IsVoiceChatAllowedByServer.lua +++ b/api/IsVoiceChatAllowedByServer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns whether voice chat is supported by the realm server function IsVoiceChatAllowedByServer() end diff --git a/api/IsVoiceChatEnabled.lua b/api/IsVoiceChatEnabled.lua index d72fec6..6047592 100644 --- a/api/IsVoiceChatEnabled.lua +++ b/api/IsVoiceChatEnabled.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isEnabled ---Returns whether the voice chat system is enabled diff --git a/api/IsVoidStorageReady.lua b/api/IsVoidStorageReady.lua index ba13df4..a056131 100644 --- a/api/IsVoidStorageReady.lua +++ b/api/IsVoidStorageReady.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isReady ---Returns whether the void storage content can be accessed. This will return true after the first visit of the void storage in the current session. Reloading the ui will not reset this, only a complete log out of the char will. diff --git a/api/IsWargame.lua b/api/IsWargame.lua index 57be4d8..13cce1b 100644 --- a/api/IsWargame.lua +++ b/api/IsWargame.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function IsWargame() end diff --git a/api/IsWindowsClient.lua b/api/IsWindowsClient.lua index 7ccf4f3..ab22c17 100644 --- a/api/IsWindowsClient.lua +++ b/api/IsWindowsClient.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isWindows ---Returns whether the player is using the Windows game client diff --git a/api/IsXPUserDisabled.lua b/api/IsXPUserDisabled.lua index 8a804d0..90613f1 100644 --- a/api/IsXPUserDisabled.lua +++ b/api/IsXPUserDisabled.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isDisabled ---Returns whether experience gain has been disabled for the player diff --git a/api/ItemAddedToArtifact.lua b/api/ItemAddedToArtifact.lua index 857a179..e0d9c63 100644 --- a/api/ItemAddedToArtifact.lua +++ b/api/ItemAddedToArtifact.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ItemAddedToArtifact() end diff --git a/api/ItemHasRange.lua b/api/ItemHasRange.lua index 335c880..faeaccd 100644 --- a/api/ItemHasRange.lua +++ b/api/ItemHasRange.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/ItemTextGetCreator.lua b/api/ItemTextGetCreator.lua index 1eafb17..ed663cf 100644 --- a/api/ItemTextGetCreator.lua +++ b/api/ItemTextGetCreator.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string creator ---Returns the original author of the currently viewed text item. Used for mail messages sent by other players; when the player makes a permanent copy of a letter and reads it from inventory, the default UI uses this function to display a signature (e.g. "From, Leeroy") at the end of the message text. diff --git a/api/ItemTextGetItem.lua b/api/ItemTextGetItem.lua index 4064503..bd8efa9 100644 --- a/api/ItemTextGetItem.lua +++ b/api/ItemTextGetItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string text ---Returns the name of the currently viewed text item. Used for readable world objects (plaques, books on tables, etc) and readable inventory items (looted books/parchments/scrolls/etc, saved copies of mail messages). For saved mail messages the name returned is always "Plain Letter" (or localized equivalent); the message subject is lost when saving a copy. diff --git a/api/ItemTextGetMaterial.lua b/api/ItemTextGetMaterial.lua index 405d2c9..9dbb79b 100644 --- a/api/ItemTextGetMaterial.lua +++ b/api/ItemTextGetMaterial.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return Stone material ---@return Bronze diff --git a/api/ItemTextGetPage.lua b/api/ItemTextGetPage.lua index b87722b..4ce6b1c 100644 --- a/api/ItemTextGetPage.lua +++ b/api/ItemTextGetPage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number page ---Returns the current page number in the currently viewed text item diff --git a/api/ItemTextGetText.lua b/api/ItemTextGetText.lua index 63d17bc..75ef8ae 100644 --- a/api/ItemTextGetText.lua +++ b/api/ItemTextGetText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string text ---Returns the text of the currently viewed text item. Used for readable world objects (plaques, books on tables, etc) and readable inventory items (looted books/parchments/scrolls/etc, saved copies of mail messages). Returns valid data only between the ITEM_TEXT_BEGIN and ITEM_TEXT_CLOSED events, with the ITEM_TEXT_READY event indicating when new text is available (as when changing pages). diff --git a/api/ItemTextHasNextPage.lua b/api/ItemTextHasNextPage.lua index ff5b406..ba8d5cf 100644 --- a/api/ItemTextHasNextPage.lua +++ b/api/ItemTextHasNextPage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil next ---Returns whether the currently viewed text item has additional pages diff --git a/api/ItemTextNextPage.lua b/api/ItemTextNextPage.lua index fc6e181..3402df7 100644 --- a/api/ItemTextNextPage.lua +++ b/api/ItemTextNextPage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Moves to the next page in the currently viewed text item. The ITEM_TEXT_READY event fires when text for the next page becomes available. Does nothing if already viewing the last page of text. function ItemTextNextPage() end diff --git a/api/ItemTextPrevPage.lua b/api/ItemTextPrevPage.lua index 56efc1c..3b22224 100644 --- a/api/ItemTextPrevPage.lua +++ b/api/ItemTextPrevPage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Moves to the previous page in the currently viewed text item. The ITEM_TEXT_READY event fires when text for the previous page becomes available. Does nothing if already viewing the first page of text. function ItemTextPrevPage() end diff --git a/api/JoinArena.lua b/api/JoinArena.lua index 3760a04..1b81e2b 100644 --- a/api/JoinArena.lua +++ b/api/JoinArena.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function JoinArena() end diff --git a/api/JoinBattlefield.lua b/api/JoinBattlefield.lua index 247fd1d..d5c01bc 100644 --- a/api/JoinBattlefield.lua +++ b/api/JoinBattlefield.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param asGroup boolean diff --git a/api/JoinChannelByName.lua b/api/JoinChannelByName.lua index 62c0e67..eb93eed 100644 --- a/api/JoinChannelByName.lua +++ b/api/JoinChannelByName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function JoinChannelByName() end diff --git a/api/JoinLFG.lua b/api/JoinLFG.lua index fb65c35..376bbb8 100644 --- a/api/JoinLFG.lua +++ b/api/JoinLFG.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Joins the player to the LFG system. This function just signals to the server that the player is joining the LFG system. In order to actually queue for any dungeons, the SetLFGDungeon function must be called for each dungeon the player wishes to queue for. For the 'random dungeon' queues, these are a single numeric identifier that will queue the player for any of the dungeons in that category. You can obtain this number by opening the LFD frame and running /dump LFDQueueFrame.type. function JoinLFG() end diff --git a/api/JoinPermanentChannel.lua b/api/JoinPermanentChannel.lua index 14d705c..fdf82c2 100644 --- a/api/JoinPermanentChannel.lua +++ b/api/JoinPermanentChannel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@return number zoneChannel diff --git a/api/JoinRatedBattlefield.lua b/api/JoinRatedBattlefield.lua index e4a5249..63a3261 100644 --- a/api/JoinRatedBattlefield.lua +++ b/api/JoinRatedBattlefield.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function JoinRatedBattlefield() end diff --git a/api/JoinSingleLFG.lua b/api/JoinSingleLFG.lua index 3ef6303..8eaec02 100644 --- a/api/JoinSingleLFG.lua +++ b/api/JoinSingleLFG.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function JoinSingleLFG() end diff --git a/api/JoinSkirmish.lua b/api/JoinSkirmish.lua index c69d6ba..85612c4 100644 --- a/api/JoinSkirmish.lua +++ b/api/JoinSkirmish.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function JoinSkirmish() end diff --git a/api/JoinTemporaryChannel.lua b/api/JoinTemporaryChannel.lua index ae6cb29..6dbe5d1 100644 --- a/api/JoinTemporaryChannel.lua +++ b/api/JoinTemporaryChannel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel string ---Joins a channel, but does not save associated chat window settings diff --git a/api/JumpOrAscendStart.lua b/api/JumpOrAscendStart.lua index 8aa8f8f..2d49f72 100644 --- a/api/JumpOrAscendStart.lua +++ b/api/JumpOrAscendStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Causes the player character to jump (or begins ascent if swimming or flying). Used by the JUMP binding, which also controls ascent when swimming or flying. function JumpOrAscendStart() end diff --git a/api/KBArticle_BeginLoading.lua b/api/KBArticle_BeginLoading.lua index 6637a77..5ef965f 100644 --- a/api/KBArticle_BeginLoading.lua +++ b/api/KBArticle_BeginLoading.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param articleId number ---@param searchType 2 diff --git a/api/KBArticle_GetData.lua b/api/KBArticle_GetData.lua index ef17a36..72c246f 100644 --- a/api/KBArticle_GetData.lua +++ b/api/KBArticle_GetData.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number id ---@return string subject diff --git a/api/KBArticle_IsLoaded.lua b/api/KBArticle_IsLoaded.lua index 927f880..6d37439 100644 --- a/api/KBArticle_IsLoaded.lua +++ b/api/KBArticle_IsLoaded.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isLoaded ---Returns whether the requested knowledge base article has been loaded. The KNOWLEDGE_BASE_ARTICLE_LOAD_SUCCESS also indicates that the requested article is available; this function presents an alternative that can be used across UI reloads or login/logout. diff --git a/api/KBQuery_BeginLoading.lua b/api/KBQuery_BeginLoading.lua index 972970b..14ecbd4 100644 --- a/api/KBQuery_BeginLoading.lua +++ b/api/KBQuery_BeginLoading.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param searchText string ---@param categoryIndex number diff --git a/api/KBQuery_GetArticleHeaderCount.lua b/api/KBQuery_GetArticleHeaderCount.lua index 512425d..939b77c 100644 --- a/api/KBQuery_GetArticleHeaderCount.lua +++ b/api/KBQuery_GetArticleHeaderCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number articleHeaderCount ---Returns the number of articles on the current knowledge base search result page diff --git a/api/KBQuery_GetArticleHeaderData.lua b/api/KBQuery_GetArticleHeaderData.lua index bc76d32..2134a63 100644 --- a/api/KBQuery_GetArticleHeaderData.lua +++ b/api/KBQuery_GetArticleHeaderData.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number articleId diff --git a/api/KBQuery_GetTotalArticleCount.lua b/api/KBQuery_GetTotalArticleCount.lua index a76ca4f..dcb1a2f 100644 --- a/api/KBQuery_GetTotalArticleCount.lua +++ b/api/KBQuery_GetTotalArticleCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number totalArticleHeaderCount ---Returns the total number of articles returned for the given query diff --git a/api/KBQuery_IsLoaded.lua b/api/KBQuery_IsLoaded.lua index b3cfe44..9699e00 100644 --- a/api/KBQuery_IsLoaded.lua +++ b/api/KBQuery_IsLoaded.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isLoaded ---Returns whether results of a knowledge base query have been loaded. The KNOWLEDGE_BASE_QUERY_LOAD_SUCCESS also indicates that the requested results are available; this function presents an alternative that can be used across UI reloads or login/logout. diff --git a/api/KBSetup_BeginLoading.lua b/api/KBSetup_BeginLoading.lua index 8787723..6eed88f 100644 --- a/api/KBSetup_BeginLoading.lua +++ b/api/KBSetup_BeginLoading.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param numArticles number ---@param currentPage number diff --git a/api/KBSetup_GetArticleHeaderCount.lua b/api/KBSetup_GetArticleHeaderCount.lua index d67e5c4..efa4720 100644 --- a/api/KBSetup_GetArticleHeaderCount.lua +++ b/api/KBSetup_GetArticleHeaderCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number articleHeaderCount ---Returns the number of "Top Issues" articles on the current page diff --git a/api/KBSetup_GetArticleHeaderData.lua b/api/KBSetup_GetArticleHeaderData.lua index bb2f4b4..cbc67c0 100644 --- a/api/KBSetup_GetArticleHeaderData.lua +++ b/api/KBSetup_GetArticleHeaderData.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number articleId diff --git a/api/KBSetup_GetCategoryCount.lua b/api/KBSetup_GetCategoryCount.lua index 3f39c36..4fd7376 100644 --- a/api/KBSetup_GetCategoryCount.lua +++ b/api/KBSetup_GetCategoryCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numCategories ---Returns the number of available knowledge base categories diff --git a/api/KBSetup_GetCategoryData.lua b/api/KBSetup_GetCategoryData.lua index 9df33a1..26ee257 100644 --- a/api/KBSetup_GetCategoryData.lua +++ b/api/KBSetup_GetCategoryData.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number categoryId diff --git a/api/KBSetup_GetLanguageCount.lua b/api/KBSetup_GetLanguageCount.lua index 8a2f2a4..ff76ab1 100644 --- a/api/KBSetup_GetLanguageCount.lua +++ b/api/KBSetup_GetLanguageCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numLanguages ---Returns the number of available knowledge base languages diff --git a/api/KBSetup_GetLanguageData.lua b/api/KBSetup_GetLanguageData.lua index 4412116..b31ff78 100644 --- a/api/KBSetup_GetLanguageData.lua +++ b/api/KBSetup_GetLanguageData.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number languageId diff --git a/api/KBSetup_GetSubCategoryCount.lua b/api/KBSetup_GetSubCategoryCount.lua index a22edcd..bde5290 100644 --- a/api/KBSetup_GetSubCategoryCount.lua +++ b/api/KBSetup_GetSubCategoryCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number numSubCategories diff --git a/api/KBSetup_GetSubCategoryData.lua b/api/KBSetup_GetSubCategoryData.lua index 77b1b1f..5512183 100644 --- a/api/KBSetup_GetSubCategoryData.lua +++ b/api/KBSetup_GetSubCategoryData.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param subindex number diff --git a/api/KBSetup_GetTotalArticleCount.lua b/api/KBSetup_GetTotalArticleCount.lua index c3a4b70..0723b58 100644 --- a/api/KBSetup_GetTotalArticleCount.lua +++ b/api/KBSetup_GetTotalArticleCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numArticles ---Returns the number of "Top Issues" articles diff --git a/api/KBSetup_IsLoaded.lua b/api/KBSetup_IsLoaded.lua index 1e7b3fc..e09447f 100644 --- a/api/KBSetup_IsLoaded.lua +++ b/api/KBSetup_IsLoaded.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isLoaded ---Returns whether the knowledge base default query has completed successfully. The KNOWLEDGE_BASE_SETUP_LOAD_SUCCESS also indicates that the knowledge base setup is complete; this function presents an alternative that can be used across UI reloads or login/logout. diff --git a/api/KBSystem_GetMOTD.lua b/api/KBSystem_GetMOTD.lua index 3249074..64942a3 100644 --- a/api/KBSystem_GetMOTD.lua +++ b/api/KBSystem_GetMOTD.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string text ---Returns the currently knowledge base MOTD diff --git a/api/KBSystem_GetServerNotice.lua b/api/KBSystem_GetServerNotice.lua index fc05d17..c233fa2 100644 --- a/api/KBSystem_GetServerNotice.lua +++ b/api/KBSystem_GetServerNotice.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string text ---Returns the text of the knowledge base server system notice diff --git a/api/KBSystem_GetServerStatus.lua b/api/KBSystem_GetServerStatus.lua index cd85a28..89e7c12 100644 --- a/api/KBSystem_GetServerStatus.lua +++ b/api/KBSystem_GetServerStatus.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string statusMessage ---Returns the knowledge base server system status message diff --git a/api/LFGTeleport.lua b/api/LFGTeleport.lua index e2dbe32..afdb669 100644 --- a/api/LFGTeleport.lua +++ b/api/LFGTeleport.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param portOut boolean ---Teleports the player to or from their current LFG dungeon diff --git a/api/LearnTalent.lua b/api/LearnTalent.lua index 9041898..6e17f4b 100644 --- a/api/LearnTalent.lua +++ b/api/LearnTalent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tabIndex number ---@param talentIndex number diff --git a/api/LearnTalents.lua b/api/LearnTalents.lua index 886a7f6..136ecc9 100644 --- a/api/LearnTalents.lua +++ b/api/LearnTalents.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function LearnTalents() end diff --git a/api/LeaveBattlefield.lua b/api/LeaveBattlefield.lua index 5dd3563..3c8138f 100644 --- a/api/LeaveBattlefield.lua +++ b/api/LeaveBattlefield.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Immediately exits the current battleground instance. Returns the player to the location from which he or she joined the battleground and applies the Deserter debuff. function LeaveBattlefield() end diff --git a/api/LeaveChannelByName.lua b/api/LeaveChannelByName.lua index 7dc2974..a71041b 100644 --- a/api/LeaveChannelByName.lua +++ b/api/LeaveChannelByName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Leaves a chat channel diff --git a/api/LeaveLFG.lua b/api/LeaveLFG.lua index 4ba3b0a..a42243d 100644 --- a/api/LeaveLFG.lua +++ b/api/LeaveLFG.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Leave the LFG queue. function LeaveLFG() end diff --git a/api/LeaveParty.lua b/api/LeaveParty.lua index 625190a..5cc7b62 100644 --- a/api/LeaveParty.lua +++ b/api/LeaveParty.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Exits the current party or raid. If there are only two characters in the party or raid, causes the party or raid to be disbanded. function LeaveParty() end diff --git a/api/LeaveSingleLFG.lua b/api/LeaveSingleLFG.lua index 6aad86f..b56a4d1 100644 --- a/api/LeaveSingleLFG.lua +++ b/api/LeaveSingleLFG.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function LeaveSingleLFG() end diff --git a/api/ListChannelByName.lua b/api/ListChannelByName.lua index 58ff2ab..2636143 100644 --- a/api/ListChannelByName.lua +++ b/api/ListChannelByName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channelIndex number ---Requests the list of participants in a chat channel. Fires the CHAT_MSG_CHANNEL_LIST event listing the names of all characters in the channel. diff --git a/api/ListChannels.lua b/api/ListChannels.lua index 3094302..bbeb001 100644 --- a/api/ListChannels.lua +++ b/api/ListChannels.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests a list of channels joined by the player. Fires the CHAT_MSG_CHANNEL_LIST event listing the names and indices of all channels joined by the player. function ListChannels() end diff --git a/api/LoadAddOn.lua b/api/LoadAddOn.lua index 667113e..ef8ed88 100644 --- a/api/LoadAddOn.lua +++ b/api/LoadAddOn.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param index number diff --git a/api/LoadBindings.lua b/api/LoadBindings.lua index 1a01e26..412a6bf 100644 --- a/api/LoadBindings.lua +++ b/api/LoadBindings.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param set 2 ---@param 0 diff --git a/api/LoggingChat.lua b/api/LoggingChat.lua index 1a4672a..37ff909 100644 --- a/api/LoggingChat.lua +++ b/api/LoggingChat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param toggle boolean ---@return 1nil isLogging diff --git a/api/LoggingCombat.lua b/api/LoggingCombat.lua index e2c9751..b6315fe 100644 --- a/api/LoggingCombat.lua +++ b/api/LoggingCombat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param toggle boolean ---@return 1nil isLogging diff --git a/api/Logout.lua b/api/Logout.lua index d19a732..00ef995 100644 --- a/api/Logout.lua +++ b/api/Logout.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Attempts to log out and return to the character selection screen. Results vary based on current conditions: If the player is in combat or under other temporary restrictions (e.g. falling), fires the UI_ERROR_MESSAGE event with a message indicating the player cannot log out at the moment. If the player is not in an inn, major city, or other "rest" area (i.e. IsResting() returns nil), fires the PLAYER_CAMPING event, causing the default UI to show a countdown, logging the player out after a period of time if not canceled. If the player is in a "rest" area, logs out immediately. function Logout() end diff --git a/api/LootSlot.lua b/api/LootSlot.lua index 6386359..35a36dd 100644 --- a/api/LootSlot.lua +++ b/api/LootSlot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---Attempts to pick up an item available as loot. If the item in the loot slot binds on pickup, the LOOT_BIND_CONFIRM event fires, indicating that ConfirmLootSlot(slot) must be called in order to actually loot the item. Please note: if you call this while processing a LOOT_OPENED event and it is the last item to be looted from the corpse, can cause LOOT_CLOSED to fire and be processed before your LOOT_OPENED event handler completes. diff --git a/api/LootSlotHasItem.lua b/api/LootSlotHasItem.lua index 15c1869..348336a 100644 --- a/api/LootSlotHasItem.lua +++ b/api/LootSlotHasItem.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function LootSlotHasItem() end diff --git a/api/MacOptions_AreOSShortcutsDisabled.lua b/api/MacOptions_AreOSShortcutsDisabled.lua index c7de601..411696d 100644 --- a/api/MacOptions_AreOSShortcutsDisabled.lua +++ b/api/MacOptions_AreOSShortcutsDisabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MacOptions_AreOSShortcutsDisabled() end diff --git a/api/MacOptions_GetGameBundleName.lua b/api/MacOptions_GetGameBundleName.lua index 04decab..27ffeca 100644 --- a/api/MacOptions_GetGameBundleName.lua +++ b/api/MacOptions_GetGameBundleName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MacOptions_GetGameBundleName() end diff --git a/api/MacOptions_HasNewStyleUniversalAccess.lua b/api/MacOptions_HasNewStyleUniversalAccess.lua index eb7f3fb..5cb24d4 100644 --- a/api/MacOptions_HasNewStyleUniversalAccess.lua +++ b/api/MacOptions_HasNewStyleUniversalAccess.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MacOptions_HasNewStyleUniversalAccess() end diff --git a/api/MacOptions_IsUniversalAccessEnabled.lua b/api/MacOptions_IsUniversalAccessEnabled.lua index 6ddcf0f..4054344 100644 --- a/api/MacOptions_IsUniversalAccessEnabled.lua +++ b/api/MacOptions_IsUniversalAccessEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MacOptions_IsUniversalAccessEnabled() end diff --git a/api/MacOptions_OpenUniversalAccess.lua b/api/MacOptions_OpenUniversalAccess.lua index b50f331..df490a5 100644 --- a/api/MacOptions_OpenUniversalAccess.lua +++ b/api/MacOptions_OpenUniversalAccess.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MacOptions_OpenUniversalAccess() end diff --git a/api/MacOptions_SetOSShortcutsDisabled.lua b/api/MacOptions_SetOSShortcutsDisabled.lua index 8363de7..081c2ae 100644 --- a/api/MacOptions_SetOSShortcutsDisabled.lua +++ b/api/MacOptions_SetOSShortcutsDisabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MacOptions_SetOSShortcutsDisabled() end diff --git a/api/ModifyEquipmentSet.lua b/api/ModifyEquipmentSet.lua index e4e54c6..c93f92a 100644 --- a/api/ModifyEquipmentSet.lua +++ b/api/ModifyEquipmentSet.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param oldSetName string ---@param newSetName string diff --git a/api/MouselookStart.lua b/api/MouselookStart.lua index 4cf668e..63d0b3c 100644 --- a/api/MouselookStart.lua +++ b/api/MouselookStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Enables mouselook mode, in which cursor movement rotates the camera function MouselookStart() end diff --git a/api/MouselookStop.lua b/api/MouselookStop.lua index 142b15e..ae0f532 100644 --- a/api/MouselookStop.lua +++ b/api/MouselookStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Disables mouselook mode function MouselookStop() end diff --git a/api/MoveAndSteerStart.lua b/api/MoveAndSteerStart.lua index 5b55ee3..dbaa24d 100644 --- a/api/MoveAndSteerStart.lua +++ b/api/MoveAndSteerStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins moving the player character forward while steering via mouse movement. After calling this function, the player character begins moving forward while cursor movement rotates (or steers) the character, altering yaw (facing) and/or pitch (vertical movement angle) as well as camera position. Equivalent to calling both CameraOrSelectOrMoveStart and TurnOrActionStart without calling the respective Stop functions; i.e. holding both left and right mouse buttons down. Used by the MOVEANDSTEER binding, which can be customized to allow alternate access to this action if the player's system does not allow pressing multiple mouse buttons at once. function MoveAndSteerStart() end diff --git a/api/MoveAndSteerStop.lua b/api/MoveAndSteerStop.lua index 8a790e6..868806c 100644 --- a/api/MoveAndSteerStop.lua +++ b/api/MoveAndSteerStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends movement initiated by MoveAndSteerStart. After calling this function, forward movement and character steering stops and normal cursor movement resumes. Used by the MOVEANDSTEER binding. function MoveAndSteerStop() end diff --git a/api/MoveBackwardStart.lua b/api/MoveBackwardStart.lua index 8ad7dc0..624bd8a 100644 --- a/api/MoveBackwardStart.lua +++ b/api/MoveBackwardStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins moving the player character backward. Used by the MOVEBACKWARD binding. function MoveBackwardStart() end diff --git a/api/MoveBackwardStop.lua b/api/MoveBackwardStop.lua index 26873ca..3a48d1a 100644 --- a/api/MoveBackwardStop.lua +++ b/api/MoveBackwardStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends movement initiated by MoveBackwardStart function MoveBackwardStop() end diff --git a/api/MoveForwardStart.lua b/api/MoveForwardStart.lua index 8eeeaf4..e66e6a5 100644 --- a/api/MoveForwardStart.lua +++ b/api/MoveForwardStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins moving the player character forward. Used by the MOVEFORWARD binding. function MoveForwardStart() end diff --git a/api/MoveForwardStop.lua b/api/MoveForwardStop.lua index 492508e..a796d1c 100644 --- a/api/MoveForwardStop.lua +++ b/api/MoveForwardStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends movement initiated by MoveForwardStart function MoveForwardStop() end diff --git a/api/MoveViewDownStart.lua b/api/MoveViewDownStart.lua index 6222c4b..23c93ef 100644 --- a/api/MoveViewDownStart.lua +++ b/api/MoveViewDownStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins orbiting the camera downward (to look upward) function MoveViewDownStart() end diff --git a/api/MoveViewDownStop.lua b/api/MoveViewDownStop.lua index 5a6c0bc..5c04b62 100644 --- a/api/MoveViewDownStop.lua +++ b/api/MoveViewDownStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends camera movement initiated by MoveViewDownStart function MoveViewDownStop() end diff --git a/api/MoveViewInStart.lua b/api/MoveViewInStart.lua index 780b7a8..904159b 100644 --- a/api/MoveViewInStart.lua +++ b/api/MoveViewInStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins zooming the camera inward (towards/through the player character) function MoveViewInStart() end diff --git a/api/MoveViewInStop.lua b/api/MoveViewInStop.lua index 95a3bc5..48effee 100644 --- a/api/MoveViewInStop.lua +++ b/api/MoveViewInStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends camera movement initiated by MoveViewInStart function MoveViewInStop() end diff --git a/api/MoveViewLeftStart.lua b/api/MoveViewLeftStart.lua index 5d50cba..19d0155 100644 --- a/api/MoveViewLeftStart.lua +++ b/api/MoveViewLeftStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins orbiting the camera around the player character to the left. "Left" here is relative to the player's facing; i.e. the camera orbits clockwise if looking down. Moving the camera to the left causes it to look towards the character's right. function MoveViewLeftStart() end diff --git a/api/MoveViewLeftStop.lua b/api/MoveViewLeftStop.lua index d492ce6..6a6ba5a 100644 --- a/api/MoveViewLeftStop.lua +++ b/api/MoveViewLeftStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends camera movement initiated by MoveViewLeftStart function MoveViewLeftStop() end diff --git a/api/MoveViewOutStart.lua b/api/MoveViewOutStart.lua index 4e63477..119f821 100644 --- a/api/MoveViewOutStart.lua +++ b/api/MoveViewOutStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins zooming the camera outward (away from the player character) function MoveViewOutStart() end diff --git a/api/MoveViewOutStop.lua b/api/MoveViewOutStop.lua index 880b5ff..3c51b2b 100644 --- a/api/MoveViewOutStop.lua +++ b/api/MoveViewOutStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends camera movement initiated by MoveViewOutStart function MoveViewOutStop() end diff --git a/api/MoveViewRightStart.lua b/api/MoveViewRightStart.lua index 51173d4..8ca93fb 100644 --- a/api/MoveViewRightStart.lua +++ b/api/MoveViewRightStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins orbiting the camera around the player character to the right. "Right" here is relative to the player's facing; i.e. the camera orbits counter--clockwise if looking down. Moving the camera to the right causes it to look towards the character's left. function MoveViewRightStart() end diff --git a/api/MoveViewRightStop.lua b/api/MoveViewRightStop.lua index a200a6a..409e07e 100644 --- a/api/MoveViewRightStop.lua +++ b/api/MoveViewRightStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends camera movement initiated by MoveViewRightStart function MoveViewRightStop() end diff --git a/api/MoveViewUpStart.lua b/api/MoveViewUpStart.lua index 9c63532..cd88102 100644 --- a/api/MoveViewUpStart.lua +++ b/api/MoveViewUpStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins orbiting the camera upward (to look down) function MoveViewUpStart() end diff --git a/api/MoveViewUpStop.lua b/api/MoveViewUpStop.lua index 5b6cebe..6eaf2bd 100644 --- a/api/MoveViewUpStop.lua +++ b/api/MoveViewUpStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends camera movement initiated by MoveViewUpStart function MoveViewUpStop() end diff --git a/api/MovieRecording_Cancel.lua b/api/MovieRecording_Cancel.lua index 7393185..81cfd03 100644 --- a/api/MovieRecording_Cancel.lua +++ b/api/MovieRecording_Cancel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Cancels video recording and compression. If a recording is in progress, recording is stopped and the results discarded. If compression is in progress, compression is stopped and the uncompressed portion of the movie is deleted. function MovieRecording_Cancel() end diff --git a/api/MovieRecording_DataRate.lua b/api/MovieRecording_DataRate.lua index 1a504b0..fd000d4 100644 --- a/api/MovieRecording_DataRate.lua +++ b/api/MovieRecording_DataRate.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param width number ---@param framerate number diff --git a/api/MovieRecording_DeleteMovie.lua b/api/MovieRecording_DeleteMovie.lua index 18b9bdf..94085a7 100644 --- a/api/MovieRecording_DeleteMovie.lua +++ b/api/MovieRecording_DeleteMovie.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param filename string ---Deletes an uncompressed movie diff --git a/api/MovieRecording_GetAspectRatio.lua b/api/MovieRecording_GetAspectRatio.lua index bf7746a..21eb97d 100644 --- a/api/MovieRecording_GetAspectRatio.lua +++ b/api/MovieRecording_GetAspectRatio.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number ratio ---Returns the aspect ratio of the game display. Used in the default UI to calculate dimensions for scaling captured video to predetermined widths. For example, if the aspect ratio is 0.75 (as on a 1600x1200 screen), a movie scaled to 640 pixels wide will be 480 pixels tall; but if the aspect ratio is 0.625 (as on a 1440x900 screen), a movie scaled to 640 pixels wide will be 400 pixels tall. diff --git a/api/MovieRecording_GetFullWidth.lua b/api/MovieRecording_GetFullWidth.lua index 3786833..f2cd4fd 100644 --- a/api/MovieRecording_GetFullWidth.lua +++ b/api/MovieRecording_GetFullWidth.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MovieRecording_GetFullWidth() end diff --git a/api/MovieRecording_GetHalfWidth.lua b/api/MovieRecording_GetHalfWidth.lua index 6e43e43..f3bb0fb 100644 --- a/api/MovieRecording_GetHalfWidth.lua +++ b/api/MovieRecording_GetHalfWidth.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MovieRecording_GetHalfWidth() end diff --git a/api/MovieRecording_GetMovieFullPath.lua b/api/MovieRecording_GetMovieFullPath.lua index 2e61866..20fc0d5 100644 --- a/api/MovieRecording_GetMovieFullPath.lua +++ b/api/MovieRecording_GetMovieFullPath.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string path ---Returns a path to the movie currently being recorded or compressed. If no movie is being recorded or compressed, returns either the empty string ("") or the path of the last movie recorded/compressed. diff --git a/api/MovieRecording_GetProgress.lua b/api/MovieRecording_GetProgress.lua index 5832603..3f898fd 100644 --- a/api/MovieRecording_GetProgress.lua +++ b/api/MovieRecording_GetProgress.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean recovering ---@return number progress diff --git a/api/MovieRecording_GetQuarterWidth.lua b/api/MovieRecording_GetQuarterWidth.lua index 380150e..ae69a2d 100644 --- a/api/MovieRecording_GetQuarterWidth.lua +++ b/api/MovieRecording_GetQuarterWidth.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MovieRecording_GetQuarterWidth() end diff --git a/api/MovieRecording_GetSelectedWidth.lua b/api/MovieRecording_GetSelectedWidth.lua index 69e7d43..a662b9c 100644 --- a/api/MovieRecording_GetSelectedWidth.lua +++ b/api/MovieRecording_GetSelectedWidth.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MovieRecording_GetSelectedWidth() end diff --git a/api/MovieRecording_GetTime.lua b/api/MovieRecording_GetTime.lua index 401e4de..1af38c0 100644 --- a/api/MovieRecording_GetTime.lua +++ b/api/MovieRecording_GetTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string time ---Returns the amount of time since video recording was last started. Used in the default UI to show the length of the recording in progress when mousing over the recording indicator on the minimap. May return a nonsensical value if no video has been recorded since logging in. diff --git a/api/MovieRecording_GetViewportWidth.lua b/api/MovieRecording_GetViewportWidth.lua index 4fab2fc..cecd225 100644 --- a/api/MovieRecording_GetViewportWidth.lua +++ b/api/MovieRecording_GetViewportWidth.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number width ---Returns the current width of the game display. Used in the default UI to allow the current screen resolution (or an integral factor thereof) to be selected as the video recording resolution. diff --git a/api/MovieRecording_GetWidthAt.lua b/api/MovieRecording_GetWidthAt.lua index 3aa90e1..b48f18f 100644 --- a/api/MovieRecording_GetWidthAt.lua +++ b/api/MovieRecording_GetWidthAt.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MovieRecording_GetWidthAt() end diff --git a/api/MovieRecording_GetWidthCount.lua b/api/MovieRecording_GetWidthCount.lua index dc43610..6659501 100644 --- a/api/MovieRecording_GetWidthCount.lua +++ b/api/MovieRecording_GetWidthCount.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MovieRecording_GetWidthCount() end diff --git a/api/MovieRecording_IsCodecSupported.lua b/api/MovieRecording_IsCodecSupported.lua index b95d3b9..60a272c 100644 --- a/api/MovieRecording_IsCodecSupported.lua +++ b/api/MovieRecording_IsCodecSupported.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param codecID 1836070006 ---@param 1635148593 diff --git a/api/MovieRecording_IsCompressing.lua b/api/MovieRecording_IsCompressing.lua index 83687b7..0f08a7b 100644 --- a/api/MovieRecording_IsCompressing.lua +++ b/api/MovieRecording_IsCompressing.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isCompressing ---Returns whether a movie file is currently being compressed diff --git a/api/MovieRecording_IsCursorRecordingSupported.lua b/api/MovieRecording_IsCursorRecordingSupported.lua index f5e9062..9c3bc0f 100644 --- a/api/MovieRecording_IsCursorRecordingSupported.lua +++ b/api/MovieRecording_IsCursorRecordingSupported.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isSupported ---Returns whether the current system supports recording the mouse cursor in movies diff --git a/api/MovieRecording_IsRecording.lua b/api/MovieRecording_IsRecording.lua index 2959cd7..f6a388a 100644 --- a/api/MovieRecording_IsRecording.lua +++ b/api/MovieRecording_IsRecording.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isRecording ---Returns whether movie recording is currently in progress diff --git a/api/MovieRecording_IsSupported.lua b/api/MovieRecording_IsSupported.lua index bf3589e..6e289e6 100644 --- a/api/MovieRecording_IsSupported.lua +++ b/api/MovieRecording_IsSupported.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isSupported ---Returns whether movie recording is supported on the current system diff --git a/api/MovieRecording_LoadSelectedWidth.lua b/api/MovieRecording_LoadSelectedWidth.lua index 34a4b52..95f5254 100644 --- a/api/MovieRecording_LoadSelectedWidth.lua +++ b/api/MovieRecording_LoadSelectedWidth.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MovieRecording_LoadSelectedWidth() end diff --git a/api/MovieRecording_MaxLength.lua b/api/MovieRecording_MaxLength.lua index 89c3a3c..1251c17 100644 --- a/api/MovieRecording_MaxLength.lua +++ b/api/MovieRecording_MaxLength.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param width number ---@param framerate number diff --git a/api/MovieRecording_QueueMovieToCompress.lua b/api/MovieRecording_QueueMovieToCompress.lua index fa6ab4a..1704eea 100644 --- a/api/MovieRecording_QueueMovieToCompress.lua +++ b/api/MovieRecording_QueueMovieToCompress.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param filename string ---Queues an uncompressed movie for compression. If there are no items currently in the queue the movie will begin compressing immediately. diff --git a/api/MovieRecording_SaveSelectedWidth.lua b/api/MovieRecording_SaveSelectedWidth.lua index 6613fe4..e7ac127 100644 --- a/api/MovieRecording_SaveSelectedWidth.lua +++ b/api/MovieRecording_SaveSelectedWidth.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MovieRecording_SaveSelectedWidth() end diff --git a/api/MovieRecording_SearchUncompressedMovie.lua b/api/MovieRecording_SearchUncompressedMovie.lua index 77a08a2..72be4ba 100644 --- a/api/MovieRecording_SearchUncompressedMovie.lua +++ b/api/MovieRecording_SearchUncompressedMovie.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param enable boolean ---Enables or disables a search for uncompressed movies. After calling this function with true, a MOVIE_UNCOMPRESSED_MOVIE fires for the first uncompressed movie found (causing the default UI to prompt the user to choose whether to compress, ignore, or delete the movie). Calling this function with false ignores the movie, causing the search to continue (firing a MOVIE_UNCOMPRESSED_MOVIE event for the next uncompressed movie found, and so forth). diff --git a/api/MovieRecording_SetSelectedWidth.lua b/api/MovieRecording_SetSelectedWidth.lua index 3ef81f8..1b278aa 100644 --- a/api/MovieRecording_SetSelectedWidth.lua +++ b/api/MovieRecording_SetSelectedWidth.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function MovieRecording_SetSelectedWidth() end diff --git a/api/MovieRecording_Toggle.lua b/api/MovieRecording_Toggle.lua index 92055d5..8801410 100644 --- a/api/MovieRecording_Toggle.lua +++ b/api/MovieRecording_Toggle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins or ends video recording. Used by the MOVIE_RECORDING_STARTSTOP key binding. function MovieRecording_Toggle() end diff --git a/api/MovieRecording_ToggleGUI.lua b/api/MovieRecording_ToggleGUI.lua index 09aee4c..4a06b02 100644 --- a/api/MovieRecording_ToggleGUI.lua +++ b/api/MovieRecording_ToggleGUI.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Enables or disables inclusion of UI elements in a video recording. Equivalent to the MovieRecordingGUI CVar, but provided as a convenience for the MOVIE_RECORDING_GUI so UI recording can be turned on or off while a movie is recording. function MovieRecording_ToggleGUI() end diff --git a/api/MusicPlayer_BackTrack.lua b/api/MusicPlayer_BackTrack.lua index a944673..6299e6f 100644 --- a/api/MusicPlayer_BackTrack.lua +++ b/api/MusicPlayer_BackTrack.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Causes iTunes to return to the previous track played. Used by the iTunes Remote key bindings only available on the Mac OS X WoW client. Only has effect while the iTunes application is open. function MusicPlayer_BackTrack() end diff --git a/api/MusicPlayer_NextTrack.lua b/api/MusicPlayer_NextTrack.lua index 3c5e394..8150811 100644 --- a/api/MusicPlayer_NextTrack.lua +++ b/api/MusicPlayer_NextTrack.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Causes iTunes to play the next track in sequence. Used by the iTunes Remote key bindings only available on the Mac OS X WoW client. Only has effect while the iTunes application is open. function MusicPlayer_NextTrack() end diff --git a/api/MusicPlayer_PlayPause.lua b/api/MusicPlayer_PlayPause.lua index 4af4df3..0f19c4a 100644 --- a/api/MusicPlayer_PlayPause.lua +++ b/api/MusicPlayer_PlayPause.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Causes iTunes to start or pause playback. Used by the iTunes Remote key bindings only available on the Mac OS X WoW client. Only has effect while the iTunes application is open. function MusicPlayer_PlayPause() end diff --git a/api/MusicPlayer_VolumeDown.lua b/api/MusicPlayer_VolumeDown.lua index 492a3f4..edb657b 100644 --- a/api/MusicPlayer_VolumeDown.lua +++ b/api/MusicPlayer_VolumeDown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Causes iTunes to lower its playback volume. Affects the iTunes volume setting only, not the overall system volume or any of WoW's volume settings. Used by the iTunes Remote key bindings only available on the Mac OS X WoW client. Only has effect while the iTunes application is open. function MusicPlayer_VolumeDown() end diff --git a/api/MusicPlayer_VolumeUp.lua b/api/MusicPlayer_VolumeUp.lua index 737f359..9614821 100644 --- a/api/MusicPlayer_VolumeUp.lua +++ b/api/MusicPlayer_VolumeUp.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Causes iTunes to raise its playback volume. Affects the iTunes volume setting only, not the overall system volume or any of WoW's volume settings. Used by the iTunes Remote key bindings only available on the Mac OS X WoW client. Only has effect while the iTunes application is open. function MusicPlayer_VolumeUp() end diff --git a/api/NeutralPlayerSelectFaction.lua b/api/NeutralPlayerSelectFaction.lua index 4e97388..dd60b6f 100644 --- a/api/NeutralPlayerSelectFaction.lua +++ b/api/NeutralPlayerSelectFaction.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function NeutralPlayerSelectFaction() end diff --git a/api/NewGMTicket.lua b/api/NewGMTicket.lua index ef1d811..8449f8e 100644 --- a/api/NewGMTicket.lua +++ b/api/NewGMTicket.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param text string ---@param needResponse boolean diff --git a/api/NextView.lua b/api/NextView.lua index 853176a..6030cbb 100644 --- a/api/NextView.lua +++ b/api/NextView.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Moves the camera to the next predefined setting. There are five "slots" for saved camera settings, indexed 1-5. These views can be set and accessed directly using SaveView() and SetView(), and cycled through using NextView() and PrevView(). function NextView() end diff --git a/api/NoPlayTime.lua b/api/NoPlayTime.lua index 3eef541..76e6f56 100644 --- a/api/NoPlayTime.lua +++ b/api/NoPlayTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasNoTime ---Returns whether the player has exceeded the allowed play time limit. When in this state, the player is unable to gain loot or XP or complete quests and cannot use trade skills; returning to normal requires logging out of the game for a period of time (see GetBillingTimeRested). Only used in locales where the length of play sessions is restricted (e.g. mainland China). diff --git a/api/NotWhileDeadError.lua b/api/NotWhileDeadError.lua index 95502ba..2dcf922 100644 --- a/api/NotWhileDeadError.lua +++ b/api/NotWhileDeadError.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Causes the default UI to display an error message indicating that actions are disallowed while the player is dead. Fires a UI_ERROR_MESSAGE event containing a localized message identified by the global variable ERR_PLAYER_DEAD. function NotWhileDeadError() end diff --git a/api/NotifyInspect.lua b/api/NotifyInspect.lua index 1447b9f..b117fd2 100644 --- a/api/NotifyInspect.lua +++ b/api/NotifyInspect.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---Marks a unit for inspection and requests talent data from the server. Information about the inspected item's equipment can be retrieved immediately using Inventory APIs (e.g. GetInventoryItemLink("target",1)). Talent data is not available immediately; the INSPECT_READY event fires once the inspected unit's talent information can be retrieved using Talent APIs (e.g. GetTalentInfo(1,1,true)). diff --git a/api/NumTaxiNodes.lua b/api/NumTaxiNodes.lua index b7be21e..78ff631 100644 --- a/api/NumTaxiNodes.lua +++ b/api/NumTaxiNodes.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number numNodes ---Returns the number of flight points on the taxi map. Only returns valid data while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). diff --git a/api/OfferPetition.lua b/api/OfferPetition.lua index abd22b5..69447da 100644 --- a/api/OfferPetition.lua +++ b/api/OfferPetition.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests an arena or guild charter signature from the targeted unit function OfferPetition() end diff --git a/api/OffhandHasWeapon.lua b/api/OffhandHasWeapon.lua index 8fc055f..e411523 100644 --- a/api/OffhandHasWeapon.lua +++ b/api/OffhandHasWeapon.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasWeapon ---Returns whether the player has an equipped weapon in the off hand slot diff --git a/api/OpenCalendar.lua b/api/OpenCalendar.lua index 09b1c48..cf77ba9 100644 --- a/api/OpenCalendar.lua +++ b/api/OpenCalendar.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Queries the server for calendar status information. May cause one or more CALENDAR_UPDATE_* events to fire depending on the contents of the player's calendar. In the default UI, called when the calendar is shown. function OpenCalendar() end diff --git a/api/OpenTrainer.lua b/api/OpenTrainer.lua index b9bfae8..ca8d49b 100644 --- a/api/OpenTrainer.lua +++ b/api/OpenTrainer.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function OpenTrainer() end diff --git a/api/OpeningCinematic.lua b/api/OpeningCinematic.lua index 9e35b80..9af8a4a 100644 --- a/api/OpeningCinematic.lua +++ b/api/OpeningCinematic.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Displays the introductory cinematic for the player's race. Only has effect if the player has never gained any experience. function OpeningCinematic() end diff --git a/api/PartialPlayTime.lua b/api/PartialPlayTime.lua index cfc98f9..412275b 100644 --- a/api/PartialPlayTime.lua +++ b/api/PartialPlayTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil partialPlayTime ---Returns whether the player is near the allowed play time limit. When in this state, the player receives half the normal amount of money and XP from kills and quests and cannot use trade skills; returning to normal requires logging out of the game for a period of time (see GetBillingTimeRested). Only used in locales where the length of play sessions is restricted (e.g. mainland China). diff --git a/api/PartyLFGStartBackfill.lua b/api/PartyLFGStartBackfill.lua index 65e1e02..b4d9f24 100644 --- a/api/PartyLFGStartBackfill.lua +++ b/api/PartyLFGStartBackfill.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function PartyLFGStartBackfill() end diff --git a/api/PetAbandon.lua b/api/PetAbandon.lua index 297ffef..6e013f7 100644 --- a/api/PetAbandon.lua +++ b/api/PetAbandon.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Releases the player's pet. For Hunter pets, this function sends the pet away, never to return (in the default UI, it's called when accepting the "Are you sure you want to permanently abandon your pet?" dialog). For other pets, this function is equivalent to PetDismiss(). function PetAbandon() end diff --git a/api/PetAggressiveMode.lua b/api/PetAggressiveMode.lua index 8eb7123..86c5d66 100644 --- a/api/PetAggressiveMode.lua +++ b/api/PetAggressiveMode.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Enables aggressive mode for the player's pet. In this mode, the pet automatically attacks any nearby hostile targets. function PetAggressiveMode() end diff --git a/api/PetAssistMode.lua b/api/PetAssistMode.lua index c487d71..8df9ed7 100644 --- a/api/PetAssistMode.lua +++ b/api/PetAssistMode.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function PetAssistMode() end diff --git a/api/PetAttack.lua b/api/PetAttack.lua index 6e0a73e..0d56dc0 100644 --- a/api/PetAttack.lua +++ b/api/PetAttack.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/PetCanBeAbandoned.lua b/api/PetCanBeAbandoned.lua index 2a6c863..e29822c 100644 --- a/api/PetCanBeAbandoned.lua +++ b/api/PetCanBeAbandoned.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canAbandon ---Returns whether the player's pet can be abandoned. Only Hunter pets can be permanently abandoned. diff --git a/api/PetCanBeDismissed.lua b/api/PetCanBeDismissed.lua index 5b8745d..51c4601 100644 --- a/api/PetCanBeDismissed.lua +++ b/api/PetCanBeDismissed.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canDismiss ---Returns whether a Dismiss Pet command should be available for the player's pet. Returns 1 for hunter pets even though they use the Dismiss Pet (cast) spell instead of a Dismiss Pet (instant) command; the value of PetCanBeAbandoned() overrides this in causing the default UI to hide the command. Currently unused, but may be used in the future for other pets. diff --git a/api/PetCanBeRenamed.lua b/api/PetCanBeRenamed.lua index 9e3ad05..1ff53f7 100644 --- a/api/PetCanBeRenamed.lua +++ b/api/PetCanBeRenamed.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canRename ---Returns whether the player's pet can be renamed. Only hunter pets can be renamed, and only once (barring use of a Certificate of Ownership). diff --git a/api/PetDefensiveMode.lua b/api/PetDefensiveMode.lua index 2cb206c..b0a1b52 100644 --- a/api/PetDefensiveMode.lua +++ b/api/PetDefensiveMode.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Enables defensive mode for the player's pet. In this mode, the pet automatically attacks only units which attack it or the player or units the player is attacking. function PetDefensiveMode() end diff --git a/api/PetDismiss.lua b/api/PetDismiss.lua index c024397..1070df7 100644 --- a/api/PetDismiss.lua +++ b/api/PetDismiss.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Dismisses the currently controlled pet. Used for dismissing Warlock pets, Mind Control targets, etc. Has no effect for Hunter pets, which can only be dismissed using the Dismiss Pet spell. function PetDismiss() end diff --git a/api/PetFollow.lua b/api/PetFollow.lua index 0e99640..f379cbf 100644 --- a/api/PetFollow.lua +++ b/api/PetFollow.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Instructs the pet to follow the player. If the pet is currently attacking a target, the pet will stop attacking. function PetFollow() end diff --git a/api/PetHasActionBar.lua b/api/PetHasActionBar.lua index 194caeb..fe45a5b 100644 --- a/api/PetHasActionBar.lua +++ b/api/PetHasActionBar.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasActionBar ---Returns whether the player's current pet has an action bar diff --git a/api/PetHasSpellbook.lua b/api/PetHasSpellbook.lua index 11e344b..6e0e655 100644 --- a/api/PetHasSpellbook.lua +++ b/api/PetHasSpellbook.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function PetHasSpellbook() end diff --git a/api/PetMoveTo.lua b/api/PetMoveTo.lua index be97664..374115e 100644 --- a/api/PetMoveTo.lua +++ b/api/PetMoveTo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Commands the player's pet to move to the targeted destination. Calling this only brings up the targeting display, the user must perform a second click to actually tell the pet to move. function PetMoveTo() end diff --git a/api/PetPassiveMode.lua b/api/PetPassiveMode.lua index a6a67b4..4f98ed9 100644 --- a/api/PetPassiveMode.lua +++ b/api/PetPassiveMode.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Enables passive mode for the player's pet. In this mode, the pet will not automatically attack any target. function PetPassiveMode() end diff --git a/api/PetRename.lua b/api/PetRename.lua index fb72649..10929ad 100644 --- a/api/PetRename.lua +++ b/api/PetRename.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param genitive string diff --git a/api/PetStopAttack.lua b/api/PetStopAttack.lua index 2af3e0e..23d083b 100644 --- a/api/PetStopAttack.lua +++ b/api/PetStopAttack.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Instructs the pet to stop attacking function PetStopAttack() end diff --git a/api/PetUsesPetFrame.lua b/api/PetUsesPetFrame.lua index 37409f8..5cd5c93 100644 --- a/api/PetUsesPetFrame.lua +++ b/api/PetUsesPetFrame.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function PetUsesPetFrame() end diff --git a/api/PetWait.lua b/api/PetWait.lua index fad7106..59a532b 100644 --- a/api/PetWait.lua +++ b/api/PetWait.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Instructs the pet to stay at its current location. If the pet is currently attacking a target, the pet will stop attacking. function PetWait() end diff --git a/api/PickupAction.lua b/api/PickupAction.lua index fba8596..6981632 100644 --- a/api/PickupAction.lua +++ b/api/PickupAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---Puts the contents of an action bar slot onto the cursor or the cursor contents into an action bar slot. After an action is picked up via this function, it can only be placed into other action bar slots (with PlaceAction() or by calling PickupAction() again), even if the action is an item which could otherwise be placed elsewhere. Unlike many other "pickup" cursor functions, this function removes the picked-up action from the source slot -- an action slot can be emptied by calling this function followed by ClearCursor(). If the action slot is empty and the cursor already holds an action, a spell, a companion (mount or non-combat pet), a macro, an equipment set, or an item (with a "Use:" effect), it is put into the action slot. If both the cursor and the slot hold an action (or any of the above data types), the contents of the cursor and the slot are exchanged. diff --git a/api/PickupBagFromSlot.lua b/api/PickupBagFromSlot.lua index e4a654a..974649b 100644 --- a/api/PickupBagFromSlot.lua +++ b/api/PickupBagFromSlot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---Puts an equipped container onto the cursor diff --git a/api/PickupCompanion.lua b/api/PickupCompanion.lua index a561f60..0d5b07a 100644 --- a/api/PickupCompanion.lua +++ b/api/PickupCompanion.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param type MOUNT ---@param CRITTER diff --git a/api/PickupContainerItem.lua b/api/PickupContainerItem.lua index b7e0058..97fb519 100644 --- a/api/PickupContainerItem.lua +++ b/api/PickupContainerItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param slot number diff --git a/api/PickupCurrency.lua b/api/PickupCurrency.lua index e801b86..532872a 100644 --- a/api/PickupCurrency.lua +++ b/api/PickupCurrency.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function PickupCurrency() end diff --git a/api/PickupEquipmentSet.lua b/api/PickupEquipmentSet.lua index 01c0256..24078f4 100644 --- a/api/PickupEquipmentSet.lua +++ b/api/PickupEquipmentSet.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Puts an equipment set (specified by index) on the cursor. Can be used to place an equipment set in an action bar slot. diff --git a/api/PickupEquipmentSetByName.lua b/api/PickupEquipmentSetByName.lua index 1a69c0b..ad94a9c 100644 --- a/api/PickupEquipmentSetByName.lua +++ b/api/PickupEquipmentSetByName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Puts an equipment set on the cursor. Can be used to place an equipment set in an action bar slot. diff --git a/api/PickupGuildBankItem.lua b/api/PickupGuildBankItem.lua index c669fcb..badfbcc 100644 --- a/api/PickupGuildBankItem.lua +++ b/api/PickupGuildBankItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@param slot number diff --git a/api/PickupGuildBankMoney.lua b/api/PickupGuildBankMoney.lua index 9c47d0b..126e5d7 100644 --- a/api/PickupGuildBankMoney.lua +++ b/api/PickupGuildBankMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param amount number ---Puts money from the guild bank onto the cursor. Money is not actually withdrawn from the guild bank; in the default UI, when the cursor "puts" the money into one of the player's bags, it calls WithdrawGuildBankMoney(). diff --git a/api/PickupInventoryItem.lua b/api/PickupInventoryItem.lua index 09e73d2..f4006cd 100644 --- a/api/PickupInventoryItem.lua +++ b/api/PickupInventoryItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---Picks up an item from or puts an item into an equipment slot. If the cursor is empty and the referenced inventory slot contains an item, that item is put onto the cursor. If the cursor contains an item (which can be equipped in the slot) and the slot is empty, the item is placed into the slot. If both the cursor and the slot contain items, the contents of the cursor and the inventory slot are exchanged. An item picked up from an inventory slot is not removed from the slot (until put elsewhere); when an item is picked up, the slot becomes locked, preventing other changes to its contents until the disposition (movement, trade, destruction, etc) of the picked-up item is resolved. diff --git a/api/PickupItem.lua b/api/PickupItem.lua index 3d31a84..a7fdd22 100644 --- a/api/PickupItem.lua +++ b/api/PickupItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/PickupMacro.lua b/api/PickupMacro.lua index 5a6d6d3..2390301 100644 --- a/api/PickupMacro.lua +++ b/api/PickupMacro.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param name string diff --git a/api/PickupMerchantItem.lua b/api/PickupMerchantItem.lua index 5644ef7..fa3d2e9 100644 --- a/api/PickupMerchantItem.lua +++ b/api/PickupMerchantItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Puts an item available for purchase from a vendor onto the cursor diff --git a/api/PickupPetAction.lua b/api/PickupPetAction.lua index 7585b86..e6639b0 100644 --- a/api/PickupPetAction.lua +++ b/api/PickupPetAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Puts the contents of a pet action slot onto the cursor or the cursor contents into a pet action slot. Only pet actions and spells from the "pet" portion of the spellbook can be placed into pet action slots. If the cursor is empty and the referenced pet action slot contains an action, that action is put onto the cursor (but remains in the slot). If the cursor contains a pet action or pet spell and the slot is empty, the action/spell is placed into the slot. If both the cursor and the slot contain pet actions, the contents of the cursor and the pet action slot are exchanged. diff --git a/api/PickupPetSpell.lua b/api/PickupPetSpell.lua index 4ed1a5a..adb487e 100644 --- a/api/PickupPetSpell.lua +++ b/api/PickupPetSpell.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function PickupPetSpell() end diff --git a/api/PickupPlayerMoney.lua b/api/PickupPlayerMoney.lua index a3307b3..591c4cb 100644 --- a/api/PickupPlayerMoney.lua +++ b/api/PickupPlayerMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param amount number ---Puts an amount of the player's money onto the cursor. Money is not immediately deducted from the player's total savings (though it appears such on the default UI's money displays, which generally show GetMoney()-GetCursorMoney()). diff --git a/api/PickupSpell.lua b/api/PickupSpell.lua index 71a496e..c601bd0 100644 --- a/api/PickupSpell.lua +++ b/api/PickupSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param spellID number ---Puts a spell onto the cursor diff --git a/api/PickupSpellBookItem.lua b/api/PickupSpellBookItem.lua index e7c57ed..b883929 100644 --- a/api/PickupSpellBookItem.lua +++ b/api/PickupSpellBookItem.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function PickupSpellBookItem() end diff --git a/api/PickupStablePet.lua b/api/PickupStablePet.lua index 0d6fb37..5bba488 100644 --- a/api/PickupStablePet.lua +++ b/api/PickupStablePet.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index 1 to NUM_PET_STABLE_SLOTS ---@param 0 diff --git a/api/PickupTalent.lua b/api/PickupTalent.lua index 87f0b72..84b9d8a 100644 --- a/api/PickupTalent.lua +++ b/api/PickupTalent.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function PickupTalent() end diff --git a/api/PickupTradeMoney.lua b/api/PickupTradeMoney.lua index 570668a..60d0bbc 100644 --- a/api/PickupTradeMoney.lua +++ b/api/PickupTradeMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param amount number ---Puts money offered by the player for trade onto the cursor. Money put onto the cursor is subtracted from the amount offered for trade (see GetPlayerTradeMoney()). diff --git a/api/PitchDownStart.lua b/api/PitchDownStart.lua index 6de6b37..8317b3f 100644 --- a/api/PitchDownStart.lua +++ b/api/PitchDownStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins adjusting the player character's angle of vertical movement downward. Affects only the angle or slope of movement for swimming or flying; has no immediately visible effect if the player is not moving, but alters the trajectory followed as soon as the player begins moving. Continuously adjusts pitch until the minimum angle is reached or PitchDownStop() is called. Used by the PITCHDOWN binding. function PitchDownStart() end diff --git a/api/PitchDownStop.lua b/api/PitchDownStop.lua index ff3ae18..34b64c1 100644 --- a/api/PitchDownStop.lua +++ b/api/PitchDownStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends movement initiated by PitchDownStart function PitchDownStop() end diff --git a/api/PitchUpStart.lua b/api/PitchUpStart.lua index 663174b..8f064b6 100644 --- a/api/PitchUpStart.lua +++ b/api/PitchUpStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins adjusting the player character's angle of vertical movement upward. Affects only the angle or slope of movement for swimming or flying; has no immediately visible effect if the player is not moving, but alters the trajectory followed as soon as the player begins moving. Continuously adjusts pitch until the maximum angle is reached or PitchUpStop() is called. Used by the PITCHUP binding. function PitchUpStart() end diff --git a/api/PitchUpStop.lua b/api/PitchUpStop.lua index 31dcc1e..77a139b 100644 --- a/api/PitchUpStop.lua +++ b/api/PitchUpStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends movement initiated by PitchUpStart function PitchUpStop() end diff --git a/api/PlaceAction.lua b/api/PlaceAction.lua index 044321f..1dd4260 100644 --- a/api/PlaceAction.lua +++ b/api/PlaceAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---Puts the contents of the cursor into an action bar slot. If the action slot is empty and the cursor already holds an action, a spell, a companion (mount or non-combat pet), a macro, an equipment set, or an item (with a "Use:" effect), it is put into the action slot. If both the cursor and the slot hold an action (or any of the above data types), the contents of the cursor and the slot are exchanged. Does nothing if the cursor is empty. diff --git a/api/PlaceAuctionBid.lua b/api/PlaceAuctionBid.lua index b10a46f..421583b 100644 --- a/api/PlaceAuctionBid.lua +++ b/api/PlaceAuctionBid.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param list owner ---@param bidder diff --git a/api/PlaceGlyphInSocket.lua b/api/PlaceGlyphInSocket.lua index 743e9ce..3c1c646 100644 --- a/api/PlaceGlyphInSocket.lua +++ b/api/PlaceGlyphInSocket.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param socket number ---Applies the glyph currently awaiting a target to a socket. Only valid during glyph application: when the player has activated the glyph item but before she has chosen the glyph slot to put it in (i.e. the glowing hand cursor is showing). This function does not ask for confirmation before overwriting an existing glyph. However, calling this function only begins the "spellcast" that applies the glyph, so canceling glyph application is still possible. diff --git a/api/PlaceRaidMarker.lua b/api/PlaceRaidMarker.lua index 2872803..923992a 100644 --- a/api/PlaceRaidMarker.lua +++ b/api/PlaceRaidMarker.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function PlaceRaidMarker() end diff --git a/api/PlayAutoAcceptQuestSound.lua b/api/PlayAutoAcceptQuestSound.lua index efbbd7e..7c2d023 100644 --- a/api/PlayAutoAcceptQuestSound.lua +++ b/api/PlayAutoAcceptQuestSound.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function PlayAutoAcceptQuestSound() end diff --git a/api/PlayMusic.lua b/api/PlayMusic.lua index 537ec83..dc2f337 100644 --- a/api/PlayMusic.lua +++ b/api/PlayMusic.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param musicfile string ---Plays an audio file as background music. Any other background music that is currently playing will be faded out as the new music begins; if the Sound_ZoneMusicNoDelay is set, music will loop continuously until StopMusic() is called. WoW supports WAV, MP3 and Ogg audio formats. diff --git a/api/PlaySound.lua b/api/PlaySound.lua index 9bcb6e3..c503db1 100644 --- a/api/PlaySound.lua +++ b/api/PlaySound.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param sound string ---@param soundChannel string diff --git a/api/PlaySoundFile.lua b/api/PlaySoundFile.lua index d480463..d1a1c41 100644 --- a/api/PlaySoundFile.lua +++ b/api/PlaySoundFile.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param soundFile string ---@param soundChannel string diff --git a/api/PlaySoundKitID.lua b/api/PlaySoundKitID.lua index 32fba01..1734f62 100644 --- a/api/PlaySoundKitID.lua +++ b/api/PlaySoundKitID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function PlaySoundKitID() end diff --git a/api/PlayerCanTeleport.lua b/api/PlayerCanTeleport.lua index 5c17920..5d73340 100644 --- a/api/PlayerCanTeleport.lua +++ b/api/PlayerCanTeleport.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean amount ---Returns whether the player can accept a summons diff --git a/api/PlayerHasHearthstone.lua b/api/PlayerHasHearthstone.lua index 32ec2aa..9f1aa28 100644 --- a/api/PlayerHasHearthstone.lua +++ b/api/PlayerHasHearthstone.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean hasHearthstone ---Returns whether the player has a hearthstone in their bag diff --git a/api/PlayerHasToy.lua b/api/PlayerHasToy.lua index 19b1ce9..71c5c77 100644 --- a/api/PlayerHasToy.lua +++ b/api/PlayerHasToy.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function PlayerHasToy() end diff --git a/api/PlayerIsPVPInactive.lua b/api/PlayerIsPVPInactive.lua index d66c647..721a14a 100644 --- a/api/PlayerIsPVPInactive.lua +++ b/api/PlayerIsPVPInactive.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param unit string diff --git a/api/PortGraveyard.lua b/api/PortGraveyard.lua index 073ecb9..1a63a08 100644 --- a/api/PortGraveyard.lua +++ b/api/PortGraveyard.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function PortGraveyard() end diff --git a/api/PreloadMovie.lua b/api/PreloadMovie.lua index ddd9364..e8c2f94 100644 --- a/api/PreloadMovie.lua +++ b/api/PreloadMovie.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function PreloadMovie() end diff --git a/api/PrevView.lua b/api/PrevView.lua index c50cf57..57c3274 100644 --- a/api/PrevView.lua +++ b/api/PrevView.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Moves the camera to the previous predefined setting. There are five "slots" for saved camera settings, indexed 1-5. These views can be set and accessed directly using SaveView() and SetView(), and cycled through using NextView() and PrevView(). function PrevView() end diff --git a/api/ProcessMapClick.lua b/api/ProcessMapClick.lua index 8d2b56c..7839f02 100644 --- a/api/ProcessMapClick.lua +++ b/api/ProcessMapClick.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param clickX number ---@param clickY number diff --git a/api/ProcessQuestLogRewardFactions.lua b/api/ProcessQuestLogRewardFactions.lua index fde4afc..bd52809 100644 --- a/api/ProcessQuestLogRewardFactions.lua +++ b/api/ProcessQuestLogRewardFactions.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ProcessQuestLogRewardFactions() end diff --git a/api/PromoteToAssistant.lua b/api/PromoteToAssistant.lua index e477ad0..1c43481 100644 --- a/api/PromoteToAssistant.lua +++ b/api/PromoteToAssistant.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---Promotes a raid member to raid assistant diff --git a/api/PromoteToLeader.lua b/api/PromoteToLeader.lua index 6ae0aa9..7994b3c 100644 --- a/api/PromoteToLeader.lua +++ b/api/PromoteToLeader.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/PurchaseSlot.lua b/api/PurchaseSlot.lua index 7209b15..6299ee6 100644 --- a/api/PurchaseSlot.lua +++ b/api/PurchaseSlot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Purchases the next available bank slot. Only available while interacting with a banker NPC (i.e. between the BANKFRAME_OPENED and BANKFRAME_CLOSED events). function PurchaseSlot() end diff --git a/api/PutItemInBackpack.lua b/api/PutItemInBackpack.lua index 29b494c..38e12b8 100644 --- a/api/PutItemInBackpack.lua +++ b/api/PutItemInBackpack.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hadItem ---Puts the item on the cursor into the player's backpack. The item will be placed in the lowest numbered slot (containerSlotID) in the player's backpack. Causes an error message (UI_ERROR_MESSAGE) if the backpack is full. diff --git a/api/PutItemInBag.lua b/api/PutItemInBag.lua index 1941987..38795b2 100644 --- a/api/PutItemInBag.lua +++ b/api/PutItemInBag.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param inventory number ---@return 1nil hadItem diff --git a/api/QueryAuctionItems.lua b/api/QueryAuctionItems.lua index bbc240e..8e52ac4 100644 --- a/api/QueryAuctionItems.lua +++ b/api/QueryAuctionItems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param minLevel number diff --git a/api/QueryGuildBankLog.lua b/api/QueryGuildBankLog.lua index e6c7b55..decc97f 100644 --- a/api/QueryGuildBankLog.lua +++ b/api/QueryGuildBankLog.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---Requests the item transaction log for a guild bank tab from the server. Fires the GUILDBANKLOG_UPDATE event when transaction log information becomes available. diff --git a/api/QueryGuildBankTab.lua b/api/QueryGuildBankTab.lua index 02364b8..f947358 100644 --- a/api/QueryGuildBankTab.lua +++ b/api/QueryGuildBankTab.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---Requests information about the contents of a guild bank tab from the server. Fires the GUILDBANKBAGSLOTS_CHANGED event when information about the tab's contents becomes available. diff --git a/api/QueryGuildBankText.lua b/api/QueryGuildBankText.lua index bde50b8..d62262e 100644 --- a/api/QueryGuildBankText.lua +++ b/api/QueryGuildBankText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---Requests guild bank tab info text from the server. The text is not returned immediately; the GUILDBANK_UPDATE_TEXT event fires when text is available for retrieval by the GetGuildBankText() function. diff --git a/api/QueryGuildEventLog.lua b/api/QueryGuildEventLog.lua index 4f10767..8578c57 100644 --- a/api/QueryGuildEventLog.lua +++ b/api/QueryGuildEventLog.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests guild event log information from the server. Fires the GUILD_EVENT_LOG_UPDATE event when event log information becomes available. function QueryGuildEventLog() end diff --git a/api/QueryGuildMembersForRecipe.lua b/api/QueryGuildMembersForRecipe.lua index 58c449e..286f749 100644 --- a/api/QueryGuildMembersForRecipe.lua +++ b/api/QueryGuildMembersForRecipe.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QueryGuildMembersForRecipe() end diff --git a/api/QueryGuildNews.lua b/api/QueryGuildNews.lua index 41a447d..338ff7c 100644 --- a/api/QueryGuildNews.lua +++ b/api/QueryGuildNews.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QueryGuildNews() end diff --git a/api/QueryGuildRecipes.lua b/api/QueryGuildRecipes.lua index 090d580..31ea25e 100644 --- a/api/QueryGuildRecipes.lua +++ b/api/QueryGuildRecipes.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QueryGuildRecipes() end diff --git a/api/QueryWorldCountdownTimer.lua b/api/QueryWorldCountdownTimer.lua index 1f34833..a0a9a1a 100644 --- a/api/QueryWorldCountdownTimer.lua +++ b/api/QueryWorldCountdownTimer.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QueryWorldCountdownTimer() end diff --git a/api/QuestChooseRewardError.lua b/api/QuestChooseRewardError.lua index f4ab1e0..e1d7f43 100644 --- a/api/QuestChooseRewardError.lua +++ b/api/QuestChooseRewardError.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Causes the default UI to display an error message indicating that the player must choose a reward to complete the quest presented by a questgiver. Fires a UI_ERROR_MESSAGE event containing a localized message identified by the global variable ERR_QUEST_MUST_CHOOSE. Choose wisely. function QuestChooseRewardError() end diff --git a/api/QuestFlagsPVP.lua b/api/QuestFlagsPVP.lua index a3dd08c..700eed4 100644 --- a/api/QuestFlagsPVP.lua +++ b/api/QuestFlagsPVP.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil questFlag ---Returns whether accepting the offered quest will flag the player for PvP. Only valid when the questgiver UI is showing the accept/decline stage of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED events); otherwise may return nil or a value from the most recently displayed quest. diff --git a/api/QuestGetAutoAccept.lua b/api/QuestGetAutoAccept.lua index 267641f..3300793 100644 --- a/api/QuestGetAutoAccept.lua +++ b/api/QuestGetAutoAccept.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QuestGetAutoAccept() end diff --git a/api/QuestGetAutoLaunched.lua b/api/QuestGetAutoLaunched.lua index 02caddc..b45ec38 100644 --- a/api/QuestGetAutoLaunched.lua +++ b/api/QuestGetAutoLaunched.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QuestGetAutoLaunched() end diff --git a/api/QuestHasPOIInfo.lua b/api/QuestHasPOIInfo.lua index 6cc3c75..40f3114 100644 --- a/api/QuestHasPOIInfo.lua +++ b/api/QuestHasPOIInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QuestHasPOIInfo() end diff --git a/api/QuestIsDaily.lua b/api/QuestIsDaily.lua index 30aeaee..fac3dac 100644 --- a/api/QuestIsDaily.lua +++ b/api/QuestIsDaily.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QuestIsDaily() end diff --git a/api/QuestIsFromAreaTrigger.lua b/api/QuestIsFromAreaTrigger.lua index 8176faa..501c4ba 100644 --- a/api/QuestIsFromAreaTrigger.lua +++ b/api/QuestIsFromAreaTrigger.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QuestIsFromAreaTrigger() end diff --git a/api/QuestIsWeekly.lua b/api/QuestIsWeekly.lua index f6753aa..f25c6f2 100644 --- a/api/QuestIsWeekly.lua +++ b/api/QuestIsWeekly.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QuestIsWeekly() end diff --git a/api/QuestLogPushQuest.lua b/api/QuestLogPushQuest.lua index a61e75c..79910b9 100644 --- a/api/QuestLogPushQuest.lua +++ b/api/QuestLogPushQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questIndex number ---Shares a quest with other group members diff --git a/api/QuestLogShouldShowPortrait.lua b/api/QuestLogShouldShowPortrait.lua index dfafe93..b433ae4 100644 --- a/api/QuestLogShouldShowPortrait.lua +++ b/api/QuestLogShouldShowPortrait.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QuestLogShouldShowPortrait() end diff --git a/api/QuestMapUpdateAllQuests.lua b/api/QuestMapUpdateAllQuests.lua index 153fa46..7c429b8 100644 --- a/api/QuestMapUpdateAllQuests.lua +++ b/api/QuestMapUpdateAllQuests.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QuestMapUpdateAllQuests() end diff --git a/api/QuestPOIGetIconInfo.lua b/api/QuestPOIGetIconInfo.lua index 42ac79b..31e289c 100644 --- a/api/QuestPOIGetIconInfo.lua +++ b/api/QuestPOIGetIconInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questID number ---@return unknown _ diff --git a/api/QuestPOIGetQuestIDByIndex.lua b/api/QuestPOIGetQuestIDByIndex.lua index 922f3b2..9731758 100644 --- a/api/QuestPOIGetQuestIDByIndex.lua +++ b/api/QuestPOIGetQuestIDByIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QuestPOIGetQuestIDByIndex() end diff --git a/api/QuestPOIGetQuestIDByVisibleIndex.lua b/api/QuestPOIGetQuestIDByVisibleIndex.lua index 5785122..131e903 100644 --- a/api/QuestPOIGetQuestIDByVisibleIndex.lua +++ b/api/QuestPOIGetQuestIDByVisibleIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QuestPOIGetQuestIDByVisibleIndex() end diff --git a/api/QuestPOIGetSecondaryLocations.lua b/api/QuestPOIGetSecondaryLocations.lua index 2ccc2a9..fd615cf 100644 --- a/api/QuestPOIGetSecondaryLocations.lua +++ b/api/QuestPOIGetSecondaryLocations.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QuestPOIGetSecondaryLocations() end diff --git a/api/QuestPOIUpdateIcons.lua b/api/QuestPOIUpdateIcons.lua index b955790..546f1cc 100644 --- a/api/QuestPOIUpdateIcons.lua +++ b/api/QuestPOIUpdateIcons.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function QuestPOIUpdateIcons() end diff --git a/api/Quit.lua b/api/Quit.lua index b4d0796..1df292f 100644 --- a/api/Quit.lua +++ b/api/Quit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Attempts to exit the World of Warcraft client. Results vary based on current conditions: If the player is in combat or under other temporary restrictions (e.g. falling), fires the UI_ERROR_MESSAGE event with a message indicating the player cannot log out at the moment. If the player is not in an inn, major city, or other "rest" area (i.e. IsResting() returns nil), fires the PLAYER_QUITING event, causing the default UI to show a countdown, quitting WoW after a period of time if not canceled. If the player is in a "rest" area, quits the game immediately. function Quit() end diff --git a/api/RaidProfileExists.lua b/api/RaidProfileExists.lua index 0951378..75afc27 100644 --- a/api/RaidProfileExists.lua +++ b/api/RaidProfileExists.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RaidProfileExists() end diff --git a/api/RaidProfileHasUnsavedChanges.lua b/api/RaidProfileHasUnsavedChanges.lua index 40ffc39..882f813 100644 --- a/api/RaidProfileHasUnsavedChanges.lua +++ b/api/RaidProfileHasUnsavedChanges.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RaidProfileHasUnsavedChanges() end diff --git a/api/RandomRoll.lua b/api/RandomRoll.lua index acb43d6..7f94d11 100644 --- a/api/RandomRoll.lua +++ b/api/RandomRoll.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param min number,string ---@param max number,string diff --git a/api/ReagentBankButtonIDToInvSlotID.lua b/api/ReagentBankButtonIDToInvSlotID.lua index e096d3b..880792b 100644 --- a/api/ReagentBankButtonIDToInvSlotID.lua +++ b/api/ReagentBankButtonIDToInvSlotID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ReagentBankButtonIDToInvSlotID() end diff --git a/api/RefreshLFGList.lua b/api/RefreshLFGList.lua index 8d13b80..d724099 100644 --- a/api/RefreshLFGList.lua +++ b/api/RefreshLFGList.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RefreshLFGList() end diff --git a/api/RefreshWorldMap.lua b/api/RefreshWorldMap.lua index 848b403..511dfcc 100644 --- a/api/RefreshWorldMap.lua +++ b/api/RefreshWorldMap.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RefreshWorldMap() end diff --git a/api/RegisterAddonMessagePrefix.lua b/api/RegisterAddonMessagePrefix.lua index 2e1e2c7..b71cd3b 100644 --- a/api/RegisterAddonMessagePrefix.lua +++ b/api/RegisterAddonMessagePrefix.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param prefix string ---@return boolean success diff --git a/api/RegisterCVar.lua b/api/RegisterCVar.lua index d7b3080..4db1495 100644 --- a/api/RegisterCVar.lua +++ b/api/RegisterCVar.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param cvar string ---@param default string diff --git a/api/RejectProposal.lua b/api/RejectProposal.lua index a4ba33d..cbcef6a 100644 --- a/api/RejectProposal.lua +++ b/api/RejectProposal.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Rejects a LFG dungeon invite. function RejectProposal() end diff --git a/api/ReloadUI.lua b/api/ReloadUI.lua index 2400ffe..edd6752 100644 --- a/api/ReloadUI.lua +++ b/api/ReloadUI.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Reloads the user interface. Saved variables are written to disk, the default UI is reloaded, and all enabled non-LoadOnDemand addons are loaded, including any addons previously disabled which were enabled during the session (see EnableAddOn() et al). function ReloadUI() end diff --git a/api/RemoveAutoQuestPopUp.lua b/api/RemoveAutoQuestPopUp.lua index df4ed57..50aadc7 100644 --- a/api/RemoveAutoQuestPopUp.lua +++ b/api/RemoveAutoQuestPopUp.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questId number ---Remove AutoQuestPopup diff --git a/api/RemoveChatWindowChannel.lua b/api/RemoveChatWindowChannel.lua index 90aa9f7..e3b663d 100644 --- a/api/RemoveChatWindowChannel.lua +++ b/api/RemoveChatWindowChannel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param channel string diff --git a/api/RemoveChatWindowMessages.lua b/api/RemoveChatWindowMessages.lua index 9e5dff5..9ab1c89 100644 --- a/api/RemoveChatWindowMessages.lua +++ b/api/RemoveChatWindowMessages.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param messageGroup string diff --git a/api/RemoveFriend.lua b/api/RemoveFriend.lua index cb183e7..6cc3017 100644 --- a/api/RemoveFriend.lua +++ b/api/RemoveFriend.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Removes a character from the friends list diff --git a/api/RemoveGlyphFromSocket.lua b/api/RemoveGlyphFromSocket.lua index c7d1486..f783ab2 100644 --- a/api/RemoveGlyphFromSocket.lua +++ b/api/RemoveGlyphFromSocket.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param socket number ---Removes the glyph from a socket diff --git a/api/RemoveItemFromArtifact.lua b/api/RemoveItemFromArtifact.lua index e0cd8b6..f2423ba 100644 --- a/api/RemoveItemFromArtifact.lua +++ b/api/RemoveItemFromArtifact.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RemoveItemFromArtifact() end diff --git a/api/RemoveQuestWatch.lua b/api/RemoveQuestWatch.lua index d4da9ca..3467286 100644 --- a/api/RemoveQuestWatch.lua +++ b/api/RemoveQuestWatch.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questIndex number ---Removes a quest from the objectives tracker diff --git a/api/RemoveTalent.lua b/api/RemoveTalent.lua index fb5df2b..08cb393 100644 --- a/api/RemoveTalent.lua +++ b/api/RemoveTalent.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RemoveTalent() end diff --git a/api/RemoveTrackedAchievement.lua b/api/RemoveTrackedAchievement.lua index d8db9ce..95891cc 100644 --- a/api/RemoveTrackedAchievement.lua +++ b/api/RemoveTrackedAchievement.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---Removes an achievement from the objectives tracker UI diff --git a/api/RenamePetition.lua b/api/RenamePetition.lua index 5cc4b55..26f4674 100644 --- a/api/RenamePetition.lua +++ b/api/RenamePetition.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Renames the guild or arena team to be created by the open petition diff --git a/api/RepairAllItems.lua b/api/RepairAllItems.lua index db263a0..052b6b1 100644 --- a/api/RepairAllItems.lua +++ b/api/RepairAllItems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param useGuildMoney 1nil ---Attempts to repair all of the player's damaged items diff --git a/api/ReplaceEnchant.lua b/api/ReplaceEnchant.lua index 6311783..0bdb7a9 100644 --- a/api/ReplaceEnchant.lua +++ b/api/ReplaceEnchant.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Confirms replacing an existing enchantment. Usable in response to the REPLACE_ENCHANT event which fires when the player attempts to apply a temporary or permanent enchantment to an item which already has one. function ReplaceEnchant() end diff --git a/api/ReplaceGuildMaster.lua b/api/ReplaceGuildMaster.lua index 646a2f8..d1ec784 100644 --- a/api/ReplaceGuildMaster.lua +++ b/api/ReplaceGuildMaster.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ReplaceGuildMaster() end diff --git a/api/ReplaceTradeEnchant.lua b/api/ReplaceTradeEnchant.lua index ac01242..bfc8d24 100644 --- a/api/ReplaceTradeEnchant.lua +++ b/api/ReplaceTradeEnchant.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Confirms replacement of an existing enchantment when offering an enchantment for trade. After confirming, the enchantment is not actually performed until both parties accept the trade. function ReplaceTradeEnchant() end diff --git a/api/RepopMe.lua b/api/RepopMe.lua index 26c6270..d3bdae2 100644 --- a/api/RepopMe.lua +++ b/api/RepopMe.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Releases the player's spirit to the nearest graveyard. Only has effect if the player is dead. function RepopMe() end diff --git a/api/ReportBug.lua b/api/ReportBug.lua index d25ddaa..c771dd4 100644 --- a/api/ReportBug.lua +++ b/api/ReportBug.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ReportBug() end diff --git a/api/ReportPlayer.lua b/api/ReportPlayer.lua index ab7615a..7374561 100644 --- a/api/ReportPlayer.lua +++ b/api/ReportPlayer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param reportType string ---@param lineID number diff --git a/api/ReportPlayerIsPVPAFK.lua b/api/ReportPlayerIsPVPAFK.lua index 4bdf699..953c933 100644 --- a/api/ReportPlayerIsPVPAFK.lua +++ b/api/ReportPlayerIsPVPAFK.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param unit string diff --git a/api/ReportSuggestion.lua b/api/ReportSuggestion.lua index ab2a9e4..1f49b2b 100644 --- a/api/ReportSuggestion.lua +++ b/api/ReportSuggestion.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ReportSuggestion() end diff --git a/api/RequestArtifactCompletionHistory.lua b/api/RequestArtifactCompletionHistory.lua index 0fff1ae..877a9fe 100644 --- a/api/RequestArtifactCompletionHistory.lua +++ b/api/RequestArtifactCompletionHistory.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Queries the server for the player's artifact completion history. This function will return immediately, and the ARTIFACT_HISTORY_READY will fire when the information is available from the server. function RequestArtifactCompletionHistory() end diff --git a/api/RequestBattlefieldScoreData.lua b/api/RequestBattlefieldScoreData.lua index d70805e..ad3f289 100644 --- a/api/RequestBattlefieldScoreData.lua +++ b/api/RequestBattlefieldScoreData.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests battlefield score data from the server. Score data is not returned immediately; the UPDATE_BATTLEFIELD_SCORE event fires once information is available and can be retrieved by calling GetBattlefieldScore() and related functions. function RequestBattlefieldScoreData() end diff --git a/api/RequestBattlegroundInstanceInfo.lua b/api/RequestBattlegroundInstanceInfo.lua index 7367701..ba9fa8b 100644 --- a/api/RequestBattlegroundInstanceInfo.lua +++ b/api/RequestBattlegroundInstanceInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Requests information about available instances of a battleground from the server. The PVPQUEUE_ANYWHERE_SHOW event fires once information is available; data can then be retrieved by calling GetNumBattlefields() and GetBattlefieldInstanceInfo(). diff --git a/api/RequestChallengeModeLeaders.lua b/api/RequestChallengeModeLeaders.lua index de1d8b7..2d4ce1b 100644 --- a/api/RequestChallengeModeLeaders.lua +++ b/api/RequestChallengeModeLeaders.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestChallengeModeLeaders() end diff --git a/api/RequestChallengeModeMapInfo.lua b/api/RequestChallengeModeMapInfo.lua index 972f450..83bf2b1 100644 --- a/api/RequestChallengeModeMapInfo.lua +++ b/api/RequestChallengeModeMapInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestChallengeModeMapInfo() end diff --git a/api/RequestChallengeModeRewards.lua b/api/RequestChallengeModeRewards.lua index 7565c1d..78f4b7a 100644 --- a/api/RequestChallengeModeRewards.lua +++ b/api/RequestChallengeModeRewards.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestChallengeModeRewards() end diff --git a/api/RequestGuildApplicantsList.lua b/api/RequestGuildApplicantsList.lua index 3d63231..a8bdee6 100644 --- a/api/RequestGuildApplicantsList.lua +++ b/api/RequestGuildApplicantsList.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestGuildApplicantsList() end diff --git a/api/RequestGuildChallengeInfo.lua b/api/RequestGuildChallengeInfo.lua index dce31b8..bcfc6b9 100644 --- a/api/RequestGuildChallengeInfo.lua +++ b/api/RequestGuildChallengeInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestGuildChallengeInfo() end diff --git a/api/RequestGuildMembership.lua b/api/RequestGuildMembership.lua index b75373e..50aa7c2 100644 --- a/api/RequestGuildMembership.lua +++ b/api/RequestGuildMembership.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestGuildMembership() end diff --git a/api/RequestGuildMembershipList.lua b/api/RequestGuildMembershipList.lua index 1080eba..a88ff4a 100644 --- a/api/RequestGuildMembershipList.lua +++ b/api/RequestGuildMembershipList.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestGuildMembershipList() end diff --git a/api/RequestGuildPartyState.lua b/api/RequestGuildPartyState.lua index 1411866..7c04e08 100644 --- a/api/RequestGuildPartyState.lua +++ b/api/RequestGuildPartyState.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestGuildPartyState() end diff --git a/api/RequestGuildRecruitmentSettings.lua b/api/RequestGuildRecruitmentSettings.lua index a766810..db623d6 100644 --- a/api/RequestGuildRecruitmentSettings.lua +++ b/api/RequestGuildRecruitmentSettings.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestGuildRecruitmentSettings() end diff --git a/api/RequestGuildRewards.lua b/api/RequestGuildRewards.lua index 85cc7bd..09024e0 100644 --- a/api/RequestGuildRewards.lua +++ b/api/RequestGuildRewards.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestGuildRewards() end diff --git a/api/RequestInspectHonorData.lua b/api/RequestInspectHonorData.lua index 9e860eb..84066fc 100644 --- a/api/RequestInspectHonorData.lua +++ b/api/RequestInspectHonorData.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests PvP honor and arena data from the server for the currently inspected unit. Once the INSPECT_HONOR_UPDATE event fires, PvP honor and arena information can be retrieved using GetInspectHonorData(team) and GetInspectArenaTeamData(). function RequestInspectHonorData() end diff --git a/api/RequestLFDPartyLockInfo.lua b/api/RequestLFDPartyLockInfo.lua index 3cecc49..7088c8d 100644 --- a/api/RequestLFDPartyLockInfo.lua +++ b/api/RequestLFDPartyLockInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestLFDPartyLockInfo() end diff --git a/api/RequestLFDPlayerLockInfo.lua b/api/RequestLFDPlayerLockInfo.lua index 5732e56..e897c31 100644 --- a/api/RequestLFDPlayerLockInfo.lua +++ b/api/RequestLFDPlayerLockInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests instance lockout and Call to Arms dungeon reward information.. When called the server will update the client on instance lockout and Call to Arms. The API will then return updated values instead of old once. Once LFG_UPDATE_RANDOM_INFO event is received it means that updated Call to Arms data is finally available for the client. function RequestLFDPlayerLockInfo() end diff --git a/api/RequestPVPOptionsEnabled.lua b/api/RequestPVPOptionsEnabled.lua index b6920ed..18d4a8b 100644 --- a/api/RequestPVPOptionsEnabled.lua +++ b/api/RequestPVPOptionsEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestPVPOptionsEnabled() end diff --git a/api/RequestPVPRewards.lua b/api/RequestPVPRewards.lua index e070ae9..837be54 100644 --- a/api/RequestPVPRewards.lua +++ b/api/RequestPVPRewards.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests informations about Conquest Point cap from the server. The text is not returned immediately; the PVP_REWARDS_UPDATE event fires when text is available for retrieval by the GetPVPRewards() function. function RequestPVPRewards() end diff --git a/api/RequestRaidInfo.lua b/api/RequestRaidInfo.lua index 879212c..2dcd5f9 100644 --- a/api/RequestRaidInfo.lua +++ b/api/RequestRaidInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests information about saved instances from the server. Data is not returned immediately; the UPDATE_INSTANCE_INFO event when the raid information is available for retrieval via GetSavedInstanceInfo() and related functions. function RequestRaidInfo() end diff --git a/api/RequestRandomBattlegroundInstanceInfo.lua b/api/RequestRandomBattlegroundInstanceInfo.lua index 41c22e5..a235cfc 100644 --- a/api/RequestRandomBattlegroundInstanceInfo.lua +++ b/api/RequestRandomBattlegroundInstanceInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestRandomBattlegroundInstanceInfo() end diff --git a/api/RequestRatedInfo.lua b/api/RequestRatedInfo.lua index 7a91090..f0283cb 100644 --- a/api/RequestRatedInfo.lua +++ b/api/RequestRatedInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestRatedInfo() end diff --git a/api/RequestRecruitingGuildsList.lua b/api/RequestRecruitingGuildsList.lua index 029041a..902f432 100644 --- a/api/RequestRecruitingGuildsList.lua +++ b/api/RequestRecruitingGuildsList.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequestRecruitingGuildsList() end diff --git a/api/RequestTimePlayed.lua b/api/RequestTimePlayed.lua index 69fa3c4..9bb18eb 100644 --- a/api/RequestTimePlayed.lua +++ b/api/RequestTimePlayed.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests information from the server about the player character's total time spent online. Information is not returned immediately; the TIME_PLAYED_MSG event fires when the requested data is available. function RequestTimePlayed() end diff --git a/api/RequeueSkirmish.lua b/api/RequeueSkirmish.lua index ba5c3b2..acd2e29 100644 --- a/api/RequeueSkirmish.lua +++ b/api/RequeueSkirmish.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RequeueSkirmish() end diff --git a/api/ResetAddOns.lua b/api/ResetAddOns.lua index 7985120..d9c3b54 100644 --- a/api/ResetAddOns.lua +++ b/api/ResetAddOns.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ResetAddOns() end diff --git a/api/ResetCPUUsage.lua b/api/ResetCPUUsage.lua index 9fc3a64..41490c4 100644 --- a/api/ResetCPUUsage.lua +++ b/api/ResetCPUUsage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Resets CPU usage statistics. Only has effect if the scriptProfile CVar is set to 1. function ResetCPUUsage() end diff --git a/api/ResetChallengeMode.lua b/api/ResetChallengeMode.lua index ef9b285..31cde86 100644 --- a/api/ResetChallengeMode.lua +++ b/api/ResetChallengeMode.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ResetChallengeMode() end diff --git a/api/ResetChatColors.lua b/api/ResetChatColors.lua index eb2d964..759f91a 100644 --- a/api/ResetChatColors.lua +++ b/api/ResetChatColors.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Removes all saved color settings for chat message types, resetting them to default values function ResetChatColors() end diff --git a/api/ResetChatWindows.lua b/api/ResetChatWindows.lua index 7eed7bd..50b9055 100644 --- a/api/ResetChatWindows.lua +++ b/api/ResetChatWindows.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Removes all saved chat window settings, resetting them to default values. Used by the default UI's function FCF_ ResetChatWindows() which resets the appearance and behavior of displayed FloatingChatFrames. function ResetChatWindows() end diff --git a/api/ResetCursor.lua b/api/ResetCursor.lua index 51eb2a1..361f7bb 100644 --- a/api/ResetCursor.lua +++ b/api/ResetCursor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns the cursor to its normal appearance (the glove pointer) and behavior. Has effect after the cursor image/mode has been changed via SetCursor(), ShowContainerSellCursor(), or similar. Has no immediately visible effect if the cursor is holding an item, spell, or other data. function ResetCursor() end diff --git a/api/ResetDisabledAddOns.lua b/api/ResetDisabledAddOns.lua index 759f754..e7cac23 100644 --- a/api/ResetDisabledAddOns.lua +++ b/api/ResetDisabledAddOns.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Reverts changes to the enabled/disabled state of addons. Any addons enabled or disabled in the current session will return to their enabled/disabled state as of the last login or UI reload. function ResetDisabledAddOns() end diff --git a/api/ResetInstances.lua b/api/ResetInstances.lua index e49922a..6430ca2 100644 --- a/api/ResetInstances.lua +++ b/api/ResetInstances.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Resets all non-saved instances associated with the player. Only instances to which the player is not saved may be reset (i.e. normal 5-man dungeons, not heroic dungeons or raids), and only by a solo player or group leader. function ResetInstances() end diff --git a/api/ResetPerformanceValues.lua b/api/ResetPerformanceValues.lua index 997bf19..591117e 100644 --- a/api/ResetPerformanceValues.lua +++ b/api/ResetPerformanceValues.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ResetPerformanceValues() end diff --git a/api/ResetSetMerchantFilter.lua b/api/ResetSetMerchantFilter.lua index ec35aa2..90663c5 100644 --- a/api/ResetSetMerchantFilter.lua +++ b/api/ResetSetMerchantFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Changes the filter applied to the merchant back to its default. The default filter is always "Class - All Specilizations" This is filter index 1 for use in GetMerchantFilter() and SetMerchantFilter() function ResetSetMerchantFilter() end diff --git a/api/ResetTutorials.lua b/api/ResetTutorials.lua index 5c4ca08..69debb4 100644 --- a/api/ResetTutorials.lua +++ b/api/ResetTutorials.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Enables contextual tutorial display and clears the list of already displayed tutorials. Tutorials that have already been shown to the player will appear again (via TUTORIAL_TRIGGER events) once their conditions are met. The first tutorial will appear again immediately. function ResetTutorials() end diff --git a/api/ResetView.lua b/api/ResetView.lua index 8b763a5..6633e62 100644 --- a/api/ResetView.lua +++ b/api/ResetView.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Resets a saved camera setting to default values. There are five "slots" for saved camera settings, indexed 1-5. These views can be set and accessed directly using SaveView() and SetView(), and cycled through using NextView() and PrevView(). diff --git a/api/ResistancePercent.lua b/api/ResistancePercent.lua index 0f722dd..b47e500 100644 --- a/api/ResistancePercent.lua +++ b/api/ResistancePercent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param ResistanceValue number ---@param CasterLevel number diff --git a/api/RespondInstanceLock.lua b/api/RespondInstanceLock.lua index 03d8aff..c2e25d9 100644 --- a/api/RespondInstanceLock.lua +++ b/api/RespondInstanceLock.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param response true ---@param false diff --git a/api/RespondMailLockSendItem.lua b/api/RespondMailLockSendItem.lua index d74ab9c..0a903b3 100644 --- a/api/RespondMailLockSendItem.lua +++ b/api/RespondMailLockSendItem.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RespondMailLockSendItem() end diff --git a/api/RestartGx.lua b/api/RestartGx.lua index 868a70f..f46575c 100644 --- a/api/RestartGx.lua +++ b/api/RestartGx.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Restart the client's graphic subsystem. Does not reload the UI. function RestartGx() end diff --git a/api/RestoreRaidProfileFromCopy.lua b/api/RestoreRaidProfileFromCopy.lua index d26e59a..1b66290 100644 --- a/api/RestoreRaidProfileFromCopy.lua +++ b/api/RestoreRaidProfileFromCopy.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function RestoreRaidProfileFromCopy() end diff --git a/api/ResurrectGetOfferer.lua b/api/ResurrectGetOfferer.lua index e2c6bbc..06e9bd7 100644 --- a/api/ResurrectGetOfferer.lua +++ b/api/ResurrectGetOfferer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return string name ---Returns the name of a unit offering to resurrect the player. Returns nil if no resurrection has been offered or if an offer has expired. diff --git a/api/ResurrectHasSickness.lua b/api/ResurrectHasSickness.lua index 14a721d..96fd9d6 100644 --- a/api/ResurrectHasSickness.lua +++ b/api/ResurrectHasSickness.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasSickness ---Returns whether accepting an offered resurrection spell will cause the player to suffer Resurrection Sickness. Usable following the RESURRECT_REQUEST event which fires when the player is offered resurrection by another unit. Generally always returns nil, as resurrection by other players does not cause sickness. diff --git a/api/ResurrectHasTimer.lua b/api/ResurrectHasTimer.lua index c227e0e..8fd254c 100644 --- a/api/ResurrectHasTimer.lua +++ b/api/ResurrectHasTimer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil hasTimer ---Returns whether the player must wait before resurrecting. Applies to resurrection spells offered by other units, resurrecting by returning to the player's corpse as a ghost, and to resurrecting at a graveyard's spirit healer, if the player has recently died several times in short succession. See GetCorpseRecoveryDelay() for the time remaining until the player can resurrect. diff --git a/api/RetrieveCorpse.lua b/api/RetrieveCorpse.lua index b302870..e9e25a5 100644 --- a/api/RetrieveCorpse.lua +++ b/api/RetrieveCorpse.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Confirms resurrection by returning to the player's corpse function RetrieveCorpse() end diff --git a/api/ReturnInboxItem.lua b/api/ReturnInboxItem.lua index 5ee0cd2..1a4aecd 100644 --- a/api/ReturnInboxItem.lua +++ b/api/ReturnInboxItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param mailID number ---Returns a message in the player's inbox to its sender diff --git a/api/RollOnLoot.lua b/api/RollOnLoot.lua index 1ad145a..45284f1 100644 --- a/api/RollOnLoot.lua +++ b/api/RollOnLoot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---@param rollType 3 diff --git a/api/RunBinding.lua b/api/RunBinding.lua index ae96286..ddfd033 100644 --- a/api/RunBinding.lua +++ b/api/RunBinding.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param COMMAND string ---Runs the script associated with a key binding action. Note: this function is not protected, but the scripts for many default key binding actions are (and can only be called by the Blizzard UI). diff --git a/api/RunMacro.lua b/api/RunMacro.lua index 0088e85..a4f13dc 100644 --- a/api/RunMacro.lua +++ b/api/RunMacro.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param name string diff --git a/api/RunMacroText.lua b/api/RunMacroText.lua index df7c4aa..f95f76f 100644 --- a/api/RunMacroText.lua +++ b/api/RunMacroText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param "text" string ---@param "button" string diff --git a/api/RunScript.lua b/api/RunScript.lua index 5ed88c0..84471a4 100644 --- a/api/RunScript.lua +++ b/api/RunScript.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param script string ---Runs a string as a Lua script diff --git a/api/SaveAddOns.lua b/api/SaveAddOns.lua index f6119b6..3c0dc2b 100644 --- a/api/SaveAddOns.lua +++ b/api/SaveAddOns.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SaveAddOns() end diff --git a/api/SaveBindings.lua b/api/SaveBindings.lua index c95558b..1837e7f 100644 --- a/api/SaveBindings.lua +++ b/api/SaveBindings.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param set 2 ---@param 1 diff --git a/api/SaveEquipmentSet.lua b/api/SaveEquipmentSet.lua index 9cebaf4..6418180 100644 --- a/api/SaveEquipmentSet.lua +++ b/api/SaveEquipmentSet.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param icon number diff --git a/api/SaveRaidProfileCopy.lua b/api/SaveRaidProfileCopy.lua index 77b5a4c..fb6f86a 100644 --- a/api/SaveRaidProfileCopy.lua +++ b/api/SaveRaidProfileCopy.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SaveRaidProfileCopy() end diff --git a/api/SaveView.lua b/api/SaveView.lua index bb4d119..d6d3299 100644 --- a/api/SaveView.lua +++ b/api/SaveView.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Saves the current camera settings. There are five "slots" for saved camera settings, indexed 1-5. These views can be set and accessed directly using SaveView() and SetView(), and cycled through using NextView() and PrevView(). diff --git a/api/Screenshot.lua b/api/Screenshot.lua index 3c9bad4..d7339ee 100644 --- a/api/Screenshot.lua +++ b/api/Screenshot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Saves an image of the current game display. Screenshot images are saved to the folder Screenshots within the folder where the World of Warcraft client is installed. Taking a screenshot fires the SCREENSHOT_SUCCEEDED event (or the SCREENSHOT_FAILED event in case of an error), which causes the default UI to display a message in the middle of the screen. Additional screenshots taken while this message is displayed will include it -- the default UI's TakeScreenshot() function hides this message so it is not included in screenshots. function Screenshot() end diff --git a/api/SearchGuildRecipes.lua b/api/SearchGuildRecipes.lua index 76c09df..132cb5c 100644 --- a/api/SearchGuildRecipes.lua +++ b/api/SearchGuildRecipes.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SearchGuildRecipes() end diff --git a/api/SearchLFGGetEncounterResults.lua b/api/SearchLFGGetEncounterResults.lua index 21c6e75..2c3bf55 100644 --- a/api/SearchLFGGetEncounterResults.lua +++ b/api/SearchLFGGetEncounterResults.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SearchLFGGetEncounterResults() end diff --git a/api/SearchLFGGetJoinedID.lua b/api/SearchLFGGetJoinedID.lua index c8a48bf..816d143 100644 --- a/api/SearchLFGGetJoinedID.lua +++ b/api/SearchLFGGetJoinedID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SearchLFGGetJoinedID() end diff --git a/api/SearchLFGGetNumResults.lua b/api/SearchLFGGetNumResults.lua index 1eeea21..2367365 100644 --- a/api/SearchLFGGetNumResults.lua +++ b/api/SearchLFGGetNumResults.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SearchLFGGetNumResults() end diff --git a/api/SearchLFGGetPartyResults.lua b/api/SearchLFGGetPartyResults.lua index c974170..eec46fd 100644 --- a/api/SearchLFGGetPartyResults.lua +++ b/api/SearchLFGGetPartyResults.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SearchLFGGetPartyResults() end diff --git a/api/SearchLFGGetResults.lua b/api/SearchLFGGetResults.lua index e6ca151..994c8be 100644 --- a/api/SearchLFGGetResults.lua +++ b/api/SearchLFGGetResults.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index ---@return name diff --git a/api/SearchLFGJoin.lua b/api/SearchLFGJoin.lua index 9c7e1d4..fe62503 100644 --- a/api/SearchLFGJoin.lua +++ b/api/SearchLFGJoin.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SearchLFGJoin() end diff --git a/api/SearchLFGLeave.lua b/api/SearchLFGLeave.lua index 9be5de9..725b840 100644 --- a/api/SearchLFGLeave.lua +++ b/api/SearchLFGLeave.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SearchLFGLeave() end diff --git a/api/SearchLFGSort.lua b/api/SearchLFGSort.lua index 6f2ec9a..7b91d40 100644 --- a/api/SearchLFGSort.lua +++ b/api/SearchLFGSort.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SearchLFGSort() end diff --git a/api/SecondsToTime.lua b/api/SecondsToTime.lua index 9e9ca56..5c98a83 100644 --- a/api/SecondsToTime.lua +++ b/api/SecondsToTime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param seconds number ---@param noSeconds boolean diff --git a/api/SecureCmdOptionParse.lua b/api/SecureCmdOptionParse.lua index 6a374c2..254c1f7 100644 --- a/api/SecureCmdOptionParse.lua +++ b/api/SecureCmdOptionParse.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param cmd string ---@return string action diff --git a/api/SelectActiveQuest.lua b/api/SelectActiveQuest.lua index 8ece8bf..6582cff 100644 --- a/api/SelectActiveQuest.lua +++ b/api/SelectActiveQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Selects a quest which can be turned in to the current Quest NPC. Usable after a QUEST_GREETING event. Causes the QUEST_PROGRESS event to fire, in which it is determined whether the player can complete the quest. Note: Most quest NPCs present active quests using the GetGossipActiveQuests() instead of this function. diff --git a/api/SelectAvailableQuest.lua b/api/SelectAvailableQuest.lua index 753e94c..080c46e 100644 --- a/api/SelectAvailableQuest.lua +++ b/api/SelectAvailableQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Chooses a quest available from the current Quest NPC. Causes the QUEST_DETAIL event to fire, in which the questgiver presents the player with the details of a quest and the option to accept or decline. Note: Most quest NPCs present available quests using the GetGossipAvailableQuests() instead of this function. diff --git a/api/SelectGossipActiveQuest.lua b/api/SelectGossipActiveQuest.lua index 44492fe..cc43047 100644 --- a/api/SelectGossipActiveQuest.lua +++ b/api/SelectGossipActiveQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Chooses a quest which can be turned in to the current Gossip NPC. Causes the QUEST_PROGRESS event to fire, in which it is determined whether the player can complete the quest. diff --git a/api/SelectGossipAvailableQuest.lua b/api/SelectGossipAvailableQuest.lua index 88e9255..b1f9ab8 100644 --- a/api/SelectGossipAvailableQuest.lua +++ b/api/SelectGossipAvailableQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Chooses a quest available from the current Gossip NPC. Usable after a QUEST_GREETING event. Causes the QUEST_DETAIL event to fire, in which the questgiver presents the player with the details of a quest and the option to accept or decline. diff --git a/api/SelectGossipOption.lua b/api/SelectGossipOption.lua index 6c8eab5..36194cf 100644 --- a/api/SelectGossipOption.lua +++ b/api/SelectGossipOption.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param text string diff --git a/api/SelectPackage.lua b/api/SelectPackage.lua index 6af4e0d..c1eceab 100644 --- a/api/SelectPackage.lua +++ b/api/SelectPackage.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SelectPackage() end diff --git a/api/SelectQuestLogEntry.lua b/api/SelectQuestLogEntry.lua index f59be8e..f130e55 100644 --- a/api/SelectQuestLogEntry.lua +++ b/api/SelectQuestLogEntry.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questIndex number ---Selects a quest from the quest log. The selected quest is used by other functions which do not take a quest index as argument (e.g. GetQuestLogQuestText()). diff --git a/api/SelectStationery.lua b/api/SelectStationery.lua index c8fbbfd..76ecca3 100644 --- a/api/SelectStationery.lua +++ b/api/SelectStationery.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Selects a given stationery for usage when sending mail. Has no effect; the stationery feature for sending mail is not implemented in the current version of World of Warcraft. diff --git a/api/SelectTradeSkill.lua b/api/SelectTradeSkill.lua index 702445d..9129da6 100644 --- a/api/SelectTradeSkill.lua +++ b/api/SelectTradeSkill.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Selects a recipe in the trade skill listing. Selection in the recipe list is used only for display in the default UI and has no effect on other Trade Skill APIs. diff --git a/api/SelectTrainerService.lua b/api/SelectTrainerService.lua index 06c29c9..bc18aa1 100644 --- a/api/SelectTrainerService.lua +++ b/api/SelectTrainerService.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Selects an entry in the trainer service listing. Selection in the service list is used only for display in the default UI and has no effect on other Trainer APIs. diff --git a/api/SelectedRealmName.lua b/api/SelectedRealmName.lua index 923d08c..266ce21 100644 --- a/api/SelectedRealmName.lua +++ b/api/SelectedRealmName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SelectedRealmName() end diff --git a/api/SendAddonMessage.lua b/api/SendAddonMessage.lua index a1465cb..ff66787 100644 --- a/api/SendAddonMessage.lua +++ b/api/SendAddonMessage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@alias chatType ---| "WHISPER" diff --git a/api/SendChatMessage.lua b/api/SendChatMessage.lua index d5d33a6..5473ead 100644 --- a/api/SendChatMessage.lua +++ b/api/SendChatMessage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@alias channel ---| 'CHANNEL' channel diff --git a/api/SendMail.lua b/api/SendMail.lua index d77e652..bd8aff2 100644 --- a/api/SendMail.lua +++ b/api/SendMail.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param recipient string ---@param subject string diff --git a/api/SendQuestChoiceResponse.lua b/api/SendQuestChoiceResponse.lua index e75d2ac..76e0d2e 100644 --- a/api/SendQuestChoiceResponse.lua +++ b/api/SendQuestChoiceResponse.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SendQuestChoiceResponse() end diff --git a/api/SendWho.lua b/api/SendWho.lua index 1500ae1..3de325d 100644 --- a/api/SendWho.lua +++ b/api/SendWho.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param filter string ---Requests a list of characters meeting given search criteria from the server. Text in the query will match against any of the six searchable fields unless one of the specifiers below is used; multiple specifiers can be used in one query. Queries are case insensitive. n-"name" - Search for characters whose name contains name c-"class" - Search for characters whose class name contains class g-"guild" - Search for characters in guilds whose name contains guild r-"race" - Search for characters whose race name contains race z-"zone" - Search for characters in zones whose name contains zone X - Search for characters of level X X- - Search for characters of level X or higher -X - Search for characters of level X or lower X-Y - Search for characters between levels X and Y (inclusive) Results are not available immediately; the CHAT_MSG_SYSTEM or WHO_LIST_UPDATE event fires when data is available, as determined by the SetWhoToUI() function. diff --git a/api/SetAbandonQuest.lua b/api/SetAbandonQuest.lua index b826da0..aa4dfe8 100644 --- a/api/SetAbandonQuest.lua +++ b/api/SetAbandonQuest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questIndex number ---Begins the process of abandoning a quest in the player's quest log. To finish abandoning the quest, call AbandonQuest(). This function must be called to select a quest in order for GetAbandonQuestItems() or GetAbandonQuestName() to return valid data. diff --git a/api/SetAchievementComparisonPortrait.lua b/api/SetAchievementComparisonPortrait.lua index ddae043..e527c1d 100644 --- a/api/SetAchievementComparisonPortrait.lua +++ b/api/SetAchievementComparisonPortrait.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetAchievementComparisonPortrait() end diff --git a/api/SetAchievementComparisonUnit.lua b/api/SetAchievementComparisonUnit.lua index 25e6375..0f6447c 100644 --- a/api/SetAchievementComparisonUnit.lua +++ b/api/SetAchievementComparisonUnit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit unitID ---@return 1nil success diff --git a/api/SetActionBarToggles.lua b/api/SetActionBarToggles.lua index 46a80dc..edf63a2 100644 --- a/api/SetActionBarToggles.lua +++ b/api/SetActionBarToggles.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param bar1 1nil ---@param bar2 1nil diff --git a/api/SetActionUIButton.lua b/api/SetActionUIButton.lua index b9b2727..7214f38 100644 --- a/api/SetActionUIButton.lua +++ b/api/SetActionUIButton.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetActionUIButton() end diff --git a/api/SetActiveSpecGroup.lua b/api/SetActiveSpecGroup.lua index 050e2a8..867b991 100644 --- a/api/SetActiveSpecGroup.lua +++ b/api/SetActiveSpecGroup.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetActiveSpecGroup() end diff --git a/api/SetActiveVoiceChannel.lua b/api/SetActiveVoiceChannel.lua index 5b79d6e..b6af311 100644 --- a/api/SetActiveVoiceChannel.lua +++ b/api/SetActiveVoiceChannel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Sets the currently active voice channel diff --git a/api/SetActiveVoiceChannelBySessionID.lua b/api/SetActiveVoiceChannelBySessionID.lua index 917971c..ec0456e 100644 --- a/api/SetActiveVoiceChannelBySessionID.lua +++ b/api/SetActiveVoiceChannelBySessionID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param session number ---Sets the currently active voice chat channel diff --git a/api/SetAddonVersionCheck.lua b/api/SetAddonVersionCheck.lua index 0e99839..b4529ab 100644 --- a/api/SetAddonVersionCheck.lua +++ b/api/SetAddonVersionCheck.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetAddonVersionCheck() end diff --git a/api/SetAllowLowLevelRaid.lua b/api/SetAllowLowLevelRaid.lua index 6b62f3a..0e36aee 100644 --- a/api/SetAllowLowLevelRaid.lua +++ b/api/SetAllowLowLevelRaid.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param enable boolean ---Enabling this if your character is below level 10 will allow you to join a raid group. diff --git a/api/SetAuctionsTabShowing.lua b/api/SetAuctionsTabShowing.lua index e67a4a6..352a9c4 100644 --- a/api/SetAuctionsTabShowing.lua +++ b/api/SetAuctionsTabShowing.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetAuctionsTabShowing() end diff --git a/api/SetAutoDeclineGuildInvites.lua b/api/SetAutoDeclineGuildInvites.lua index c344f48..f4b1f8b 100644 --- a/api/SetAutoDeclineGuildInvites.lua +++ b/api/SetAutoDeclineGuildInvites.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetAutoDeclineGuildInvites() end diff --git a/api/SetBackpackAutosortDisabled.lua b/api/SetBackpackAutosortDisabled.lua index 1e2af7c..45afffa 100644 --- a/api/SetBackpackAutosortDisabled.lua +++ b/api/SetBackpackAutosortDisabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetBackpackAutosortDisabled() end diff --git a/api/SetBagPortraitTexture.lua b/api/SetBagPortraitTexture.lua index 92d80d8..7fba4d7 100644 --- a/api/SetBagPortraitTexture.lua +++ b/api/SetBagPortraitTexture.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param texture table ---@param container number diff --git a/api/SetBagSlotFlag.lua b/api/SetBagSlotFlag.lua index 32f7e35..0b35066 100644 --- a/api/SetBagSlotFlag.lua +++ b/api/SetBagSlotFlag.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetBagSlotFlag() end diff --git a/api/SetBankAutosortDisabled.lua b/api/SetBankAutosortDisabled.lua index ed42394..e9e8bbd 100644 --- a/api/SetBankAutosortDisabled.lua +++ b/api/SetBankAutosortDisabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetBankAutosortDisabled() end diff --git a/api/SetBankBagSlotFlag.lua b/api/SetBankBagSlotFlag.lua index 8d5365d..12feaa1 100644 --- a/api/SetBankBagSlotFlag.lua +++ b/api/SetBankBagSlotFlag.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetBankBagSlotFlag() end diff --git a/api/SetBarSlotFromIntro.lua b/api/SetBarSlotFromIntro.lua index d613e20..1d71613 100644 --- a/api/SetBarSlotFromIntro.lua +++ b/api/SetBarSlotFromIntro.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetBarSlotFromIntro() end diff --git a/api/SetBarberShopAlternateFormFrame.lua b/api/SetBarberShopAlternateFormFrame.lua index 77e95b9..08e36fd 100644 --- a/api/SetBarberShopAlternateFormFrame.lua +++ b/api/SetBarberShopAlternateFormFrame.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetBarberShopAlternateFormFrame() end diff --git a/api/SetBattlefieldScoreFaction.lua b/api/SetBattlefieldScoreFaction.lua index 8cd5649..36d8e4e 100644 --- a/api/SetBattlefieldScoreFaction.lua +++ b/api/SetBattlefieldScoreFaction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param faction nil ---@param 0 diff --git a/api/SetBinding.lua b/api/SetBinding.lua index 33faebc..38812fa 100644 --- a/api/SetBinding.lua +++ b/api/SetBinding.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param key string ---@param command string diff --git a/api/SetBindingClick.lua b/api/SetBindingClick.lua index 98fad07..e50412f 100644 --- a/api/SetBindingClick.lua +++ b/api/SetBindingClick.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param key string ---@param buttonName string diff --git a/api/SetBindingItem.lua b/api/SetBindingItem.lua index 13c16ea..48f0acc 100644 --- a/api/SetBindingItem.lua +++ b/api/SetBindingItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param key string ---@param itemID number diff --git a/api/SetBindingMacro.lua b/api/SetBindingMacro.lua index a860551..54f609a 100644 --- a/api/SetBindingMacro.lua +++ b/api/SetBindingMacro.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param key string ---@param index number diff --git a/api/SetBindingSpell.lua b/api/SetBindingSpell.lua index e5c8335..64ac839 100644 --- a/api/SetBindingSpell.lua +++ b/api/SetBindingSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param key string ---@param spellname string diff --git a/api/SetBlacklistMap.lua b/api/SetBlacklistMap.lua index 80a46ec..c3b80b6 100644 --- a/api/SetBlacklistMap.lua +++ b/api/SetBlacklistMap.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetBlacklistMap() end diff --git a/api/SetCVar.lua b/api/SetCVar.lua index 232f7e3..5d5c0e0 100644 --- a/api/SetCVar.lua +++ b/api/SetCVar.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param cvar string ---@param value any diff --git a/api/SetCVarBitfield.lua b/api/SetCVarBitfield.lua index 61f1499..8d9dc14 100644 --- a/api/SetCVarBitfield.lua +++ b/api/SetCVarBitfield.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetCVarBitfield() end diff --git a/api/SetCemeteryPreference.lua b/api/SetCemeteryPreference.lua index 98ee15e..db97b54 100644 --- a/api/SetCemeteryPreference.lua +++ b/api/SetCemeteryPreference.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetCemeteryPreference() end diff --git a/api/SetChannelOwner.lua b/api/SetChannelOwner.lua index 12b57f7..ce89b6d 100644 --- a/api/SetChannelOwner.lua +++ b/api/SetChannelOwner.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel string ---@param fullname string diff --git a/api/SetChannelPassword.lua b/api/SetChannelPassword.lua index f152614..804e527 100644 --- a/api/SetChannelPassword.lua +++ b/api/SetChannelPassword.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param channel string ---@param password string diff --git a/api/SetChatColorNameByClass.lua b/api/SetChatColorNameByClass.lua index 38b0eb7..34f61f3 100644 --- a/api/SetChatColorNameByClass.lua +++ b/api/SetChatColorNameByClass.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param chatType string ---@param colorByName boolean diff --git a/api/SetChatWindowAlpha.lua b/api/SetChatWindowAlpha.lua index 6f5816f..4340463 100644 --- a/api/SetChatWindowAlpha.lua +++ b/api/SetChatWindowAlpha.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param alpha number diff --git a/api/SetChatWindowColor.lua b/api/SetChatWindowColor.lua index f043f1f..53c54ea 100644 --- a/api/SetChatWindowColor.lua +++ b/api/SetChatWindowColor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param r number diff --git a/api/SetChatWindowDocked.lua b/api/SetChatWindowDocked.lua index 10a22df..a8ce4df 100644 --- a/api/SetChatWindowDocked.lua +++ b/api/SetChatWindowDocked.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param docked boolean diff --git a/api/SetChatWindowLocked.lua b/api/SetChatWindowLocked.lua index 59ddeaa..5c5562b 100644 --- a/api/SetChatWindowLocked.lua +++ b/api/SetChatWindowLocked.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param locked boolean diff --git a/api/SetChatWindowName.lua b/api/SetChatWindowName.lua index 116d11d..9aced2f 100644 --- a/api/SetChatWindowName.lua +++ b/api/SetChatWindowName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param name string diff --git a/api/SetChatWindowSavedDimensions.lua b/api/SetChatWindowSavedDimensions.lua index 1d4f403..8c1696d 100644 --- a/api/SetChatWindowSavedDimensions.lua +++ b/api/SetChatWindowSavedDimensions.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetChatWindowSavedDimensions() end diff --git a/api/SetChatWindowSavedPosition.lua b/api/SetChatWindowSavedPosition.lua index 01e8107..20a508c 100644 --- a/api/SetChatWindowSavedPosition.lua +++ b/api/SetChatWindowSavedPosition.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetChatWindowSavedPosition() end diff --git a/api/SetChatWindowShown.lua b/api/SetChatWindowShown.lua index 9e1190c..6306eb2 100644 --- a/api/SetChatWindowShown.lua +++ b/api/SetChatWindowShown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param shown boolean diff --git a/api/SetChatWindowSize.lua b/api/SetChatWindowSize.lua index 9e473b0..ecb6f3b 100644 --- a/api/SetChatWindowSize.lua +++ b/api/SetChatWindowSize.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param size number diff --git a/api/SetChatWindowUninteractable.lua b/api/SetChatWindowUninteractable.lua index 028ecb7..e582501 100644 --- a/api/SetChatWindowUninteractable.lua +++ b/api/SetChatWindowUninteractable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param setUninteractable boolean diff --git a/api/SetConsoleKey.lua b/api/SetConsoleKey.lua index bf1285d..3a04e24 100644 --- a/api/SetConsoleKey.lua +++ b/api/SetConsoleKey.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetConsoleKey() end diff --git a/api/SetCurrencyBackpack.lua b/api/SetCurrencyBackpack.lua index a9be697..f7fe694 100644 --- a/api/SetCurrencyBackpack.lua +++ b/api/SetCurrencyBackpack.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param watch number diff --git a/api/SetCurrencyUnused.lua b/api/SetCurrencyUnused.lua index 1e1f472..0304836 100644 --- a/api/SetCurrencyUnused.lua +++ b/api/SetCurrencyUnused.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param makeUnused number diff --git a/api/SetCurrentGraphicsSetting.lua b/api/SetCurrentGraphicsSetting.lua index b2fc32e..e8cdb78 100644 --- a/api/SetCurrentGraphicsSetting.lua +++ b/api/SetCurrentGraphicsSetting.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetCurrentGraphicsSetting() end diff --git a/api/SetCurrentGuildBankTab.lua b/api/SetCurrentGuildBankTab.lua index 4c1c2c2..43a266f 100644 --- a/api/SetCurrentGuildBankTab.lua +++ b/api/SetCurrentGuildBankTab.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---Selects a tab in the guild bank diff --git a/api/SetCurrentTitle.lua b/api/SetCurrentTitle.lua index 6035fce..c4fb0a7 100644 --- a/api/SetCurrentTitle.lua +++ b/api/SetCurrentTitle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param titleIndex integer ---Changes a player's displayed title diff --git a/api/SetCursor.lua b/api/SetCursor.lua index 534d94b..7fba263 100644 --- a/api/SetCursor.lua +++ b/api/SetCursor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param cursor string ---Changes the mouse cursor image. Changes only the appearance of the mouse cursor, not its behavior (and has no effect if the cursor is holding an item, spell, or other data). Passing nil will revert the cursor to its default image. Normally used in a frame's OnEnter handler to change the cursor used while the mouse is over the frame. If used elsewhere, the cursor will likely be immediately reverted to default (due to the mouse handlers of other frames doing the same). diff --git a/api/SetDefaultVideoOptions.lua b/api/SetDefaultVideoOptions.lua index c8cc796..19e9c39 100644 --- a/api/SetDefaultVideoOptions.lua +++ b/api/SetDefaultVideoOptions.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetDefaultVideoOptions() end diff --git a/api/SetDungeonMapLevel.lua b/api/SetDungeonMapLevel.lua index 631913f..c6069f0 100644 --- a/api/SetDungeonMapLevel.lua +++ b/api/SetDungeonMapLevel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param level number ---Sets the world map to display a certain map image (for zones that use multiple map images). Used in zones with more than one "floor" or area such as Dalaran and several Wrath of the Lich King dungeons and raids. diff --git a/api/SetEuropeanNumbers.lua b/api/SetEuropeanNumbers.lua index 5834084..089a9f8 100644 --- a/api/SetEuropeanNumbers.lua +++ b/api/SetEuropeanNumbers.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param enable boolean ---Sets the decimal separator for displayed numbers. Affects the style not only of numbers displayed in the UI, but any string coercion of numbers with tostring() as well. diff --git a/api/SetEveryoneIsAssistant.lua b/api/SetEveryoneIsAssistant.lua index 10a3011..4bb963e 100644 --- a/api/SetEveryoneIsAssistant.lua +++ b/api/SetEveryoneIsAssistant.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetEveryoneIsAssistant() end diff --git a/api/SetFactionActive.lua b/api/SetFactionActive.lua index 824e1a7..76e7c74 100644 --- a/api/SetFactionActive.lua +++ b/api/SetFactionActive.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Removes the "inactive" status from a faction. "Inactive" factions behave no differently; the distinction only exists to allow players to hide factions they don't care about from the main display. Factions thus marked are automatically moved to an "Inactive" group at the end of the faction list. diff --git a/api/SetFactionInactive.lua b/api/SetFactionInactive.lua index 23be218..9322806 100644 --- a/api/SetFactionInactive.lua +++ b/api/SetFactionInactive.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Flags a faction as inactive. "Inactive" factions behave no differently; the distinction only exists to allow players to hide factions they don't care about from the main display. Factions thus marked are automatically moved to an "Inactive" group at the end of the faction list. diff --git a/api/SetFocusedAchievement.lua b/api/SetFocusedAchievement.lua index cbb2fdd..52074ba 100644 --- a/api/SetFocusedAchievement.lua +++ b/api/SetFocusedAchievement.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetFocusedAchievement() end diff --git a/api/SetFriendNotes.lua b/api/SetFriendNotes.lua index 7566282..5b0b6d9 100644 --- a/api/SetFriendNotes.lua +++ b/api/SetFriendNotes.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param name string diff --git a/api/SetGamma.lua b/api/SetGamma.lua index a9543e9..e00b8ca 100644 --- a/api/SetGamma.lua +++ b/api/SetGamma.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param value number ---Changes the display gamma setting. Gamma value determines the contrast between lighter and darker portions of the game display; for a detailed explanation see the Wikipedia article on Gamma corection. diff --git a/api/SetGlyphFilter.lua b/api/SetGlyphFilter.lua index 8d2677e..87c854b 100644 --- a/api/SetGlyphFilter.lua +++ b/api/SetGlyphFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetGlyphFilter() end diff --git a/api/SetGlyphNameFilter.lua b/api/SetGlyphNameFilter.lua index cadafb8..56bd671 100644 --- a/api/SetGlyphNameFilter.lua +++ b/api/SetGlyphNameFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetGlyphNameFilter() end diff --git a/api/SetGuildApplicantSelection.lua b/api/SetGuildApplicantSelection.lua index 62616f5..8dd2b0f 100644 --- a/api/SetGuildApplicantSelection.lua +++ b/api/SetGuildApplicantSelection.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetGuildApplicantSelection() end diff --git a/api/SetGuildBankTabInfo.lua b/api/SetGuildBankTabInfo.lua index adb9943..e3101e6 100644 --- a/api/SetGuildBankTabInfo.lua +++ b/api/SetGuildBankTabInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@param name string diff --git a/api/SetGuildBankTabItemWithdraw.lua b/api/SetGuildBankTabItemWithdraw.lua index 1875c07..94f7e23 100644 --- a/api/SetGuildBankTabItemWithdraw.lua +++ b/api/SetGuildBankTabItemWithdraw.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetGuildBankTabItemWithdraw() end diff --git a/api/SetGuildBankTabPermissions.lua b/api/SetGuildBankTabPermissions.lua index f0bfcdf..7bcbffb 100644 --- a/api/SetGuildBankTabPermissions.lua +++ b/api/SetGuildBankTabPermissions.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@param permission 2 diff --git a/api/SetGuildBankText.lua b/api/SetGuildBankText.lua index acb240d..4bec7b7 100644 --- a/api/SetGuildBankText.lua +++ b/api/SetGuildBankText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@param text string diff --git a/api/SetGuildBankWithdrawGoldLimit.lua b/api/SetGuildBankWithdrawGoldLimit.lua index b1e2e11..03c4b2f 100644 --- a/api/SetGuildBankWithdrawGoldLimit.lua +++ b/api/SetGuildBankWithdrawGoldLimit.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetGuildBankWithdrawGoldLimit() end diff --git a/api/SetGuildInfoText.lua b/api/SetGuildInfoText.lua index 2727eae..011bb52 100644 --- a/api/SetGuildInfoText.lua +++ b/api/SetGuildInfoText.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param text string ---Sets the guild information text.. This text appears when clicking the "Guild Information" button in the default UI's Guild window. diff --git a/api/SetGuildMemberRank.lua b/api/SetGuildMemberRank.lua index 510ff35..21d3dc2 100644 --- a/api/SetGuildMemberRank.lua +++ b/api/SetGuildMemberRank.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param rankIndex number diff --git a/api/SetGuildNewsFilter.lua b/api/SetGuildNewsFilter.lua index 25ca6f6..c86f354 100644 --- a/api/SetGuildNewsFilter.lua +++ b/api/SetGuildNewsFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetGuildNewsFilter() end diff --git a/api/SetGuildRecruitmentComment.lua b/api/SetGuildRecruitmentComment.lua index 2f528aa..a5fc1fb 100644 --- a/api/SetGuildRecruitmentComment.lua +++ b/api/SetGuildRecruitmentComment.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetGuildRecruitmentComment() end diff --git a/api/SetGuildRecruitmentSettings.lua b/api/SetGuildRecruitmentSettings.lua index 12114f0..fa0dd66 100644 --- a/api/SetGuildRecruitmentSettings.lua +++ b/api/SetGuildRecruitmentSettings.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetGuildRecruitmentSettings() end diff --git a/api/SetGuildRosterSelection.lua b/api/SetGuildRosterSelection.lua index ad53cf4..89528d7 100644 --- a/api/SetGuildRosterSelection.lua +++ b/api/SetGuildRosterSelection.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Selects a member in the guild roster. Selection in the guild roster is used only for display in the default UI and has no effect on other Guild APIs. diff --git a/api/SetGuildRosterShowOffline.lua b/api/SetGuildRosterShowOffline.lua index 3f2dc3c..730d184 100644 --- a/api/SetGuildRosterShowOffline.lua +++ b/api/SetGuildRosterShowOffline.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param showOffline boolean ---Enables or disables inclusion of offline members in the guild roster listing diff --git a/api/SetGuildTradeSkillCategoryFilter.lua b/api/SetGuildTradeSkillCategoryFilter.lua index df430a0..1e27221 100644 --- a/api/SetGuildTradeSkillCategoryFilter.lua +++ b/api/SetGuildTradeSkillCategoryFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetGuildTradeSkillCategoryFilter() end diff --git a/api/SetGuildTradeSkillItemNameFilter.lua b/api/SetGuildTradeSkillItemNameFilter.lua index c5ca5c6..7b0995d 100644 --- a/api/SetGuildTradeSkillItemNameFilter.lua +++ b/api/SetGuildTradeSkillItemNameFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetGuildTradeSkillItemNameFilter() end diff --git a/api/SetInsertItemsLeftToRight.lua b/api/SetInsertItemsLeftToRight.lua index 3a109ea..acf6182 100644 --- a/api/SetInsertItemsLeftToRight.lua +++ b/api/SetInsertItemsLeftToRight.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetInsertItemsLeftToRight() end diff --git a/api/SetInventoryPortraitTexture.lua b/api/SetInventoryPortraitTexture.lua index 1e27319..24d0b16 100644 --- a/api/SetInventoryPortraitTexture.lua +++ b/api/SetInventoryPortraitTexture.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param texture table ---@param unit string diff --git a/api/SetItemSearch.lua b/api/SetItemSearch.lua index e7112a8..6ef2e2c 100644 --- a/api/SetItemSearch.lua +++ b/api/SetItemSearch.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetItemSearch() end diff --git a/api/SetItemUpgradeFromCursorItem.lua b/api/SetItemUpgradeFromCursorItem.lua index 72960d8..d943c2b 100644 --- a/api/SetItemUpgradeFromCursorItem.lua +++ b/api/SetItemUpgradeFromCursorItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Puts an item into the item upgrade dialog. This function can currently only be called when at the upgrade merchant function SetItemUpgradeFromCursorItem() end diff --git a/api/SetLFGBonusFactionID.lua b/api/SetLFGBonusFactionID.lua index 92992ce..50e82d3 100644 --- a/api/SetLFGBonusFactionID.lua +++ b/api/SetLFGBonusFactionID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetLFGBonusFactionID() end diff --git a/api/SetLFGBootVote.lua b/api/SetLFGBootVote.lua index 2bcdc53..faa634d 100644 --- a/api/SetLFGBootVote.lua +++ b/api/SetLFGBootVote.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetLFGBootVote() end diff --git a/api/SetLFGComment.lua b/api/SetLFGComment.lua index 3ed5b92..6c5e46b 100644 --- a/api/SetLFGComment.lua +++ b/api/SetLFGComment.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param comment string ---Associates a brief text comment with the player's listing in the LFG system. In the default UI, other players see this comment when mousing over the player's name in the Looking for More listing. diff --git a/api/SetLFGDungeon.lua b/api/SetLFGDungeon.lua index 5515ce3..56f696e 100644 --- a/api/SetLFGDungeon.lua +++ b/api/SetLFGDungeon.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param queueIndex number ---Sets a flag indicating that the player would like to join a given dungeon/queue. This function simply indicates that the player would like to join a given dungeon or queue. Joining the queue is accomplished using the JoinLFG() function. Clearing the dungeons that have been flagged is accomplished using the ClearAllLFGDungeons function. diff --git a/api/SetLFGDungeonEnabled.lua b/api/SetLFGDungeonEnabled.lua index c4dda7d..018c779 100644 --- a/api/SetLFGDungeonEnabled.lua +++ b/api/SetLFGDungeonEnabled.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetLFGDungeonEnabled() end diff --git a/api/SetLFGHeaderCollapsed.lua b/api/SetLFGHeaderCollapsed.lua index c083cd1..51f7978 100644 --- a/api/SetLFGHeaderCollapsed.lua +++ b/api/SetLFGHeaderCollapsed.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetLFGHeaderCollapsed() end diff --git a/api/SetLFGRoles.lua b/api/SetLFGRoles.lua index 6e29339..cb913aa 100644 --- a/api/SetLFGRoles.lua +++ b/api/SetLFGRoles.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param leader boolean ---@param tank boolean diff --git a/api/SetLayoutMode.lua b/api/SetLayoutMode.lua index adcca44..981cded 100644 --- a/api/SetLayoutMode.lua +++ b/api/SetLayoutMode.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetLayoutMode() end diff --git a/api/SetLegacyRaidDifficultyID.lua b/api/SetLegacyRaidDifficultyID.lua index 6176da3..0860077 100644 --- a/api/SetLegacyRaidDifficultyID.lua +++ b/api/SetLegacyRaidDifficultyID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetLegacyRaidDifficultyID() end diff --git a/api/SetLookingForGuildComment.lua b/api/SetLookingForGuildComment.lua index bc438d0..6682d35 100644 --- a/api/SetLookingForGuildComment.lua +++ b/api/SetLookingForGuildComment.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetLookingForGuildComment() end diff --git a/api/SetLookingForGuildSettings.lua b/api/SetLookingForGuildSettings.lua index 0c40346..5b7f945 100644 --- a/api/SetLookingForGuildSettings.lua +++ b/api/SetLookingForGuildSettings.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetLookingForGuildSettings() end diff --git a/api/SetLootMethod.lua b/api/SetLootMethod.lua index 168ba86..0f83537 100644 --- a/api/SetLootMethod.lua +++ b/api/SetLootMethod.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param method roundrobin ---@param freeforall diff --git a/api/SetLootPortrait.lua b/api/SetLootPortrait.lua index 28fc297..1166712 100644 --- a/api/SetLootPortrait.lua +++ b/api/SetLootPortrait.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param texture table ---Sets a Texture object to show the appropriate portrait image when looting. Normally, the loot portrait image is the same as that of the creature being looted. Not used in the default UI -- a generic image for all loot is used instead. diff --git a/api/SetLootSpecialization.lua b/api/SetLootSpecialization.lua index 6b923a2..addae2b 100644 --- a/api/SetLootSpecialization.lua +++ b/api/SetLootSpecialization.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param specID number ---Sets the current loot specialization using a global specialization ID. If the argument is invalid or 0, the loot specialization will be set to Current Specialization, or automatic. diff --git a/api/SetLootThreshold.lua b/api/SetLootThreshold.lua index 0c19e22..2c2a3ca 100644 --- a/api/SetLootThreshold.lua +++ b/api/SetLootThreshold.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param threshold number ---Sets the threshold used for Master Looter, Group Loot, and Need Before Greed loot methods. Has no effect if the player is not the party or raid leader. Items above the threshold quality will trigger the special behavior of the current loot method: for Group Loot and Need Before Greed, rolling will automatically begin once a group member loots the corpse or object holding the item; for Master Loot, the item will be invisible to all but the loot master tasked with assigning the loot. The loot threshold defaults to 2 (Uncommon) when forming a new party/raid. Setting the threshold to 0 (Poor) or 1 (Common) has no effect -- qualities below Uncommon are always treated as below the threshold. The default UI only allows setting the threshold as high as 4 (Epic), but higher thresholds are allowed. diff --git a/api/SetMacroItem.lua b/api/SetMacroItem.lua index 402a110..89a3393 100644 --- a/api/SetMacroItem.lua +++ b/api/SetMacroItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param name string diff --git a/api/SetMacroSpell.lua b/api/SetMacroSpell.lua index c7f80a0..0b174a0 100644 --- a/api/SetMacroSpell.lua +++ b/api/SetMacroSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param name string diff --git a/api/SetMapByID.lua b/api/SetMapByID.lua index c85aa3e..1f16e84 100644 --- a/api/SetMapByID.lua +++ b/api/SetMapByID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param id number ---Sets the map based on a specified ID. For example, if you are an Undead character in the starting area, which is map ID 21, you can open your map and run SetMapByID(22) to change it to Western Plaguelands. In fact, you can run that anywhere If you are a fresh undead in tirisfal glades(MapAreaID:21), you get your map out, then you use SetMapByID(22) it will change to WPL diff --git a/api/SetMapToCurrentZone.lua b/api/SetMapToCurrentZone.lua index 185be25..2c805fa 100644 --- a/api/SetMapToCurrentZone.lua +++ b/api/SetMapToCurrentZone.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Sets the world map to show the zone in which the player is located function SetMapToCurrentZone() end diff --git a/api/SetMapZoom.lua b/api/SetMapZoom.lua index 58d6cef..741b16e 100644 --- a/api/SetMapZoom.lua +++ b/api/SetMapZoom.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param continentIndex 7 ---@param -1 diff --git a/api/SetMaxAnimFramerate.lua b/api/SetMaxAnimFramerate.lua index 738d80e..193a6a4 100644 --- a/api/SetMaxAnimFramerate.lua +++ b/api/SetMaxAnimFramerate.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetMaxAnimFramerate() end diff --git a/api/SetMerchantFilter.lua b/api/SetMerchantFilter.lua index ffa6010..339ee47 100644 --- a/api/SetMerchantFilter.lua +++ b/api/SetMerchantFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetMerchantFilter() end diff --git a/api/SetModifiedClick.lua b/api/SetModifiedClick.lua index 1d9f8ba..f54a415 100644 --- a/api/SetModifiedClick.lua +++ b/api/SetModifiedClick.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param action string ---@param binding string diff --git a/api/SetMouselookOverrideBinding.lua b/api/SetMouselookOverrideBinding.lua index 9fe9697..ae39170 100644 --- a/api/SetMouselookOverrideBinding.lua +++ b/api/SetMouselookOverrideBinding.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param key BUTTON2 ---@param BUTTON1 diff --git a/api/SetMultiCastSpell.lua b/api/SetMultiCastSpell.lua index 659d82d..1e3d32a 100644 --- a/api/SetMultiCastSpell.lua +++ b/api/SetMultiCastSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param action number ---@param spell number diff --git a/api/SetNamePlateMotionType.lua b/api/SetNamePlateMotionType.lua index da05bbc..65e3ef1 100644 --- a/api/SetNamePlateMotionType.lua +++ b/api/SetNamePlateMotionType.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetNamePlateMotionType() end diff --git a/api/SetNextBarberShopStyle.lua b/api/SetNextBarberShopStyle.lua index 98953c0..f288408 100644 --- a/api/SetNextBarberShopStyle.lua +++ b/api/SetNextBarberShopStyle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param styleIndex 3 ---@param 1 diff --git a/api/SetOptOutOfLoot.lua b/api/SetOptOutOfLoot.lua index 5c0454a..7bcc7f4 100644 --- a/api/SetOptOutOfLoot.lua +++ b/api/SetOptOutOfLoot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param enable boolean ---Changes the player's preference to opt out of loot rolls. When opting out, no prompt will be shown for loot which ordinarily would prompt the player to roll (need/greed) or pass; the loot rolling process will continue for other group members as if the player had chosen to pass on every roll. diff --git a/api/SetOverrideBinding.lua b/api/SetOverrideBinding.lua index a92b5e7..9c0b256 100644 --- a/api/SetOverrideBinding.lua +++ b/api/SetOverrideBinding.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner table ---@param isPriority boolean diff --git a/api/SetOverrideBindingClick.lua b/api/SetOverrideBindingClick.lua index 36f5663..12a4c5a 100644 --- a/api/SetOverrideBindingClick.lua +++ b/api/SetOverrideBindingClick.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner table ---@param isPriority boolean diff --git a/api/SetOverrideBindingItem.lua b/api/SetOverrideBindingItem.lua index 9caa4e3..eb748a3 100644 --- a/api/SetOverrideBindingItem.lua +++ b/api/SetOverrideBindingItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner table ---@param isPriority boolean diff --git a/api/SetOverrideBindingMacro.lua b/api/SetOverrideBindingMacro.lua index 3be690e..415e014 100644 --- a/api/SetOverrideBindingMacro.lua +++ b/api/SetOverrideBindingMacro.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner table ---@param isPriority boolean diff --git a/api/SetOverrideBindingSpell.lua b/api/SetOverrideBindingSpell.lua index 4f5a781..237a1c3 100644 --- a/api/SetOverrideBindingSpell.lua +++ b/api/SetOverrideBindingSpell.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param owner table ---@param isPriority boolean diff --git a/api/SetPVP.lua b/api/SetPVP.lua index 6a3d230..49a371d 100644 --- a/api/SetPVP.lua +++ b/api/SetPVP.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param state 1nil ---Enables or disables the player's desired PvP status. Enabling PvP takes effect immediately; disabling PvP begins a five-minute countdown after which PvP status will be disabled (if the player has taken no PvP actions). diff --git a/api/SetPVPRoles.lua b/api/SetPVPRoles.lua index c4dd77c..fdc0ee8 100644 --- a/api/SetPVPRoles.lua +++ b/api/SetPVPRoles.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetPVPRoles() end diff --git a/api/SetPartyAssignment.lua b/api/SetPartyAssignment.lua index 1b11951..9385be0 100644 --- a/api/SetPartyAssignment.lua +++ b/api/SetPartyAssignment.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param assignment MAINTANK ---@param MAINASSIST diff --git a/api/SetPendingReportPetTarget.lua b/api/SetPendingReportPetTarget.lua index b7b712b..5be3ba3 100644 --- a/api/SetPendingReportPetTarget.lua +++ b/api/SetPendingReportPetTarget.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetPendingReportPetTarget() end diff --git a/api/SetPendingReportTarget.lua b/api/SetPendingReportTarget.lua index e856e51..93e11a0 100644 --- a/api/SetPendingReportTarget.lua +++ b/api/SetPendingReportTarget.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---Sets the target for a yet-to-be-made report.. Used in the stock UI when the "Report player" button is clicked on a unit frame as the report reason form still has to be filled out and the unit associated with the unitID could change before it is submitted. diff --git a/api/SetPetSlot.lua b/api/SetPetSlot.lua index 941ccd1..1c27f83 100644 --- a/api/SetPetSlot.lua +++ b/api/SetPetSlot.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetPetSlot() end diff --git a/api/SetPetStablePaperdoll.lua b/api/SetPetStablePaperdoll.lua index 66d8219..23961e5 100644 --- a/api/SetPetStablePaperdoll.lua +++ b/api/SetPetStablePaperdoll.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param model table ---Sets the given Model to show the selected stabled pet diff --git a/api/SetPortraitTexture.lua b/api/SetPortraitTexture.lua index 14b3ba3..4b29200 100644 --- a/api/SetPortraitTexture.lua +++ b/api/SetPortraitTexture.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param texture table ---@param unit string diff --git a/api/SetPortraitToTexture.lua b/api/SetPortraitToTexture.lua index 072da61..f1e4064 100644 --- a/api/SetPortraitToTexture.lua +++ b/api/SetPortraitToTexture.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param frameName string ---@param texturePath string diff --git a/api/SetRaidDifficultyID.lua b/api/SetRaidDifficultyID.lua index 98490f9..500fff4 100644 --- a/api/SetRaidDifficultyID.lua +++ b/api/SetRaidDifficultyID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetRaidDifficultyID() end diff --git a/api/SetRaidProfileOption.lua b/api/SetRaidProfileOption.lua index dac9919..0f0ed6e 100644 --- a/api/SetRaidProfileOption.lua +++ b/api/SetRaidProfileOption.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetRaidProfileOption() end diff --git a/api/SetRaidProfileSavedPosition.lua b/api/SetRaidProfileSavedPosition.lua index 6b82a68..bdf3a3d 100644 --- a/api/SetRaidProfileSavedPosition.lua +++ b/api/SetRaidProfileSavedPosition.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetRaidProfileSavedPosition() end diff --git a/api/SetRaidSubgroup.lua b/api/SetRaidSubgroup.lua index 155dafb..9d22cb8 100644 --- a/api/SetRaidSubgroup.lua +++ b/api/SetRaidSubgroup.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param subgroup number diff --git a/api/SetRaidTarget.lua b/api/SetRaidTarget.lua index e17979f..680d3bb 100644 --- a/api/SetRaidTarget.lua +++ b/api/SetRaidTarget.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/SetRaidTargetProtected.lua b/api/SetRaidTargetProtected.lua index 37c7e92..cd7f9a8 100644 --- a/api/SetRaidTargetProtected.lua +++ b/api/SetRaidTargetProtected.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetRaidTargetProtected() end diff --git a/api/SetRecruitingGuildSelection.lua b/api/SetRecruitingGuildSelection.lua index 652626e..46450b2 100644 --- a/api/SetRecruitingGuildSelection.lua +++ b/api/SetRecruitingGuildSelection.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetRecruitingGuildSelection() end diff --git a/api/SetSavedInstanceExtend.lua b/api/SetSavedInstanceExtend.lua index d522164..4ffc1b7 100644 --- a/api/SetSavedInstanceExtend.lua +++ b/api/SetSavedInstanceExtend.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetSavedInstanceExtend() end diff --git a/api/SetScreenResolution.lua b/api/SetScreenResolution.lua index 4dd17e2..c0f90d8 100644 --- a/api/SetScreenResolution.lua +++ b/api/SetScreenResolution.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Changes the screen resolution diff --git a/api/SetSelectedArtifact.lua b/api/SetSelectedArtifact.lua index e4b2d2d..10993f2 100644 --- a/api/SetSelectedArtifact.lua +++ b/api/SetSelectedArtifact.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetSelectedArtifact() end diff --git a/api/SetSelectedAuctionItem.lua b/api/SetSelectedAuctionItem.lua index c93a23e..2b2d77d 100644 --- a/api/SetSelectedAuctionItem.lua +++ b/api/SetSelectedAuctionItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param list owner ---@param bidder diff --git a/api/SetSelectedDisplayChannel.lua b/api/SetSelectedDisplayChannel.lua index 5244c5c..e7d5909 100644 --- a/api/SetSelectedDisplayChannel.lua +++ b/api/SetSelectedDisplayChannel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Selects a channel in the channel list display diff --git a/api/SetSelectedFaction.lua b/api/SetSelectedFaction.lua index 3084840..ccb4431 100644 --- a/api/SetSelectedFaction.lua +++ b/api/SetSelectedFaction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Selects a faction in the reputation UI.   Selection has no bearing on other faction-related APIs; this function merely facilitates behaviors of Blizzard's reputation UI. diff --git a/api/SetSelectedFriend.lua b/api/SetSelectedFriend.lua index fa4c556..4087e9d 100644 --- a/api/SetSelectedFriend.lua +++ b/api/SetSelectedFriend.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Selects a character in the player's friends list. Selection in the Friends list is used only for display in the default UI and has no effect on other Friends list APIs. diff --git a/api/SetSelectedIgnore.lua b/api/SetSelectedIgnore.lua index aaecdb2..3c49c94 100644 --- a/api/SetSelectedIgnore.lua +++ b/api/SetSelectedIgnore.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Selects a character in the player's ignore list. Selection in the Ignore list is used only for display in the default UI and has no effect on other Ignore list APIs. diff --git a/api/SetSelectedMute.lua b/api/SetSelectedMute.lua index 6c84443..b217ec6 100644 --- a/api/SetSelectedMute.lua +++ b/api/SetSelectedMute.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Selects an entry in the Muted list. Mute list selection is only used for display purposes in the default UI and has no effect on other API functions. diff --git a/api/SetSelectedScreenResolutionIndex.lua b/api/SetSelectedScreenResolutionIndex.lua index 861d251..5955e13 100644 --- a/api/SetSelectedScreenResolutionIndex.lua +++ b/api/SetSelectedScreenResolutionIndex.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetSelectedScreenResolutionIndex() end diff --git a/api/SetSelectedWarGameType.lua b/api/SetSelectedWarGameType.lua index 5761c6f..ed0865f 100644 --- a/api/SetSelectedWarGameType.lua +++ b/api/SetSelectedWarGameType.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetSelectedWarGameType() end diff --git a/api/SetSendMailCOD.lua b/api/SetSendMailCOD.lua index ea3866c..083592c 100644 --- a/api/SetSendMailCOD.lua +++ b/api/SetSendMailCOD.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param amount number ---Sets the Cash-On-Delivery cost of the outgoing message. Called in the default UI when clicking its Send button, immediately before sending the mail. diff --git a/api/SetSendMailMoney.lua b/api/SetSendMailMoney.lua index 512fdb7..87b306b 100644 --- a/api/SetSendMailMoney.lua +++ b/api/SetSendMailMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param amount number ---@return 1nil success diff --git a/api/SetSendMailShowing.lua b/api/SetSendMailShowing.lua index 8571b2b..84aeba7 100644 --- a/api/SetSendMailShowing.lua +++ b/api/SetSendMailShowing.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param enable boolean ---Enables or disables shortcuts for attaching items to outgoing mail. When shortcuts are enabled, UseContainerItem() (i.e. right-click in the default UI's container frames) attaches the item to the outgoing message instead of using it. diff --git a/api/SetSortBagsRightToLeft.lua b/api/SetSortBagsRightToLeft.lua index 3f0f216..32dbdb4 100644 --- a/api/SetSortBagsRightToLeft.lua +++ b/api/SetSortBagsRightToLeft.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetSortBagsRightToLeft() end diff --git a/api/SetSpecialization.lua b/api/SetSpecialization.lua index d8f6d8d..b8abe8c 100644 --- a/api/SetSpecialization.lua +++ b/api/SetSpecialization.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetSpecialization() end diff --git a/api/SetSpellbookPetAction.lua b/api/SetSpellbookPetAction.lua index 323a662..38c5fcc 100644 --- a/api/SetSpellbookPetAction.lua +++ b/api/SetSpellbookPetAction.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetSpellbookPetAction() end diff --git a/api/SetSuperTrackedQuestID.lua b/api/SetSuperTrackedQuestID.lua index d5c5222..276ad4e 100644 --- a/api/SetSuperTrackedQuestID.lua +++ b/api/SetSuperTrackedQuestID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetSuperTrackedQuestID() end diff --git a/api/SetTaxiBenchmarkMode.lua b/api/SetTaxiBenchmarkMode.lua index 463d3db..b703c85 100644 --- a/api/SetTaxiBenchmarkMode.lua +++ b/api/SetTaxiBenchmarkMode.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param arg string ---Enables or disables flight path benchmark mode. When benchmark mode is enabled, the next taxi flight the player takes will behave differently: camera movement is disabled and players/creatures/objects below the flight path will not be shown (allowing for consistent test conditions). After the flight, framerate statistics will be printed in the chat window and benchmark mode will be automatically disabled. diff --git a/api/SetTaxiMap.lua b/api/SetTaxiMap.lua index f355a6d..f71e605 100644 --- a/api/SetTaxiMap.lua +++ b/api/SetTaxiMap.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param texture table ---Sets a Texture object to show the appropriate flight map texture. Only has effect while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). diff --git a/api/SetTracking.lua b/api/SetTracking.lua index 1e37288..93a2870 100644 --- a/api/SetTracking.lua +++ b/api/SetTracking.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param enabled boolean diff --git a/api/SetTradeCurrency.lua b/api/SetTradeCurrency.lua index 4a21a45..6c4eb3a 100644 --- a/api/SetTradeCurrency.lua +++ b/api/SetTradeCurrency.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetTradeCurrency() end diff --git a/api/SetTradeMoney.lua b/api/SetTradeMoney.lua index 14fe720..43928b0 100644 --- a/api/SetTradeMoney.lua +++ b/api/SetTradeMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param amount number ---Offers an amount of money for trade diff --git a/api/SetTradeSkillCategoryFilter.lua b/api/SetTradeSkillCategoryFilter.lua index c8f6e27..05f8cb2 100644 --- a/api/SetTradeSkillCategoryFilter.lua +++ b/api/SetTradeSkillCategoryFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Filters the trade skill listing by subclass of items produced diff --git a/api/SetTradeSkillInvSlotFilter.lua b/api/SetTradeSkillInvSlotFilter.lua index 8c3db04..cbc4a11 100644 --- a/api/SetTradeSkillInvSlotFilter.lua +++ b/api/SetTradeSkillInvSlotFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param enable number diff --git a/api/SetTradeSkillItemLevelFilter.lua b/api/SetTradeSkillItemLevelFilter.lua index 59b4c0c..022108c 100644 --- a/api/SetTradeSkillItemLevelFilter.lua +++ b/api/SetTradeSkillItemLevelFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param minLevel number ---@param maxLevel number diff --git a/api/SetTradeSkillItemNameFilter.lua b/api/SetTradeSkillItemNameFilter.lua index fab9eb2..f362d1f 100644 --- a/api/SetTradeSkillItemNameFilter.lua +++ b/api/SetTradeSkillItemNameFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param text string ---Filters the trade skill listing by name of recipe, item produced, or reagents. Uses a substring (not exact-match) search: e.g. for a Scribe, the search string "doc" might filter the list to show only Certificate of Ownership because it matches the word "documentation" in that item's tooltip; a search for "stam" will match all items providing a Stamina bonus. diff --git a/api/SetTradeSkillRepeatCount.lua b/api/SetTradeSkillRepeatCount.lua index 1f7183c..ff1c859 100644 --- a/api/SetTradeSkillRepeatCount.lua +++ b/api/SetTradeSkillRepeatCount.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SetTradeSkillRepeatCount() end diff --git a/api/SetTrainerServiceTypeFilter.lua b/api/SetTrainerServiceTypeFilter.lua index c3ea19d..201ac11 100644 --- a/api/SetTrainerServiceTypeFilter.lua +++ b/api/SetTrainerServiceTypeFilter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param type used ---@param available diff --git a/api/SetUIVisibility.lua b/api/SetUIVisibility.lua index 626a888..cac7398 100644 --- a/api/SetUIVisibility.lua +++ b/api/SetUIVisibility.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param visible boolean ---Enables or disables display of UI elements in the 3-D world. Applies only to 2-D UI elements displayed in the 3-D world: nameplates and raid target icons (skull, circle, square, etc). Does not directly control nameplates and target icons -- only affects whether they are displayed (see the nameplateShowEnemies/nameplateShowFriends CVars and SetRaidTarget functions for direct control). Does not apply to 3-D UI elements such as the selection circle, area-effect targeting indicator, vehicle weapon aim indicator, etc. diff --git a/api/SetView.lua b/api/SetView.lua index 17b042c..20fb057 100644 --- a/api/SetView.lua +++ b/api/SetView.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Moves the camera to a saved camera setting. There are five "slots" for saved camera settings, indexed 1-5. These views can be set and accessed directly using SaveView() and SetView(), and cycled through using NextView() and PrevView(). diff --git a/api/SetWatchedFactionIndex.lua b/api/SetWatchedFactionIndex.lua index 1e78fda..a47ddf4 100644 --- a/api/SetWatchedFactionIndex.lua +++ b/api/SetWatchedFactionIndex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Makes a faction the "watched" faction (displayed on the XP bar in the default UI) diff --git a/api/SetWhoToUI.lua b/api/SetWhoToUI.lua index f554380..c866d2f 100644 --- a/api/SetWhoToUI.lua +++ b/api/SetWhoToUI.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@alias WHO_LIST_UPDATE ---| '0' - CHAT_MSG_SYSTEM diff --git a/api/SetupFullscreenScale.lua b/api/SetupFullscreenScale.lua index b47fc54..7c2c3d9 100644 --- a/api/SetupFullscreenScale.lua +++ b/api/SetupFullscreenScale.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param frame table ---Sizes a frame to take up the entire screen regardless of screen resolution diff --git a/api/ShouldHideTalentsTab.lua b/api/ShouldHideTalentsTab.lua index 95a997e..765b4c2 100644 --- a/api/ShouldHideTalentsTab.lua +++ b/api/ShouldHideTalentsTab.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ShouldHideTalentsTab() end diff --git a/api/ShowAccountAchievements.lua b/api/ShowAccountAchievements.lua index e2d4b90..364abc4 100644 --- a/api/ShowAccountAchievements.lua +++ b/api/ShowAccountAchievements.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param show 1nil ---Enables or disables the display of only character achievements to others. This is when people inspect you or use the Battle.net website or mobile app. diff --git a/api/ShowBuybackSellCursor.lua b/api/ShowBuybackSellCursor.lua index 03347f2..e5e3266 100644 --- a/api/ShowBuybackSellCursor.lua +++ b/api/ShowBuybackSellCursor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Changes the cursor to prepare for repurchasing an item recently sold to a vendor. Only changes the cursor image and mode if the given index contains an item. diff --git a/api/ShowCloak.lua b/api/ShowCloak.lua index 3799dbd..577a141 100644 --- a/api/ShowCloak.lua +++ b/api/ShowCloak.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param show 1nil ---Enables or disables display of the player's cloak. Only affects the player's appearance; does not change the other effects of having the cloak equipped. Determines not only the appearance of the player character on the local client, but the way other players see the character as well. diff --git a/api/ShowContainerSellCursor.lua b/api/ShowContainerSellCursor.lua index 9cb2234..1891320 100644 --- a/api/ShowContainerSellCursor.lua +++ b/api/ShowContainerSellCursor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param slot number diff --git a/api/ShowFriends.lua b/api/ShowFriends.lua index cc41dff..b4b6a42 100644 --- a/api/ShowFriends.lua +++ b/api/ShowFriends.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Requests friends/ignore list information from the server. Information is not returned immediately; the FRIENDLIST_UPDATE event fires when data becomes available for use by Friends/Ignore API functions. function ShowFriends() end diff --git a/api/ShowHelm.lua b/api/ShowHelm.lua index dc3aab3..2558ec2 100644 --- a/api/ShowHelm.lua +++ b/api/ShowHelm.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param show 1nil ---Enables or disables display of the player's headgear. Only affects the player's appearance; does not change the other effects of having the headgear equipped. Determines not only the appearance of the player character on the local client, but the way other players see the character as well. diff --git a/api/ShowInventorySellCursor.lua b/api/ShowInventorySellCursor.lua index 4dbd14e..62dcc29 100644 --- a/api/ShowInventorySellCursor.lua +++ b/api/ShowInventorySellCursor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---Changes the cursor to prepare for selling an equipped item to a vendor. Only changes the cursor image and mode if the given slot contains an item. (Unlike ShowContainerSellCursor(), does not change the behavior of other functions to enable selling of items. Unused in the default UI.) diff --git a/api/ShowMerchantSellCursor.lua b/api/ShowMerchantSellCursor.lua index f9b8d57..ceac9f0 100644 --- a/api/ShowMerchantSellCursor.lua +++ b/api/ShowMerchantSellCursor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Changes the cursor to prepare for buying an item from a vendor. Only changes the cursor image and mode if the given index contains an item. diff --git a/api/ShowQuestComplete.lua b/api/ShowQuestComplete.lua index 0904ef2..761f485 100644 --- a/api/ShowQuestComplete.lua +++ b/api/ShowQuestComplete.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ShowQuestComplete() end diff --git a/api/ShowQuestOffer.lua b/api/ShowQuestOffer.lua index d629106..5638365 100644 --- a/api/ShowQuestOffer.lua +++ b/api/ShowQuestOffer.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ShowQuestOffer() end diff --git a/api/ShowRepairCursor.lua b/api/ShowRepairCursor.lua index 5149573..b280060 100644 --- a/api/ShowRepairCursor.lua +++ b/api/ShowRepairCursor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Puts the cursor in item repair mode. Unlike most other cursor functions, this functions changes the behavior as well as the appearance of the mouse cursor: while repair mode is active, calling PickupContainerItem() or PickupInventoryItem() will attempt to repair the item (and deduct the cost of such from the player's savings) instead of putting it on the cursor. Only has effect while the player is interacting with a vendor which can perform repairs; i.e. between the MERCHANT_SHOW and MERCHANT_CLOSED events, and only if CanMerchantRepair() returns 1. function ShowRepairCursor() end diff --git a/api/ShowingCloak.lua b/api/ShowingCloak.lua index 78aefc3..36e5e10 100644 --- a/api/ShowingCloak.lua +++ b/api/ShowingCloak.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isShown ---Returns whether the player's cloak is displayed. Determines not only the appearance of the player character on the local client, but the way other players see the character as well. diff --git a/api/ShowingHelm.lua b/api/ShowingHelm.lua index a069aef..c6418c9 100644 --- a/api/ShowingHelm.lua +++ b/api/ShowingHelm.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isShown ---Returns whether the player's headgear is displayed. Determines not only the appearance of the player character on the local client, but the way other players see the character as well. diff --git a/api/SignPetition.lua b/api/SignPetition.lua index ae025b5..7369832 100644 --- a/api/SignPetition.lua +++ b/api/SignPetition.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Signs the currently offered petition function SignPetition() end diff --git a/api/SitStandOrDescendStart.lua b/api/SitStandOrDescendStart.lua index 3ae5d86..4dea1d1 100644 --- a/api/SitStandOrDescendStart.lua +++ b/api/SitStandOrDescendStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Causes the player character to sit down if standing and vice versa (or begins descent if swimming or flying). Used by the SITORSTAND binding, which also controls descent when swimming or flying. function SitStandOrDescendStart() end diff --git a/api/SocketContainerItem.lua b/api/SocketContainerItem.lua index 04ed07e..7ff34ee 100644 --- a/api/SocketContainerItem.lua +++ b/api/SocketContainerItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param slot number diff --git a/api/SocketInventoryItem.lua b/api/SocketInventoryItem.lua index 277b46a..f07ad4e 100644 --- a/api/SocketInventoryItem.lua +++ b/api/SocketInventoryItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---Opens an equipped item for socketing diff --git a/api/SocketItemToArtifact.lua b/api/SocketItemToArtifact.lua index 0ba9d89..cc788a9 100644 --- a/api/SocketItemToArtifact.lua +++ b/api/SocketItemToArtifact.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SocketItemToArtifact() end diff --git a/api/SolveArtifact.lua b/api/SolveArtifact.lua index 45b4dd4..5e45865 100644 --- a/api/SolveArtifact.lua +++ b/api/SolveArtifact.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Performs the solve archaeology spell. Used to start the cast of a solve archaeology spell on the named fragment type. SolveArtifact() Dwarf, Draenei, Fossil, Night Elf, Nerubian, Orc, Tol'vir, Troll, Vrykul, Mantid,Pandaren, Mogu, Arakkoa, Draenor Clans, Ogre function SolveArtifact() end diff --git a/api/SortAuctionApplySort.lua b/api/SortAuctionApplySort.lua index 44e884c..19f1195 100644 --- a/api/SortAuctionApplySort.lua +++ b/api/SortAuctionApplySort.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param list owner ---@param bidder diff --git a/api/SortAuctionClearSort.lua b/api/SortAuctionClearSort.lua index c6ec5e7..944ee4b 100644 --- a/api/SortAuctionClearSort.lua +++ b/api/SortAuctionClearSort.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param list owner ---@param bidder diff --git a/api/SortAuctionItems.lua b/api/SortAuctionItems.lua index a63836d..ae11cee 100644 --- a/api/SortAuctionItems.lua +++ b/api/SortAuctionItems.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param type owner ---@param bidder diff --git a/api/SortAuctionSetSort.lua b/api/SortAuctionSetSort.lua index a8e5ba1..a36dfa7 100644 --- a/api/SortAuctionSetSort.lua +++ b/api/SortAuctionSetSort.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param list owner ---@param bidder diff --git a/api/SortBags.lua b/api/SortBags.lua index a476676..e094570 100644 --- a/api/SortBags.lua +++ b/api/SortBags.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SortBags() end diff --git a/api/SortBankBags.lua b/api/SortBankBags.lua index ecff9ec..d962add 100644 --- a/api/SortBankBags.lua +++ b/api/SortBankBags.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Sorts Bank Bags. Only available while interacting with a banker NPC (i.e. between the BANKFRAMEOPENED and BANKFRAMECLOSED events). function SortBankBags() end diff --git a/api/SortBattlefieldScoreData.lua b/api/SortBattlefieldScoreData.lua index 9631062..39268d6 100644 --- a/api/SortBattlefieldScoreData.lua +++ b/api/SortBattlefieldScoreData.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param sortType team ---@param class diff --git a/api/SortGuildRoster.lua b/api/SortGuildRoster.lua index 86b474e..e2958f4 100644 --- a/api/SortGuildRoster.lua +++ b/api/SortGuildRoster.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param type zone ---@param class diff --git a/api/SortGuildTradeSkill.lua b/api/SortGuildTradeSkill.lua index 4914ac8..5210c62 100644 --- a/api/SortGuildTradeSkill.lua +++ b/api/SortGuildTradeSkill.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SortGuildTradeSkill() end diff --git a/api/SortQuestWatches.lua b/api/SortQuestWatches.lua index 4cd9705..e984bc2 100644 --- a/api/SortQuestWatches.lua +++ b/api/SortQuestWatches.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean changed ---Sorts the quests listed in the watch frame based on the set criteria diff --git a/api/SortReagentBankBags.lua b/api/SortReagentBankBags.lua index ec8955b..ba987be 100644 --- a/api/SortReagentBankBags.lua +++ b/api/SortReagentBankBags.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Sorts Reagent Bank. Only available while interacting with a banker NPC (i.e. between the BANKFRAMEOPENED and BANKFRAMECLOSED events). function SortReagentBankBags() end diff --git a/api/SortWho.lua b/api/SortWho.lua index d32c716..92f9c4f 100644 --- a/api/SortWho.lua +++ b/api/SortWho.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param sortType zone ---@param class diff --git a/api/Sound_ChatSystem_GetInputDriverNameByIndex.lua b/api/Sound_ChatSystem_GetInputDriverNameByIndex.lua index 9080feb..415c9e5 100644 --- a/api/Sound_ChatSystem_GetInputDriverNameByIndex.lua +++ b/api/Sound_ChatSystem_GetInputDriverNameByIndex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Returns the name of the given chat system sound input driver diff --git a/api/Sound_ChatSystem_GetNumInputDrivers.lua b/api/Sound_ChatSystem_GetNumInputDrivers.lua index 83d3488..3dfb005 100644 --- a/api/Sound_ChatSystem_GetNumInputDrivers.lua +++ b/api/Sound_ChatSystem_GetNumInputDrivers.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns the number of chat system sound input drivers function Sound_ChatSystem_GetNumInputDrivers() end diff --git a/api/Sound_ChatSystem_GetNumOutputDrivers.lua b/api/Sound_ChatSystem_GetNumOutputDrivers.lua index d7156b2..61fe3fd 100644 --- a/api/Sound_ChatSystem_GetNumOutputDrivers.lua +++ b/api/Sound_ChatSystem_GetNumOutputDrivers.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns the number of chat system sound output drivers function Sound_ChatSystem_GetNumOutputDrivers() end diff --git a/api/Sound_ChatSystem_GetOutputDriverNameByIndex.lua b/api/Sound_ChatSystem_GetOutputDriverNameByIndex.lua index 4b7ae46..56de000 100644 --- a/api/Sound_ChatSystem_GetOutputDriverNameByIndex.lua +++ b/api/Sound_ChatSystem_GetOutputDriverNameByIndex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Returns the name of the given chat system sound output driver diff --git a/api/Sound_GameSystem_GetInputDriverNameByIndex.lua b/api/Sound_GameSystem_GetInputDriverNameByIndex.lua index 0f07a47..907113a 100644 --- a/api/Sound_GameSystem_GetInputDriverNameByIndex.lua +++ b/api/Sound_GameSystem_GetInputDriverNameByIndex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Returns the name of the given game sound input driver diff --git a/api/Sound_GameSystem_GetNumInputDrivers.lua b/api/Sound_GameSystem_GetNumInputDrivers.lua index 0865ae3..67d767d 100644 --- a/api/Sound_GameSystem_GetNumInputDrivers.lua +++ b/api/Sound_GameSystem_GetNumInputDrivers.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns the number of game sound input drivers function Sound_GameSystem_GetNumInputDrivers() end diff --git a/api/Sound_GameSystem_GetNumOutputDrivers.lua b/api/Sound_GameSystem_GetNumOutputDrivers.lua index 59a0ba9..8052ba5 100644 --- a/api/Sound_GameSystem_GetNumOutputDrivers.lua +++ b/api/Sound_GameSystem_GetNumOutputDrivers.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Returns the number of game sound output drivers function Sound_GameSystem_GetNumOutputDrivers() end diff --git a/api/Sound_GameSystem_GetOutputDriverNameByIndex.lua b/api/Sound_GameSystem_GetOutputDriverNameByIndex.lua index f4bc165..949ca59 100644 --- a/api/Sound_GameSystem_GetOutputDriverNameByIndex.lua +++ b/api/Sound_GameSystem_GetOutputDriverNameByIndex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Returns the name of the given game sound output driver diff --git a/api/Sound_GameSystem_RestartSoundSystem.lua b/api/Sound_GameSystem_RestartSoundSystem.lua index 4398b2f..5174016 100644 --- a/api/Sound_GameSystem_RestartSoundSystem.lua +++ b/api/Sound_GameSystem_RestartSoundSystem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Restarts the game's sound systems function Sound_GameSystem_RestartSoundSystem() end diff --git a/api/SpellCanTargetGlyph.lua b/api/SpellCanTargetGlyph.lua index bdbe8a6..671a103 100644 --- a/api/SpellCanTargetGlyph.lua +++ b/api/SpellCanTargetGlyph.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canTarget ---Returns whether the spell currently awaiting a target requires a glyph slot to be chosen. Only applies when the player has attempted to cast a spell -- in this case, the "spell" cast when one uses a glyph item -- but the spell requires a target before it can begin casting (i.e. the glowing hand cursor is showing). diff --git a/api/SpellCanTargetItem.lua b/api/SpellCanTargetItem.lua index 25419ab..2c1c837 100644 --- a/api/SpellCanTargetItem.lua +++ b/api/SpellCanTargetItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil canTarget ---Returns whether the spell currently awaiting a target requires an item to be chosen. Only applies when the player has attempted to cast a spell but the spell requires a target before it can begin casting (i.e. the glowing hand cursor is showing). diff --git a/api/SpellCanTargetUnit.lua b/api/SpellCanTargetUnit.lua index dae175a..9336d09 100644 --- a/api/SpellCanTargetUnit.lua +++ b/api/SpellCanTargetUnit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/SpellCancelQueuedSpell.lua b/api/SpellCancelQueuedSpell.lua index 1b4f6ed..7d82041 100644 --- a/api/SpellCancelQueuedSpell.lua +++ b/api/SpellCancelQueuedSpell.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SpellCancelQueuedSpell() end diff --git a/api/SpellGetVisibilityInfo.lua b/api/SpellGetVisibilityInfo.lua index 41ae245..bc5e310 100644 --- a/api/SpellGetVisibilityInfo.lua +++ b/api/SpellGetVisibilityInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SpellGetVisibilityInfo() end diff --git a/api/SpellHasRange.lua b/api/SpellHasRange.lua index 21d4193..56e698e 100644 --- a/api/SpellHasRange.lua +++ b/api/SpellHasRange.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/SpellIsAlwaysShown.lua b/api/SpellIsAlwaysShown.lua index 43b41c3..902c0d8 100644 --- a/api/SpellIsAlwaysShown.lua +++ b/api/SpellIsAlwaysShown.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SpellIsAlwaysShown() end diff --git a/api/SpellIsSelfBuff.lua b/api/SpellIsSelfBuff.lua index e803106..6888497 100644 --- a/api/SpellIsSelfBuff.lua +++ b/api/SpellIsSelfBuff.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param spellID integer ---@return boolean state diff --git a/api/SpellIsTargeting.lua b/api/SpellIsTargeting.lua index 20897da..210e462 100644 --- a/api/SpellIsTargeting.lua +++ b/api/SpellIsTargeting.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isTargeting ---Returns whether a spell is currently awaiting a target diff --git a/api/SpellStopCasting.lua b/api/SpellStopCasting.lua index 236b780..baf2bd8 100644 --- a/api/SpellStopCasting.lua +++ b/api/SpellStopCasting.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Stops casting or targeting the spell in progress function SpellStopCasting() end diff --git a/api/SpellStopTargeting.lua b/api/SpellStopTargeting.lua index e49a85a..308ed97 100644 --- a/api/SpellStopTargeting.lua +++ b/api/SpellStopTargeting.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Cancels the spell currently awaiting a target. When auto-self cast is not enabled and the player casts a spell that requires a target, the cursor changes to a glowing hand so the user can select a target. This function cancels targeting mode so the player can cast another spell. function SpellStopTargeting() end diff --git a/api/SpellTargetItem.lua b/api/SpellTargetItem.lua index 433aba9..74834c5 100644 --- a/api/SpellTargetItem.lua +++ b/api/SpellTargetItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/SpellTargetUnit.lua b/api/SpellTargetUnit.lua index 7881842..4876c8c 100644 --- a/api/SpellTargetUnit.lua +++ b/api/SpellTargetUnit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/SplitContainerItem.lua b/api/SplitContainerItem.lua index 2843be1..9ea426b 100644 --- a/api/SplitContainerItem.lua +++ b/api/SplitContainerItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param slot number diff --git a/api/SplitGuildBankItem.lua b/api/SplitGuildBankItem.lua index 43f1dee..611a88c 100644 --- a/api/SplitGuildBankItem.lua +++ b/api/SplitGuildBankItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param tab number ---@param slot number diff --git a/api/StartAttack.lua b/api/StartAttack.lua index 2a1bde5..eaaafab 100644 --- a/api/StartAttack.lua +++ b/api/StartAttack.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/StartAuction.lua b/api/StartAuction.lua index 7db5de2..b249dc6 100644 --- a/api/StartAuction.lua +++ b/api/StartAuction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param minBid number ---@param buyoutPrice number diff --git a/api/StartDuel.lua b/api/StartDuel.lua index fcf25ed..bee5247 100644 --- a/api/StartDuel.lua +++ b/api/StartDuel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/StartSpectatorWarGame.lua b/api/StartSpectatorWarGame.lua index 3574860..3a3c402 100644 --- a/api/StartSpectatorWarGame.lua +++ b/api/StartSpectatorWarGame.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function StartSpectatorWarGame() end diff --git a/api/StartWarGame.lua b/api/StartWarGame.lua index a41596a..df7918d 100644 --- a/api/StartWarGame.lua +++ b/api/StartWarGame.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function StartWarGame() end diff --git a/api/StartWarGameByName.lua b/api/StartWarGameByName.lua index ea9eee5..4960f9f 100644 --- a/api/StartWarGameByName.lua +++ b/api/StartWarGameByName.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function StartWarGameByName() end diff --git a/api/StopAttack.lua b/api/StopAttack.lua index 8706c4f..5249609 100644 --- a/api/StopAttack.lua +++ b/api/StopAttack.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Stops auto-attack if active function StopAttack() end diff --git a/api/StopCinematic.lua b/api/StopCinematic.lua index 30a142d..6b2cb3d 100644 --- a/api/StopCinematic.lua +++ b/api/StopCinematic.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Exits a currently playing in-game cinematic. Applies to in-game-engine cinematics (such as when logging into a new character for the first time), not prerecorded movies. function StopCinematic() end diff --git a/api/StopMacro.lua b/api/StopMacro.lua index edf282f..9c13e04 100644 --- a/api/StopMacro.lua +++ b/api/StopMacro.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Stops execution of a running macro function StopMacro() end diff --git a/api/StopMusic.lua b/api/StopMusic.lua index e055988..10a0d7d 100644 --- a/api/StopMusic.lua +++ b/api/StopMusic.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Stops currently playing in-game music function StopMusic() end diff --git a/api/StopSound.lua b/api/StopSound.lua index ca754d9..363184e 100644 --- a/api/StopSound.lua +++ b/api/StopSound.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param soundHandle number ---Stop a playing sound. Stops a sound that has been started with either PlaySound or PlaySoundFile using the handle given as the second return by both functions. diff --git a/api/StopTradeSkillRepeat.lua b/api/StopTradeSkillRepeat.lua index 25e8190..d9e9f8d 100644 --- a/api/StopTradeSkillRepeat.lua +++ b/api/StopTradeSkillRepeat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Cancels repetition of a trade skill recipe. If a recipe is currently being performed, it will continue, but further scheduled repetitions will be canceled. function StopTradeSkillRepeat() end diff --git a/api/Stopwatch_Clear.lua b/api/Stopwatch_Clear.lua index 5a2c04a..3a5bd50 100644 --- a/api/Stopwatch_Clear.lua +++ b/api/Stopwatch_Clear.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function Stopwatch_Clear() end diff --git a/api/Stopwatch_FinishCountdown.lua b/api/Stopwatch_FinishCountdown.lua index a0c88c1..87c2088 100644 --- a/api/Stopwatch_FinishCountdown.lua +++ b/api/Stopwatch_FinishCountdown.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function Stopwatch_FinishCountdown() end diff --git a/api/Stopwatch_IsPlaying.lua b/api/Stopwatch_IsPlaying.lua index 7a61012..672179b 100644 --- a/api/Stopwatch_IsPlaying.lua +++ b/api/Stopwatch_IsPlaying.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isPlaying ---Returns True/False if Stop Watch is running. diff --git a/api/Stopwatch_Pause.lua b/api/Stopwatch_Pause.lua index 4cc4226..c0fa105 100644 --- a/api/Stopwatch_Pause.lua +++ b/api/Stopwatch_Pause.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function Stopwatch_Pause() end diff --git a/api/Stopwatch_Play.lua b/api/Stopwatch_Play.lua index 4616b1e..f8c62f1 100644 --- a/api/Stopwatch_Play.lua +++ b/api/Stopwatch_Play.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function Stopwatch_Play() end diff --git a/api/Stopwatch_StartCountdown.lua b/api/Stopwatch_StartCountdown.lua index 0e5f202..f48fa0b 100644 --- a/api/Stopwatch_StartCountdown.lua +++ b/api/Stopwatch_StartCountdown.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param hours integer ---@param minutes integer diff --git a/api/Stopwatch_Toggle.lua b/api/Stopwatch_Toggle.lua index c04ec2e..07f3c63 100644 --- a/api/Stopwatch_Toggle.lua +++ b/api/Stopwatch_Toggle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Toggles visibility of the StopwatchFrame function Stopwatch_Toggle() end diff --git a/api/StrafeLeftStart.lua b/api/StrafeLeftStart.lua index 7051a1d..5772fc3 100644 --- a/api/StrafeLeftStart.lua +++ b/api/StrafeLeftStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins moving the player character sideways to his or her left function StrafeLeftStart() end diff --git a/api/StrafeLeftStop.lua b/api/StrafeLeftStop.lua index 044dd83..da076fc 100644 --- a/api/StrafeLeftStop.lua +++ b/api/StrafeLeftStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends movement initiated by StrafeLeftStart function StrafeLeftStop() end diff --git a/api/StrafeRightStart.lua b/api/StrafeRightStart.lua index df73724..d94fea1 100644 --- a/api/StrafeRightStart.lua +++ b/api/StrafeRightStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins moving the player character sideways to his or her right function StrafeRightStart() end diff --git a/api/StrafeRightStop.lua b/api/StrafeRightStop.lua index ef9b03e..5be49e7 100644 --- a/api/StrafeRightStop.lua +++ b/api/StrafeRightStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends movement initiated by StrafeRightStart function StrafeRightStop() end diff --git a/api/Stuck.lua b/api/Stuck.lua index 28b4ab5..e1cc23b 100644 --- a/api/Stuck.lua +++ b/api/Stuck.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Uses the auto-unstuck feature function Stuck() end diff --git a/api/SubmitRequiredGuildRename.lua b/api/SubmitRequiredGuildRename.lua index e4bf590..ba7f064 100644 --- a/api/SubmitRequiredGuildRename.lua +++ b/api/SubmitRequiredGuildRename.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function SubmitRequiredGuildRename() end diff --git a/api/SummonFriend.lua b/api/SummonFriend.lua index 707fd98..521de84 100644 --- a/api/SummonFriend.lua +++ b/api/SummonFriend.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param unit string diff --git a/api/SummonRandomCritter.lua b/api/SummonRandomCritter.lua index 0a7d33c..7156042 100644 --- a/api/SummonRandomCritter.lua +++ b/api/SummonRandomCritter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Summons a random critter companion function SummonRandomCritter() end diff --git a/api/SwapRaidSubgroup.lua b/api/SwapRaidSubgroup.lua index be895be..675b98a 100644 --- a/api/SwapRaidSubgroup.lua +++ b/api/SwapRaidSubgroup.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index1 number ---@param index2 number diff --git a/api/TakeInboxItem.lua b/api/TakeInboxItem.lua index c21046d..29dfab4 100644 --- a/api/TakeInboxItem.lua +++ b/api/TakeInboxItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param mailID number ---@param attachmentIndex number diff --git a/api/TakeInboxMoney.lua b/api/TakeInboxMoney.lua index 82a1225..96f8a43 100644 --- a/api/TakeInboxMoney.lua +++ b/api/TakeInboxMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param mailID number ---Retrieves any money attached to a mail in the player's inbox diff --git a/api/TakeInboxTextItem.lua b/api/TakeInboxTextItem.lua index 86e9420..6a761da 100644 --- a/api/TakeInboxTextItem.lua +++ b/api/TakeInboxTextItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param mailID number ---Requests a copy of a mail's body text as an item. The text of an in-game mail can be retrieved as a readable "Plain Letter" item to store in the player's bags; this function sends a request to the server for this item, causing the standard inventory events to fire as the item is placed into the player's inventory. diff --git a/api/TakeTaxiNode.lua b/api/TakeTaxiNode.lua index 3b9a5eb..682e324 100644 --- a/api/TakeTaxiNode.lua +++ b/api/TakeTaxiNode.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Embarks on a taxi flight to a given destination. Only has effect while interacting with a flight master (i.e. between the TAXIMAP_OPENED and TAXIMAP_CLOSED events). diff --git a/api/TargetDirectionEnemy.lua b/api/TargetDirectionEnemy.lua index ae304bf..0b94a07 100644 --- a/api/TargetDirectionEnemy.lua +++ b/api/TargetDirectionEnemy.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function TargetDirectionEnemy() end diff --git a/api/TargetDirectionFinished.lua b/api/TargetDirectionFinished.lua index 907fd85..954ce64 100644 --- a/api/TargetDirectionFinished.lua +++ b/api/TargetDirectionFinished.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function TargetDirectionFinished() end diff --git a/api/TargetDirectionFriend.lua b/api/TargetDirectionFriend.lua index dc30d73..b9179b9 100644 --- a/api/TargetDirectionFriend.lua +++ b/api/TargetDirectionFriend.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function TargetDirectionFriend() end diff --git a/api/TargetLastEnemy.lua b/api/TargetLastEnemy.lua index f9b251e..6a3c73a 100644 --- a/api/TargetLastEnemy.lua +++ b/api/TargetLastEnemy.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Targets the most recently targeted enemy unit function TargetLastEnemy() end diff --git a/api/TargetLastFriend.lua b/api/TargetLastFriend.lua index 0c37a9c..1029200 100644 --- a/api/TargetLastFriend.lua +++ b/api/TargetLastFriend.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Targets the most recently targeted friendly unit function TargetLastFriend() end diff --git a/api/TargetLastTarget.lua b/api/TargetLastTarget.lua index cc016c2..393cddf 100644 --- a/api/TargetLastTarget.lua +++ b/api/TargetLastTarget.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Targets the most recently targeted unit function TargetLastTarget() end diff --git a/api/TargetNearest.lua b/api/TargetNearest.lua index 2fa34ee..1101b35 100644 --- a/api/TargetNearest.lua +++ b/api/TargetNearest.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param backward boolean ---Cycles targets through nearest units regardless of reaction/affiliation diff --git a/api/TargetNearestEnemy.lua b/api/TargetNearestEnemy.lua index 40f2f07..adbbd4c 100644 --- a/api/TargetNearestEnemy.lua +++ b/api/TargetNearestEnemy.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param backward boolean ---Cycles your target through the nearest enemy units. This function can only be called once per hardware event. diff --git a/api/TargetNearestEnemyPlayer.lua b/api/TargetNearestEnemyPlayer.lua index ca3b0cf..a8b2ae5 100644 --- a/api/TargetNearestEnemyPlayer.lua +++ b/api/TargetNearestEnemyPlayer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param backward boolean ---Cycles targets through nearby enemy player units diff --git a/api/TargetNearestFriend.lua b/api/TargetNearestFriend.lua index 5a975ea..a0187f9 100644 --- a/api/TargetNearestFriend.lua +++ b/api/TargetNearestFriend.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param backward boolean ---Cycles targets through nearby friendly units diff --git a/api/TargetNearestFriendPlayer.lua b/api/TargetNearestFriendPlayer.lua index f7cd43d..c28dc1f 100644 --- a/api/TargetNearestFriendPlayer.lua +++ b/api/TargetNearestFriendPlayer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param backward boolean ---Cycles targets through nearby friendly player units diff --git a/api/TargetNearestPartyMember.lua b/api/TargetNearestPartyMember.lua index 519a9de..b7fb19b 100644 --- a/api/TargetNearestPartyMember.lua +++ b/api/TargetNearestPartyMember.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param backward boolean ---Cycles targets through nearby party members diff --git a/api/TargetNearestRaidMember.lua b/api/TargetNearestRaidMember.lua index c4a9411..3cf14e8 100644 --- a/api/TargetNearestRaidMember.lua +++ b/api/TargetNearestRaidMember.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param backward boolean ---Cycles targets through nearby raid members diff --git a/api/TargetTotem.lua b/api/TargetTotem.lua index 94f91b3..f226537 100644 --- a/api/TargetTotem.lua +++ b/api/TargetTotem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot 4 ---@param 1 diff --git a/api/TargetUnit.lua b/api/TargetUnit.lua index 0a8997f..975fbad 100644 --- a/api/TargetUnit.lua +++ b/api/TargetUnit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/TaxiGetDestX.lua b/api/TaxiGetDestX.lua index 5688720..12d5a4e 100644 --- a/api/TaxiGetDestX.lua +++ b/api/TaxiGetDestX.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param source number ---@param dest number diff --git a/api/TaxiGetDestY.lua b/api/TaxiGetDestY.lua index 4cd07e7..caa7e8e 100644 --- a/api/TaxiGetDestY.lua +++ b/api/TaxiGetDestY.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param source number ---@param dest number diff --git a/api/TaxiGetNodeSlot.lua b/api/TaxiGetNodeSlot.lua index d49ff7d..1dd37fd 100644 --- a/api/TaxiGetNodeSlot.lua +++ b/api/TaxiGetNodeSlot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param hop number diff --git a/api/TaxiGetSrcX.lua b/api/TaxiGetSrcX.lua index 5df6c31..66627f5 100644 --- a/api/TaxiGetSrcX.lua +++ b/api/TaxiGetSrcX.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param source number ---@param dest number diff --git a/api/TaxiGetSrcY.lua b/api/TaxiGetSrcY.lua index 52d4e85..4e053f1 100644 --- a/api/TaxiGetSrcY.lua +++ b/api/TaxiGetSrcY.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param source number ---@param dest number diff --git a/api/TaxiNodeCost.lua b/api/TaxiNodeCost.lua index 0f8a38e..69b1626 100644 --- a/api/TaxiNodeCost.lua +++ b/api/TaxiNodeCost.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number cost diff --git a/api/TaxiNodeGetType.lua b/api/TaxiNodeGetType.lua index 329cc88..7a9ffbe 100644 --- a/api/TaxiNodeGetType.lua +++ b/api/TaxiNodeGetType.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return REACHABLE type diff --git a/api/TaxiNodeName.lua b/api/TaxiNodeName.lua index 71b111d..1496767 100644 --- a/api/TaxiNodeName.lua +++ b/api/TaxiNodeName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return string name diff --git a/api/TaxiNodePosition.lua b/api/TaxiNodePosition.lua index 79afa1f..305431d 100644 --- a/api/TaxiNodePosition.lua +++ b/api/TaxiNodePosition.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@return number x diff --git a/api/TaxiNodeSetCurrent.lua b/api/TaxiNodeSetCurrent.lua index 5ccdd95..8e2ca51 100644 --- a/api/TaxiNodeSetCurrent.lua +++ b/api/TaxiNodeSetCurrent.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---Sets the "current" flight path node. Used in the default UI when mousing over a node; tells the client to compute the route paths involving the node (see TaxiGetSrcX() et al). diff --git a/api/TeleportToDebugObject.lua b/api/TeleportToDebugObject.lua index aa0b685..d9d8578 100644 --- a/api/TeleportToDebugObject.lua +++ b/api/TeleportToDebugObject.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function TeleportToDebugObject() end diff --git a/api/TimeoutResurrect.lua b/api/TimeoutResurrect.lua index 892efe3..f8de410 100644 --- a/api/TimeoutResurrect.lua +++ b/api/TimeoutResurrect.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function TimeoutResurrect() end diff --git a/api/ToggleAutoRun.lua b/api/ToggleAutoRun.lua index e4bef7d..96eb0c2 100644 --- a/api/ToggleAutoRun.lua +++ b/api/ToggleAutoRun.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Starts or stops the player character automatically moving forward function ToggleAutoRun() end diff --git a/api/ToggleCollision.lua b/api/ToggleCollision.lua index 8859eb4..9fa4c66 100644 --- a/api/ToggleCollision.lua +++ b/api/ToggleCollision.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ToggleCollision() end diff --git a/api/ToggleCollisionDisplay.lua b/api/ToggleCollisionDisplay.lua index 66c083a..88f182f 100644 --- a/api/ToggleCollisionDisplay.lua +++ b/api/ToggleCollisionDisplay.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ToggleCollisionDisplay() end diff --git a/api/ToggleGlyphFilter.lua b/api/ToggleGlyphFilter.lua index d1939f6..4030023 100644 --- a/api/ToggleGlyphFilter.lua +++ b/api/ToggleGlyphFilter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ToggleGlyphFilter() end diff --git a/api/TogglePVP.lua b/api/TogglePVP.lua index 6a647a8..77d19fd 100644 --- a/api/TogglePVP.lua +++ b/api/TogglePVP.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Switches the player's desired PvP status. If PvP is currently disabled for the player, it becomes enabled immediately. If PvP is enabled, it will become disabled after five minutes of no PvP activity. function TogglePVP() end diff --git a/api/TogglePerformancePause.lua b/api/TogglePerformancePause.lua index f8b812a..ea87f83 100644 --- a/api/TogglePerformancePause.lua +++ b/api/TogglePerformancePause.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function TogglePerformancePause() end diff --git a/api/TogglePerformanceValues.lua b/api/TogglePerformanceValues.lua index 9ac33ce..86f1c4a 100644 --- a/api/TogglePerformanceValues.lua +++ b/api/TogglePerformanceValues.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function TogglePerformanceValues() end diff --git a/api/TogglePetAutocast.lua b/api/TogglePetAutocast.lua index a3d8228..5d4db90 100644 --- a/api/TogglePetAutocast.lua +++ b/api/TogglePetAutocast.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---Turns autocast on or off for a pet action. Turns autocast on if not autocasting and vice versa. diff --git a/api/TogglePlayerBounds.lua b/api/TogglePlayerBounds.lua index 01033fc..dd6901c 100644 --- a/api/TogglePlayerBounds.lua +++ b/api/TogglePlayerBounds.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function TogglePlayerBounds() end diff --git a/api/TogglePortals.lua b/api/TogglePortals.lua index 3747346..3940ac4 100644 --- a/api/TogglePortals.lua +++ b/api/TogglePortals.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function TogglePortals() end diff --git a/api/ToggleRun.lua b/api/ToggleRun.lua index cde5502..f7ffde1 100644 --- a/api/ToggleRun.lua +++ b/api/ToggleRun.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Switches the character's ground movement mode between running and walking. If running, switches to walking, and vice versa. Has no effect on swimming or flying speed. function ToggleRun() end diff --git a/api/ToggleSheath.lua b/api/ToggleSheath.lua index 83d6f22..7b3ee7c 100644 --- a/api/ToggleSheath.lua +++ b/api/ToggleSheath.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Sheaths or unsheaths the player character's hand-held items. Calling repeatedly will cause the player character to draw his or her melee weapons, followed by his or her range weapon, followed by hiding all weapons. function ToggleSheath() end diff --git a/api/ToggleSpellAutocast.lua b/api/ToggleSpellAutocast.lua index 7f7b969..010c837 100644 --- a/api/ToggleSpellAutocast.lua +++ b/api/ToggleSpellAutocast.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param bookType spell diff --git a/api/ToggleTris.lua b/api/ToggleTris.lua index 0b52cd1..316fc49 100644 --- a/api/ToggleTris.lua +++ b/api/ToggleTris.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ToggleTris() end diff --git a/api/TradeSkillOnlyShowMakeable.lua b/api/TradeSkillOnlyShowMakeable.lua index 6d0f4b3..b5b67ee 100644 --- a/api/TradeSkillOnlyShowMakeable.lua +++ b/api/TradeSkillOnlyShowMakeable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param filter boolean ---Filters the trade skill listing by whether the player currently has enough reagents for each recipe diff --git a/api/TradeSkillOnlyShowSkillUps.lua b/api/TradeSkillOnlyShowSkillUps.lua index 8944ccc..eaa973b 100644 --- a/api/TradeSkillOnlyShowSkillUps.lua +++ b/api/TradeSkillOnlyShowSkillUps.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param filter boolean ---Filters the trade skill listing by whether the player can gain skill ranks from each recipe. The default UI does not provide controls for this filter, but it can nonetheless be used to alter the contents of the trade skill recipe listing. diff --git a/api/TriggerTutorial.lua b/api/TriggerTutorial.lua index c5400e9..b3dcc39 100644 --- a/api/TriggerTutorial.lua +++ b/api/TriggerTutorial.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function TriggerTutorial() end diff --git a/api/TurnInGuildCharter.lua b/api/TurnInGuildCharter.lua index 9f6fc17..4c0df3e 100644 --- a/api/TurnInGuildCharter.lua +++ b/api/TurnInGuildCharter.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Turns in a completed guild charter. Usable if the player is interacting with a guild registrar (i.e. between the GUILD_REGISTRAR_SHOW and GUILD_REGISTRAR_CLOSED events). function TurnInGuildCharter() end diff --git a/api/TurnLeftStart.lua b/api/TurnLeftStart.lua index 694236d..0d4f5af 100644 --- a/api/TurnLeftStart.lua +++ b/api/TurnLeftStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins turning the player character to the left. "Left" here is relative to the player's facing; i.e. if looking down at the character from above, he or she turns counter-clockwise. Used by the TURNLEFT binding. function TurnLeftStart() end diff --git a/api/TurnLeftStop.lua b/api/TurnLeftStop.lua index 04f48fd..8622bd5 100644 --- a/api/TurnLeftStop.lua +++ b/api/TurnLeftStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends movement initiated by TurnLeftStart function TurnLeftStop() end diff --git a/api/TurnOrActionStart.lua b/api/TurnOrActionStart.lua index e9a59de..f7df263 100644 --- a/api/TurnOrActionStart.lua +++ b/api/TurnOrActionStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins character steering or interaction (equivalent to right-clicking in the 3-D world). After calling this function (i.e. while the right mouse button is held), cursor movement rotates (or steers) the player character, altering yaw (facing) and/or pitch (vertical movement angle) as well as camera position. Final results vary by context and are determined when calling TurnOrActionStop() (i.e. releasing the right mouse button). Used by the TURNORACTION binding (not customizable in the default UI), which is bound to the right mouse button by default. function TurnOrActionStart() end diff --git a/api/TurnOrActionStop.lua b/api/TurnOrActionStop.lua index 1ece746..0462b7d 100644 --- a/api/TurnOrActionStop.lua +++ b/api/TurnOrActionStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends action initiated by TurnOrActionStart. After calling this function (i.e. releasing the right mouse button), character steering stops and normal cursor movement resumes. If the cursor has not moved significantly since calling TurnOrActionStart() (i.e. pressing the right mouse button), results vary by context: if the cursor is over a nearby unit, interacts with (or attacks) that unit, making it the player's target. if the cursor is over a nearby interactable world object (e.g. mailbox, treasure chest, or quest object), interacts with (or uses) that object. if the cursor is over a faraway unit or world object and the "Click-to-Move" option is enabled (i.e. the "autointeract" CVar is "1"), attempts to move the player character to the unit/object and interact with it once nearby. if the cursor is over a faraway world object and the "Click-to-Move" option is disabled, fires a UI_ERROR_MESSAGE event indicating the player is too far away to interact with the object. otherwise, does nothing. Used by the TURNORACTION binding (not customizable in the default UI), which is bound to the right mouse button by default. function TurnOrActionStop() end diff --git a/api/TurnRightStart.lua b/api/TurnRightStart.lua index aa93540..654574d 100644 --- a/api/TurnRightStart.lua +++ b/api/TurnRightStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Begins turning the player character to the right. "Right" here is relative to the player's facing; i.e. if looking down at the character from above, he or she turns clockwise. Used by the TURNRIGHT binding. function TurnRightStart() end diff --git a/api/TurnRightStop.lua b/api/TurnRightStop.lua index de29280..32167fb 100644 --- a/api/TurnRightStop.lua +++ b/api/TurnRightStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Ends movement initiated by TurnRightStart function TurnRightStop() end diff --git a/api/UninviteUnit.lua b/api/UninviteUnit.lua index 86843ba..62eed89 100644 --- a/api/UninviteUnit.lua +++ b/api/UninviteUnit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Removes a character from the player's party or raid. Only works if the player is the party leader, raid leader, or raid assistant. Also used by the Looking For Group tool to vote kick players. This is what the "reason" argument is used for. diff --git a/api/UnitAffectingCombat.lua b/api/UnitAffectingCombat.lua index 865371d..670b8a0 100644 --- a/api/UnitAffectingCombat.lua +++ b/api/UnitAffectingCombat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil inCombat diff --git a/api/UnitAlternatePowerCounterInfo.lua b/api/UnitAlternatePowerCounterInfo.lua index 65325a5..0a12dbe 100644 --- a/api/UnitAlternatePowerCounterInfo.lua +++ b/api/UnitAlternatePowerCounterInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitAlternatePowerCounterInfo() end diff --git a/api/UnitAlternatePowerInfo.lua b/api/UnitAlternatePowerInfo.lua index f10276e..8952571 100644 --- a/api/UnitAlternatePowerInfo.lua +++ b/api/UnitAlternatePowerInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitAlternatePowerTextureInfo.lua b/api/UnitAlternatePowerTextureInfo.lua index d758fef..20f37e4 100644 --- a/api/UnitAlternatePowerTextureInfo.lua +++ b/api/UnitAlternatePowerTextureInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param textureIndex number diff --git a/api/UnitArmor.lua b/api/UnitArmor.lua index 86e418c..b8d1a41 100644 --- a/api/UnitArmor.lua +++ b/api/UnitArmor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number base diff --git a/api/UnitAttackBothHands.lua b/api/UnitAttackBothHands.lua index 2332fbc..ddf1a08 100644 --- a/api/UnitAttackBothHands.lua +++ b/api/UnitAttackBothHands.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number mainHandAttackBase diff --git a/api/UnitAttackPower.lua b/api/UnitAttackPower.lua index 6025df6..f8d511c 100644 --- a/api/UnitAttackPower.lua +++ b/api/UnitAttackPower.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number base diff --git a/api/UnitAttackSpeed.lua b/api/UnitAttackSpeed.lua index 0374655..675f66a 100644 --- a/api/UnitAttackSpeed.lua +++ b/api/UnitAttackSpeed.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number speed diff --git a/api/UnitAura.lua b/api/UnitAura.lua index f340fbf..1d05911 100644 --- a/api/UnitAura.lua +++ b/api/UnitAura.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param index number diff --git a/api/UnitBattlePetLevel.lua b/api/UnitBattlePetLevel.lua index 8912ec9..5b0b781 100644 --- a/api/UnitBattlePetLevel.lua +++ b/api/UnitBattlePetLevel.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitBattlePetLevel() end diff --git a/api/UnitBattlePetSpeciesID.lua b/api/UnitBattlePetSpeciesID.lua index ca7e425..fe77ea7 100644 --- a/api/UnitBattlePetSpeciesID.lua +++ b/api/UnitBattlePetSpeciesID.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitBattlePetSpeciesID() end diff --git a/api/UnitBattlePetType.lua b/api/UnitBattlePetType.lua index 725b0b8..2d6adc2 100644 --- a/api/UnitBattlePetType.lua +++ b/api/UnitBattlePetType.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitBattlePetType() end diff --git a/api/UnitBonusArmor.lua b/api/UnitBonusArmor.lua index 5b79a4d..760623f 100644 --- a/api/UnitBonusArmor.lua +++ b/api/UnitBonusArmor.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitBonusArmor() end diff --git a/api/UnitBuff.lua b/api/UnitBuff.lua index 37a763b..f1164d6 100644 --- a/api/UnitBuff.lua +++ b/api/UnitBuff.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param index number diff --git a/api/UnitCanAssist.lua b/api/UnitCanAssist.lua index 8a6cc19..24cbf12 100644 --- a/api/UnitCanAssist.lua +++ b/api/UnitCanAssist.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param unit string diff --git a/api/UnitCanAttack.lua b/api/UnitCanAttack.lua index 247817e..01f31cb 100644 --- a/api/UnitCanAttack.lua +++ b/api/UnitCanAttack.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unitA string ---@param unitB string diff --git a/api/UnitCanCooperate.lua b/api/UnitCanCooperate.lua index a451c26..8828188 100644 --- a/api/UnitCanCooperate.lua +++ b/api/UnitCanCooperate.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param unit string diff --git a/api/UnitCanPetBattle.lua b/api/UnitCanPetBattle.lua index 844b03c..41f3ee4 100644 --- a/api/UnitCanPetBattle.lua +++ b/api/UnitCanPetBattle.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitCanPetBattle() end diff --git a/api/UnitCastingInfo.lua b/api/UnitCastingInfo.lua index 9054084..3fa3e99 100644 --- a/api/UnitCastingInfo.lua +++ b/api/UnitCastingInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return string name diff --git a/api/UnitChannelInfo.lua b/api/UnitChannelInfo.lua index 1345474..d22ae04 100644 --- a/api/UnitChannelInfo.lua +++ b/api/UnitChannelInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return string name diff --git a/api/UnitClass.lua b/api/UnitClass.lua index d83a873..25947d9 100644 --- a/api/UnitClass.lua +++ b/api/UnitClass.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return string class diff --git a/api/UnitClassBase.lua b/api/UnitClassBase.lua index 3a872ea..6d3d7ee 100644 --- a/api/UnitClassBase.lua +++ b/api/UnitClassBase.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitClassification.lua b/api/UnitClassification.lua index c1c2b72..c750bb9 100644 --- a/api/UnitClassification.lua +++ b/api/UnitClassification.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return worldboss classification diff --git a/api/UnitControllingVehicle.lua b/api/UnitControllingVehicle.lua index 9bf8f77..0f42dda 100644 --- a/api/UnitControllingVehicle.lua +++ b/api/UnitControllingVehicle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitCreatureFamily.lua b/api/UnitCreatureFamily.lua index 88879c5..ac9c2d4 100644 --- a/api/UnitCreatureFamily.lua +++ b/api/UnitCreatureFamily.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return string family diff --git a/api/UnitCreatureType.lua b/api/UnitCreatureType.lua index 3e732fc..d419bd7 100644 --- a/api/UnitCreatureType.lua +++ b/api/UnitCreatureType.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return string type diff --git a/api/UnitDamage.lua b/api/UnitDamage.lua index bfad280..8c9939e 100644 --- a/api/UnitDamage.lua +++ b/api/UnitDamage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number minDamage diff --git a/api/UnitDebuff.lua b/api/UnitDebuff.lua index 94bb2cc..4b573a8 100644 --- a/api/UnitDebuff.lua +++ b/api/UnitDebuff.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param index number diff --git a/api/UnitDefense.lua b/api/UnitDefense.lua index 960e3b9..48e19aa 100644 --- a/api/UnitDefense.lua +++ b/api/UnitDefense.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number base diff --git a/api/UnitDetailedThreatSituation.lua b/api/UnitDetailedThreatSituation.lua index 15c30c6..7ff8d1e 100644 --- a/api/UnitDetailedThreatSituation.lua +++ b/api/UnitDetailedThreatSituation.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit unitid ---@param name string diff --git a/api/UnitDistanceSquared.lua b/api/UnitDistanceSquared.lua index 80efe12..8fda0d5 100644 --- a/api/UnitDistanceSquared.lua +++ b/api/UnitDistanceSquared.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number distanceSquared diff --git a/api/UnitExists.lua b/api/UnitExists.lua index 185d808..1832a14 100644 --- a/api/UnitExists.lua +++ b/api/UnitExists.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return boolean exists diff --git a/api/UnitFactionGroup.lua b/api/UnitFactionGroup.lua index 6685201..70d182c 100644 --- a/api/UnitFactionGroup.lua +++ b/api/UnitFactionGroup.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitFullName.lua b/api/UnitFullName.lua index b54905b..a2b020b 100644 --- a/api/UnitFullName.lua +++ b/api/UnitFullName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Will return a units name appended with the realm name without spaces. . UnitFullName(unit) will return a players name appended with the "shortened" realmname; this would be the realm name without spaces. function UnitFullName() end diff --git a/api/UnitGUID.lua b/api/UnitGUID.lua index c059eb2..1e06fd2 100644 --- a/api/UnitGUID.lua +++ b/api/UnitGUID.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return string guid diff --git a/api/UnitGetAvailableRoles.lua b/api/UnitGetAvailableRoles.lua index a2eab65..f98b379 100644 --- a/api/UnitGetAvailableRoles.lua +++ b/api/UnitGetAvailableRoles.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return boolean canBeTank diff --git a/api/UnitGetIncomingHeals.lua b/api/UnitGetIncomingHeals.lua index 3791596..4968cce 100644 --- a/api/UnitGetIncomingHeals.lua +++ b/api/UnitGetIncomingHeals.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitGetIncomingHeals() end diff --git a/api/UnitGetTotalAbsorbs.lua b/api/UnitGetTotalAbsorbs.lua index 9ef53d4..a79d803 100644 --- a/api/UnitGetTotalAbsorbs.lua +++ b/api/UnitGetTotalAbsorbs.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitGetTotalAbsorbs() end diff --git a/api/UnitGetTotalHealAbsorbs.lua b/api/UnitGetTotalHealAbsorbs.lua index 7e40472..ed4747b 100644 --- a/api/UnitGetTotalHealAbsorbs.lua +++ b/api/UnitGetTotalHealAbsorbs.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitGetTotalHealAbsorbs() end diff --git a/api/UnitGroupRolesAssigned.lua b/api/UnitGroupRolesAssigned.lua index 2bf19c5..97938fa 100644 --- a/api/UnitGroupRolesAssigned.lua +++ b/api/UnitGroupRolesAssigned.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return TANK role diff --git a/api/UnitHPPerStamina.lua b/api/UnitHPPerStamina.lua index c54d734..2c71f31 100644 --- a/api/UnitHPPerStamina.lua +++ b/api/UnitHPPerStamina.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitHPPerStamina() end diff --git a/api/UnitHasIncomingResurrection.lua b/api/UnitHasIncomingResurrection.lua index bca0dbf..1e5d31d 100644 --- a/api/UnitHasIncomingResurrection.lua +++ b/api/UnitHasIncomingResurrection.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return boolean isBeingRessed diff --git a/api/UnitHasLFGDeserter.lua b/api/UnitHasLFGDeserter.lua index c70f781..fd16e7a 100644 --- a/api/UnitHasLFGDeserter.lua +++ b/api/UnitHasLFGDeserter.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitHasLFGDeserter() end diff --git a/api/UnitHasLFGRandomCooldown.lua b/api/UnitHasLFGRandomCooldown.lua index 9213782..c5c0b70 100644 --- a/api/UnitHasLFGRandomCooldown.lua +++ b/api/UnitHasLFGRandomCooldown.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitHasLFGRandomCooldown() end diff --git a/api/UnitHasRelicSlot.lua b/api/UnitHasRelicSlot.lua index beec89b..aa093c9 100644 --- a/api/UnitHasRelicSlot.lua +++ b/api/UnitHasRelicSlot.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil hasRelic diff --git a/api/UnitHasVehiclePlayerFrameUI.lua b/api/UnitHasVehiclePlayerFrameUI.lua index e05efe1..00b968c 100644 --- a/api/UnitHasVehiclePlayerFrameUI.lua +++ b/api/UnitHasVehiclePlayerFrameUI.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitHasVehiclePlayerFrameUI() end diff --git a/api/UnitHasVehicleUI.lua b/api/UnitHasVehicleUI.lua index 891353f..c73eea7 100644 --- a/api/UnitHasVehicleUI.lua +++ b/api/UnitHasVehicleUI.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitHealth.lua b/api/UnitHealth.lua index 6abe346..cf98482 100644 --- a/api/UnitHealth.lua +++ b/api/UnitHealth.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number health diff --git a/api/UnitHealthMax.lua b/api/UnitHealthMax.lua index 3ebdb29..647f140 100644 --- a/api/UnitHealthMax.lua +++ b/api/UnitHealthMax.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number maxValue diff --git a/api/UnitInBattleground.lua b/api/UnitInBattleground.lua index 1ad781f..9febb53 100644 --- a/api/UnitInBattleground.lua +++ b/api/UnitInBattleground.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number raidNum diff --git a/api/UnitInOtherParty.lua b/api/UnitInOtherParty.lua index 6e0679d..a1df8bb 100644 --- a/api/UnitInOtherParty.lua +++ b/api/UnitInOtherParty.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitInOtherParty() end diff --git a/api/UnitInParty.lua b/api/UnitInParty.lua index f3a32ed..0fdbd19 100644 --- a/api/UnitInParty.lua +++ b/api/UnitInParty.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number|nil inParty (1 or nil) diff --git a/api/UnitInPhase.lua b/api/UnitInPhase.lua index 483bf73..31c842c 100644 --- a/api/UnitInPhase.lua +++ b/api/UnitInPhase.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unitID unitID ---@return 1nil inPhase diff --git a/api/UnitInRaid.lua b/api/UnitInRaid.lua index 8af535f..0ca2f60 100644 --- a/api/UnitInRaid.lua +++ b/api/UnitInRaid.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number inRaid diff --git a/api/UnitInRange.lua b/api/UnitInRange.lua index 314e077..4239a5e 100644 --- a/api/UnitInRange.lua +++ b/api/UnitInRange.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitInVehicle.lua b/api/UnitInVehicle.lua index e68aad3..e9b9d2e 100644 --- a/api/UnitInVehicle.lua +++ b/api/UnitInVehicle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitInVehicleControlSeat.lua b/api/UnitInVehicleControlSeat.lua index 734b249..f9d91be 100644 --- a/api/UnitInVehicleControlSeat.lua +++ b/api/UnitInVehicleControlSeat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean isInControl ---Returns whether a unit controls a vehicle diff --git a/api/UnitInVehicleHidesPetFrame.lua b/api/UnitInVehicleHidesPetFrame.lua index c1d6041..84480fc 100644 --- a/api/UnitInVehicleHidesPetFrame.lua +++ b/api/UnitInVehicleHidesPetFrame.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitInVehicleHidesPetFrame() end diff --git a/api/UnitIsAFK.lua b/api/UnitIsAFK.lua index bb47a0f..f5df5c1 100644 --- a/api/UnitIsAFK.lua +++ b/api/UnitIsAFK.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitIsBattlePet.lua b/api/UnitIsBattlePet.lua index 714b1cc..bc34f15 100644 --- a/api/UnitIsBattlePet.lua +++ b/api/UnitIsBattlePet.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitIsBattlePet() end diff --git a/api/UnitIsBattlePetCompanion.lua b/api/UnitIsBattlePetCompanion.lua index ed29256..e72bde4 100644 --- a/api/UnitIsBattlePetCompanion.lua +++ b/api/UnitIsBattlePetCompanion.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitIsBattlePetCompanion() end diff --git a/api/UnitIsCharmed.lua b/api/UnitIsCharmed.lua index 55f910f..7405e8f 100644 --- a/api/UnitIsCharmed.lua +++ b/api/UnitIsCharmed.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isCharmed diff --git a/api/UnitIsConnected.lua b/api/UnitIsConnected.lua index 4d753ee..de5031d 100644 --- a/api/UnitIsConnected.lua +++ b/api/UnitIsConnected.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isConnected diff --git a/api/UnitIsControlling.lua b/api/UnitIsControlling.lua index c6b05d6..967a7b8 100644 --- a/api/UnitIsControlling.lua +++ b/api/UnitIsControlling.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isControlling diff --git a/api/UnitIsCorpse.lua b/api/UnitIsCorpse.lua index 5243733..254be23 100644 --- a/api/UnitIsCorpse.lua +++ b/api/UnitIsCorpse.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isCorpse diff --git a/api/UnitIsDND.lua b/api/UnitIsDND.lua index ff951ca..6c9ddef 100644 --- a/api/UnitIsDND.lua +++ b/api/UnitIsDND.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitIsDead.lua b/api/UnitIsDead.lua index a6bd220..0808cf8 100644 --- a/api/UnitIsDead.lua +++ b/api/UnitIsDead.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isDead diff --git a/api/UnitIsDeadOrGhost.lua b/api/UnitIsDeadOrGhost.lua index 9ed1517..cd9b48c 100644 --- a/api/UnitIsDeadOrGhost.lua +++ b/api/UnitIsDeadOrGhost.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isDeadOrGhost diff --git a/api/UnitIsEnemy.lua b/api/UnitIsEnemy.lua index a543032..cafccfa 100644 --- a/api/UnitIsEnemy.lua +++ b/api/UnitIsEnemy.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param unit string diff --git a/api/UnitIsFeignDeath.lua b/api/UnitIsFeignDeath.lua index 290b5a0..dbb069d 100644 --- a/api/UnitIsFeignDeath.lua +++ b/api/UnitIsFeignDeath.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isFeign diff --git a/api/UnitIsFriend.lua b/api/UnitIsFriend.lua index 7057ae0..6fcf6f4 100644 --- a/api/UnitIsFriend.lua +++ b/api/UnitIsFriend.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param unit string diff --git a/api/UnitIsGhost.lua b/api/UnitIsGhost.lua index ac6dad9..39fd3d9 100644 --- a/api/UnitIsGhost.lua +++ b/api/UnitIsGhost.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isGhost diff --git a/api/UnitIsGroupAssistant.lua b/api/UnitIsGroupAssistant.lua index e1e3769..72c6487 100644 --- a/api/UnitIsGroupAssistant.lua +++ b/api/UnitIsGroupAssistant.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitIsGroupAssistant() end diff --git a/api/UnitIsGroupLeader.lua b/api/UnitIsGroupLeader.lua index b1272c7..576315a 100644 --- a/api/UnitIsGroupLeader.lua +++ b/api/UnitIsGroupLeader.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return boolean leader diff --git a/api/UnitIsInMyGuild.lua b/api/UnitIsInMyGuild.lua index 849311c..4e0e175 100644 --- a/api/UnitIsInMyGuild.lua +++ b/api/UnitIsInMyGuild.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil inGuild diff --git a/api/UnitIsOtherPlayersBattlePet.lua b/api/UnitIsOtherPlayersBattlePet.lua index aad7e56..7e73b81 100644 --- a/api/UnitIsOtherPlayersBattlePet.lua +++ b/api/UnitIsOtherPlayersBattlePet.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitIsOtherPlayersBattlePet() end diff --git a/api/UnitIsOtherPlayersPet.lua b/api/UnitIsOtherPlayersPet.lua index 6fd322f..7341b73 100644 --- a/api/UnitIsOtherPlayersPet.lua +++ b/api/UnitIsOtherPlayersPet.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return boolean isPet diff --git a/api/UnitIsPVP.lua b/api/UnitIsPVP.lua index 3a7875f..eadb0b4 100644 --- a/api/UnitIsPVP.lua +++ b/api/UnitIsPVP.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isPVP diff --git a/api/UnitIsPVPFreeForAll.lua b/api/UnitIsPVPFreeForAll.lua index 4cf14d3..5388270 100644 --- a/api/UnitIsPVPFreeForAll.lua +++ b/api/UnitIsPVPFreeForAll.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isFreeForAll diff --git a/api/UnitIsPVPSanctuary.lua b/api/UnitIsPVPSanctuary.lua index 9f3d934..92f50b9 100644 --- a/api/UnitIsPVPSanctuary.lua +++ b/api/UnitIsPVPSanctuary.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil state diff --git a/api/UnitIsPlayer.lua b/api/UnitIsPlayer.lua index b216624..6281eb8 100644 --- a/api/UnitIsPlayer.lua +++ b/api/UnitIsPlayer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return boolean isPlayer diff --git a/api/UnitIsPossessed.lua b/api/UnitIsPossessed.lua index d20c71a..114ab5e 100644 --- a/api/UnitIsPossessed.lua +++ b/api/UnitIsPossessed.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isPossessed diff --git a/api/UnitIsQuestBoss.lua b/api/UnitIsQuestBoss.lua index da411f6..7943c95 100644 --- a/api/UnitIsQuestBoss.lua +++ b/api/UnitIsQuestBoss.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitIsQuestBoss() end diff --git a/api/UnitIsRaidOfficer.lua b/api/UnitIsRaidOfficer.lua index 5af7c72..142abec 100644 --- a/api/UnitIsRaidOfficer.lua +++ b/api/UnitIsRaidOfficer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number|nil leader (1 or nil) diff --git a/api/UnitIsSameServer.lua b/api/UnitIsSameServer.lua index c8c5fab..9d1f48b 100644 --- a/api/UnitIsSameServer.lua +++ b/api/UnitIsSameServer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param unit string diff --git a/api/UnitIsSilenced.lua b/api/UnitIsSilenced.lua index fd350f0..bfb7a7e 100644 --- a/api/UnitIsSilenced.lua +++ b/api/UnitIsSilenced.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param channel string diff --git a/api/UnitIsTalking.lua b/api/UnitIsTalking.lua index ee379f4..5510e5d 100644 --- a/api/UnitIsTalking.lua +++ b/api/UnitIsTalking.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil state diff --git a/api/UnitIsTapped.lua b/api/UnitIsTapped.lua index 8c6180a..104076d 100644 --- a/api/UnitIsTapped.lua +++ b/api/UnitIsTapped.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit unitId ---Returns whether a unit is tapped. Normally, rewards for killing a unit are available only to the character or group who first damaged the unit; once a character has thus established his claim on the unit, it is considered "tapped". diff --git a/api/UnitIsTappedByAllThreatList.lua b/api/UnitIsTappedByAllThreatList.lua index 16081bb..fabbbba 100644 --- a/api/UnitIsTappedByAllThreatList.lua +++ b/api/UnitIsTappedByAllThreatList.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil allTapped diff --git a/api/UnitIsTappedByPlayer.lua b/api/UnitIsTappedByPlayer.lua index 0bff694..bc85ea5 100644 --- a/api/UnitIsTappedByPlayer.lua +++ b/api/UnitIsTappedByPlayer.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isTapped diff --git a/api/UnitIsTrivial.lua b/api/UnitIsTrivial.lua index baef521..51ed15e 100644 --- a/api/UnitIsTrivial.lua +++ b/api/UnitIsTrivial.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isTrivial diff --git a/api/UnitIsUnconscious.lua b/api/UnitIsUnconscious.lua index 342da53..649a434 100644 --- a/api/UnitIsUnconscious.lua +++ b/api/UnitIsUnconscious.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitIsUnconscious() end diff --git a/api/UnitIsUnit.lua b/api/UnitIsUnit.lua index 6d77d96..c626684 100644 --- a/api/UnitIsUnit.lua +++ b/api/UnitIsUnit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param unit string diff --git a/api/UnitIsVisible.lua b/api/UnitIsVisible.lua index f11bf3d..773c358 100644 --- a/api/UnitIsVisible.lua +++ b/api/UnitIsVisible.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isVisible diff --git a/api/UnitIsWildBattlePet.lua b/api/UnitIsWildBattlePet.lua index 57a52f3..841bece 100644 --- a/api/UnitIsWildBattlePet.lua +++ b/api/UnitIsWildBattlePet.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitIsWildBattlePet() end diff --git a/api/UnitLeadsAnyGroup.lua b/api/UnitLeadsAnyGroup.lua index cfec7ce..c7476d2 100644 --- a/api/UnitLeadsAnyGroup.lua +++ b/api/UnitLeadsAnyGroup.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return boolean uLead diff --git a/api/UnitLevel.lua b/api/UnitLevel.lua index d6cb0ac..007cecb 100644 --- a/api/UnitLevel.lua +++ b/api/UnitLevel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number level diff --git a/api/UnitMana.lua b/api/UnitMana.lua index e3d70ac..f777cf7 100644 --- a/api/UnitMana.lua +++ b/api/UnitMana.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitMana() end diff --git a/api/UnitManaMax.lua b/api/UnitManaMax.lua index d0396a9..84dc546 100644 --- a/api/UnitManaMax.lua +++ b/api/UnitManaMax.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitManaMax() end diff --git a/api/UnitName.lua b/api/UnitName.lua index 7a14032..c2b7091 100644 --- a/api/UnitName.lua +++ b/api/UnitName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return string name diff --git a/api/UnitNumPowerBarTimers.lua b/api/UnitNumPowerBarTimers.lua index 2a04a32..cb063e1 100644 --- a/api/UnitNumPowerBarTimers.lua +++ b/api/UnitNumPowerBarTimers.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitNumPowerBarTimers() end diff --git a/api/UnitOnTaxi.lua b/api/UnitOnTaxi.lua index e2017f9..451363f 100644 --- a/api/UnitOnTaxi.lua +++ b/api/UnitOnTaxi.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil onTaxi diff --git a/api/UnitPVPName.lua b/api/UnitPVPName.lua index 434986b..d89bbb9 100644 --- a/api/UnitPVPName.lua +++ b/api/UnitPVPName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return string name diff --git a/api/UnitPlayerControlled.lua b/api/UnitPlayerControlled.lua index 9ce6b2b..f374786 100644 --- a/api/UnitPlayerControlled.lua +++ b/api/UnitPlayerControlled.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil isPlayer diff --git a/api/UnitPlayerOrPetInParty.lua b/api/UnitPlayerOrPetInParty.lua index e83d358..c6f6020 100644 --- a/api/UnitPlayerOrPetInParty.lua +++ b/api/UnitPlayerOrPetInParty.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitPlayerOrPetInRaid.lua b/api/UnitPlayerOrPetInRaid.lua index 52b98ce..5bc0514 100644 --- a/api/UnitPlayerOrPetInRaid.lua +++ b/api/UnitPlayerOrPetInRaid.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitPosition.lua b/api/UnitPosition.lua index fab0ced..07dd122 100644 --- a/api/UnitPosition.lua +++ b/api/UnitPosition.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitPosition() end diff --git a/api/UnitPower.lua b/api/UnitPower.lua index bd6b9e8..89acdcd 100644 --- a/api/UnitPower.lua +++ b/api/UnitPower.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unitID string ---@param powerType number diff --git a/api/UnitPowerBarTimerInfo.lua b/api/UnitPowerBarTimerInfo.lua index d9a0531..0335a06 100644 --- a/api/UnitPowerBarTimerInfo.lua +++ b/api/UnitPowerBarTimerInfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitPowerBarTimerInfo() end diff --git a/api/UnitPowerMax.lua b/api/UnitPowerMax.lua index f65cb16..b029163 100644 --- a/api/UnitPowerMax.lua +++ b/api/UnitPowerMax.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unitID string ---@param powerType number diff --git a/api/UnitPowerType.lua b/api/UnitPowerType.lua index f19e9ee..05aa455 100644 --- a/api/UnitPowerType.lua +++ b/api/UnitPowerType.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitRace.lua b/api/UnitRace.lua index 9a7647e..b8df09a 100644 --- a/api/UnitRace.lua +++ b/api/UnitRace.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return string race diff --git a/api/UnitRangedAttack.lua b/api/UnitRangedAttack.lua index a0955f2..3ff6dcf 100644 --- a/api/UnitRangedAttack.lua +++ b/api/UnitRangedAttack.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number rangedAttackBase diff --git a/api/UnitRangedAttackPower.lua b/api/UnitRangedAttackPower.lua index 76697fd..9d47505 100644 --- a/api/UnitRangedAttackPower.lua +++ b/api/UnitRangedAttackPower.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number base diff --git a/api/UnitRangedDamage.lua b/api/UnitRangedDamage.lua index 9777b02..856e780 100644 --- a/api/UnitRangedDamage.lua +++ b/api/UnitRangedDamage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number rangedAttackSpeed diff --git a/api/UnitReaction.lua b/api/UnitReaction.lua index 75696d2..440375e 100644 --- a/api/UnitReaction.lua +++ b/api/UnitReaction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param unit string diff --git a/api/UnitRealmRelationship.lua b/api/UnitRealmRelationship.lua index 0d223a4..22d4f9c 100644 --- a/api/UnitRealmRelationship.lua +++ b/api/UnitRealmRelationship.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitRealmRelationship() end diff --git a/api/UnitResistance.lua b/api/UnitResistance.lua index d104e69..fcdc710 100644 --- a/api/UnitResistance.lua +++ b/api/UnitResistance.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param resistanceIndex 5 diff --git a/api/UnitSelectionColor.lua b/api/UnitSelectionColor.lua index dcf8802..f254f2f 100644 --- a/api/UnitSelectionColor.lua +++ b/api/UnitSelectionColor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitSetRole.lua b/api/UnitSetRole.lua index d94fbab..b4b5f6a 100644 --- a/api/UnitSetRole.lua +++ b/api/UnitSetRole.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param role TANK diff --git a/api/UnitSex.lua b/api/UnitSex.lua index 17d6546..7fee0fc 100644 --- a/api/UnitSex.lua +++ b/api/UnitSex.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitSpellHaste.lua b/api/UnitSpellHaste.lua index b2a0c01..1b3cc14 100644 --- a/api/UnitSpellHaste.lua +++ b/api/UnitSpellHaste.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitStagger.lua b/api/UnitStagger.lua index 3f094b2..51ab3b9 100644 --- a/api/UnitStagger.lua +++ b/api/UnitStagger.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitStagger() end diff --git a/api/UnitStat.lua b/api/UnitStat.lua index 4355f85..17e3e6f 100644 --- a/api/UnitStat.lua +++ b/api/UnitStat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param statIndex 5 diff --git a/api/UnitSwitchToVehicleSeat.lua b/api/UnitSwitchToVehicleSeat.lua index 096e899..cc967fd 100644 --- a/api/UnitSwitchToVehicleSeat.lua +++ b/api/UnitSwitchToVehicleSeat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param seat number diff --git a/api/UnitTargetsVehicleInRaidUI.lua b/api/UnitTargetsVehicleInRaidUI.lua index 5c4e4de..20ca245 100644 --- a/api/UnitTargetsVehicleInRaidUI.lua +++ b/api/UnitTargetsVehicleInRaidUI.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return boolean targetVehicle diff --git a/api/UnitThreatPercentageOfLead.lua b/api/UnitThreatPercentageOfLead.lua index ae91a95..2a7def7 100644 --- a/api/UnitThreatPercentageOfLead.lua +++ b/api/UnitThreatPercentageOfLead.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnitThreatPercentageOfLead() end diff --git a/api/UnitThreatSituation.lua b/api/UnitThreatSituation.lua index 6c3d38c..ec50624 100644 --- a/api/UnitThreatSituation.lua +++ b/api/UnitThreatSituation.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit unitid ---@param name string diff --git a/api/UnitUsingVehicle.lua b/api/UnitUsingVehicle.lua index e262ccd..8210c19 100644 --- a/api/UnitUsingVehicle.lua +++ b/api/UnitUsingVehicle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return 1nil usingVehicle diff --git a/api/UnitVehicleSeatCount.lua b/api/UnitVehicleSeatCount.lua index 1c3b2bf..ee8f1e2 100644 --- a/api/UnitVehicleSeatCount.lua +++ b/api/UnitVehicleSeatCount.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number numSeats diff --git a/api/UnitVehicleSeatInfo.lua b/api/UnitVehicleSeatInfo.lua index 8d6b475..de95a68 100644 --- a/api/UnitVehicleSeatInfo.lua +++ b/api/UnitVehicleSeatInfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param seat number diff --git a/api/UnitVehicleSkin.lua b/api/UnitVehicleSkin.lua index bbc1b37..f96cc3d 100644 --- a/api/UnitVehicleSkin.lua +++ b/api/UnitVehicleSkin.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@param name string diff --git a/api/UnitXP.lua b/api/UnitXP.lua index 847a18e..5e3a7c3 100644 --- a/api/UnitXP.lua +++ b/api/UnitXP.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number currXP diff --git a/api/UnitXPMax.lua b/api/UnitXPMax.lua index 1eeced9..d6afc6a 100644 --- a/api/UnitXPMax.lua +++ b/api/UnitXPMax.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param unit string ---@return number playerMaxXP diff --git a/api/UnlearnSpecialization.lua b/api/UnlearnSpecialization.lua index 22fcc06..94a7f56 100644 --- a/api/UnlearnSpecialization.lua +++ b/api/UnlearnSpecialization.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnlearnSpecialization() end diff --git a/api/UnlockVoidStorage.lua b/api/UnlockVoidStorage.lua index abac172..c534fef 100644 --- a/api/UnlockVoidStorage.lua +++ b/api/UnlockVoidStorage.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UnlockVoidStorage() end diff --git a/api/UpdateAddOnCPUUsage.lua b/api/UpdateAddOnCPUUsage.lua index a5bcb0d..0f57b50 100644 --- a/api/UpdateAddOnCPUUsage.lua +++ b/api/UpdateAddOnCPUUsage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Updates addon CPU profiling information. Only has effect if the scriptProfile CVar is set to 1. See GetAddOnCPUUsage() for the updated data. function UpdateAddOnCPUUsage() end diff --git a/api/UpdateAddOnMemoryUsage.lua b/api/UpdateAddOnMemoryUsage.lua index a331679..31ff250 100644 --- a/api/UpdateAddOnMemoryUsage.lua +++ b/api/UpdateAddOnMemoryUsage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Updates addon memory usage information. See GetAddOnMemoryUsage() for the updated data. function UpdateAddOnMemoryUsage() end diff --git a/api/UpdateGMTicket.lua b/api/UpdateGMTicket.lua index fca5bfb..9761faf 100644 --- a/api/UpdateGMTicket.lua +++ b/api/UpdateGMTicket.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param text string ---Updates the open GM ticket with new text diff --git a/api/UpdateInventoryAlertStatus.lua b/api/UpdateInventoryAlertStatus.lua index 146343f..c8cb8c2 100644 --- a/api/UpdateInventoryAlertStatus.lua +++ b/api/UpdateInventoryAlertStatus.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UpdateInventoryAlertStatus() end diff --git a/api/UpdateMapHighlight.lua b/api/UpdateMapHighlight.lua index 0254801..b6ef194 100644 --- a/api/UpdateMapHighlight.lua +++ b/api/UpdateMapHighlight.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param cursorX number ---@param cursorY number diff --git a/api/UpdateWarGamesList.lua b/api/UpdateWarGamesList.lua index c9da67b..71d2a24 100644 --- a/api/UpdateWarGamesList.lua +++ b/api/UpdateWarGamesList.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UpdateWarGamesList() end diff --git a/api/UpdateWorldMapArrow.lua b/api/UpdateWorldMapArrow.lua index ce90aaf..72f506e 100644 --- a/api/UpdateWorldMapArrow.lua +++ b/api/UpdateWorldMapArrow.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UpdateWorldMapArrow() end diff --git a/api/UpgradeItem.lua b/api/UpgradeItem.lua index 40d326b..48d73ea 100644 --- a/api/UpgradeItem.lua +++ b/api/UpgradeItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Accepts an item upgrade, spending the required amount of currency. This function can only be called when at the upgrade merchant. function UpgradeItem() end diff --git a/api/UseAction.lua b/api/UseAction.lua index 19686cf..fa6bb56 100644 --- a/api/UseAction.lua +++ b/api/UseAction.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---@param target string diff --git a/api/UseContainerItem.lua b/api/UseContainerItem.lua index 8de6c3c..e5d181e 100644 --- a/api/UseContainerItem.lua +++ b/api/UseContainerItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param container number ---@param slot number diff --git a/api/UseEquipmentSet.lua b/api/UseEquipmentSet.lua index 57a3d95..f460a3d 100644 --- a/api/UseEquipmentSet.lua +++ b/api/UseEquipmentSet.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@return boolean equipped diff --git a/api/UseHearthstone.lua b/api/UseHearthstone.lua index 618aff6..7468cee 100644 --- a/api/UseHearthstone.lua +++ b/api/UseHearthstone.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return boolean state ---Attempts to use the player's Hearthstone. Used by the support/help interface to resolve issues where a player is stuck. diff --git a/api/UseInventoryItem.lua b/api/UseInventoryItem.lua index 9f8a1a1..cd02f9c 100644 --- a/api/UseInventoryItem.lua +++ b/api/UseInventoryItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param slot number ---Activate (as with right-clicking) an equipped item. If the inventoryID passed refers to an empty slot or a slot containing an item without a "Use:" action, this function is not protected (i.e. usable only by the Blizzard UI), but also has no effect. diff --git a/api/UseItemByName.lua b/api/UseItemByName.lua index 85167b7..3626e59 100644 --- a/api/UseItemByName.lua +++ b/api/UseItemByName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---@param itemName string diff --git a/api/UseItemForTransmogrify.lua b/api/UseItemForTransmogrify.lua index 4b8dc19..3a67e24 100644 --- a/api/UseItemForTransmogrify.lua +++ b/api/UseItemForTransmogrify.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UseItemForTransmogrify() end diff --git a/api/UseQuestLogSpecialItem.lua b/api/UseQuestLogSpecialItem.lua index 254cc9d..17be6b7 100644 --- a/api/UseQuestLogSpecialItem.lua +++ b/api/UseQuestLogSpecialItem.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param questIndex number ---Uses the item associated with a current quest. Available for a number of quests which involve using an item (i.e. "Use the MacGuffin to summon and defeat the boss", "Use this saw to fell 12 trees", etc.) diff --git a/api/UseSoulstone.lua b/api/UseSoulstone.lua index 4ff5dc6..3e52ef3 100644 --- a/api/UseSoulstone.lua +++ b/api/UseSoulstone.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Instantly resurrects the player in place, if possible. Usable if the player is dead (and has not yet released his or her spirit to the graveyard) and has the ability to instantly resurrect (provided by a Warlock's Soulstone or a Shaman's Reincarnation passive ability). function UseSoulstone() end diff --git a/api/UseToy.lua b/api/UseToy.lua index 3ccf17b..abc6488 100644 --- a/api/UseToy.lua +++ b/api/UseToy.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param itemID number ---Use a Toy. This API is protected. If you wish to provide interface for users to access a toy, create a SecureActionButton and set the type attribute to "item" and the item attribute to the itemString stub (such as "item:####") diff --git a/api/UseToyByName.lua b/api/UseToyByName.lua index dbccc1c..5e32b2c 100644 --- a/api/UseToyByName.lua +++ b/api/UseToyByName.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---Activates a toy from the Toy Box diff --git a/api/UseVoidItemForTransmogrify.lua b/api/UseVoidItemForTransmogrify.lua index 4adfbab..ca4111c 100644 --- a/api/UseVoidItemForTransmogrify.lua +++ b/api/UseVoidItemForTransmogrify.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function UseVoidItemForTransmogrify() end diff --git a/api/ValidateTransmogrifications.lua b/api/ValidateTransmogrifications.lua index 513bdcf..4dffa90 100644 --- a/api/ValidateTransmogrifications.lua +++ b/api/ValidateTransmogrifications.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function ValidateTransmogrifications() end diff --git a/api/VehicleAimDecrement.lua b/api/VehicleAimDecrement.lua index 1f81b46..5fe700c 100644 --- a/api/VehicleAimDecrement.lua +++ b/api/VehicleAimDecrement.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param amount number ---Adjusts vehicle aim downward by a specified amount diff --git a/api/VehicleAimDownStart.lua b/api/VehicleAimDownStart.lua index baa02e9..5e93c54 100644 --- a/api/VehicleAimDownStart.lua +++ b/api/VehicleAimDownStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Starts adjusting vehicle aim downward function VehicleAimDownStart() end diff --git a/api/VehicleAimDownStop.lua b/api/VehicleAimDownStop.lua index 7c3006b..38afdee 100644 --- a/api/VehicleAimDownStop.lua +++ b/api/VehicleAimDownStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Stops adjusting vehicle aim downward function VehicleAimDownStop() end diff --git a/api/VehicleAimGetAngle.lua b/api/VehicleAimGetAngle.lua index 6ee5347..d79f75e 100644 --- a/api/VehicleAimGetAngle.lua +++ b/api/VehicleAimGetAngle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number angle ---Returns the aim angle of a vehicle weapon. The returned value is in radians, with positive values indicating upward angle, negative values indicating downward angle, and 0 indicating straight ahead. diff --git a/api/VehicleAimGetNormAngle.lua b/api/VehicleAimGetNormAngle.lua index 580b43d..eea89a5 100644 --- a/api/VehicleAimGetNormAngle.lua +++ b/api/VehicleAimGetNormAngle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number angle ---Returns the aim angle of a vehicle weapon relative to its minimum angle. The returned value is in radians, with 0 indicating the lowest angle allowed for the vehicle weapon and increasing values for upward aim. diff --git a/api/VehicleAimGetNormPower.lua b/api/VehicleAimGetNormPower.lua index 3c14f58..9780332 100644 --- a/api/VehicleAimGetNormPower.lua +++ b/api/VehicleAimGetNormPower.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function VehicleAimGetNormPower() end diff --git a/api/VehicleAimIncrement.lua b/api/VehicleAimIncrement.lua index f4ff663..eb66325 100644 --- a/api/VehicleAimIncrement.lua +++ b/api/VehicleAimIncrement.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param amount number ---Adjusts vehicle aim upward by a specified amount diff --git a/api/VehicleAimRequestAngle.lua b/api/VehicleAimRequestAngle.lua index 49ce586..f236033 100644 --- a/api/VehicleAimRequestAngle.lua +++ b/api/VehicleAimRequestAngle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param amount number ---Attempts to set a vehicle weapon's aim angle to a specific value. Causes aim angle to transition smoothly from the current value to the requested value (or to the closest allowed value to the requested value if it is beyond the vehicle's limits). Aim angle values are in radians, with positive values indicating upward angle, negative values indicating downward angle, and 0 indicating straight ahead. diff --git a/api/VehicleAimRequestNormAngle.lua b/api/VehicleAimRequestNormAngle.lua index 299ba46..16d5c68 100644 --- a/api/VehicleAimRequestNormAngle.lua +++ b/api/VehicleAimRequestNormAngle.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param amount number ---Attempts to set a vehicle weapon's aim angle to a specific value relative to its minimum value. Causes aim angle to transition smoothly from the current value to the requested value (or to the closest allowed value to the requested value if it is beyond the vehicle's limits). The returned value is in radians, with 0 indicating the lowest angle allowed for the vehicle weapon and increasing values for upward aim. diff --git a/api/VehicleAimSetNormPower.lua b/api/VehicleAimSetNormPower.lua index 054be27..acdd31a 100644 --- a/api/VehicleAimSetNormPower.lua +++ b/api/VehicleAimSetNormPower.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function VehicleAimSetNormPower() end diff --git a/api/VehicleAimUpStart.lua b/api/VehicleAimUpStart.lua index 8f33033..86f361b 100644 --- a/api/VehicleAimUpStart.lua +++ b/api/VehicleAimUpStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Starts adjusting vehicle aim upward function VehicleAimUpStart() end diff --git a/api/VehicleAimUpStop.lua b/api/VehicleAimUpStop.lua index 511fe98..4eda9b7 100644 --- a/api/VehicleAimUpStop.lua +++ b/api/VehicleAimUpStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Stops adjusting vehicle aim upward function VehicleAimUpStop() end diff --git a/api/VehicleCameraZoomIn.lua b/api/VehicleCameraZoomIn.lua index ee4abc1..c8bacd9 100644 --- a/api/VehicleCameraZoomIn.lua +++ b/api/VehicleCameraZoomIn.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Zooms the player's view in while in a vehicle function VehicleCameraZoomIn() end diff --git a/api/VehicleCameraZoomOut.lua b/api/VehicleCameraZoomOut.lua index f260b2f..e6331ae 100644 --- a/api/VehicleCameraZoomOut.lua +++ b/api/VehicleCameraZoomOut.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Zooms the player's view out while in a vehicle function VehicleCameraZoomOut() end diff --git a/api/VehicleExit.lua b/api/VehicleExit.lua index c92aec4..28066ad 100644 --- a/api/VehicleExit.lua +++ b/api/VehicleExit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Removes the player from the current vehicle. Does nothing if the player is not in a vehicle. function VehicleExit() end diff --git a/api/VehicleNextSeat.lua b/api/VehicleNextSeat.lua index 39554be..0dbb460 100644 --- a/api/VehicleNextSeat.lua +++ b/api/VehicleNextSeat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Moves the player from his current seat in a vehicle to the next sequentially numbered seat. If the player is in the highest-numbered seat, cycles around to the lowest-numbered seat. function VehicleNextSeat() end diff --git a/api/VehiclePrevSeat.lua b/api/VehiclePrevSeat.lua index d4ab2af..aeb12d7 100644 --- a/api/VehiclePrevSeat.lua +++ b/api/VehiclePrevSeat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Moves the player from his current seat in a vehicle to the previous sequentially numbered seat. If the player is in the lowest-numbered seat, cycles around to the highest-numbered seat. function VehiclePrevSeat() end diff --git a/api/ViewGuildRecipes.lua b/api/ViewGuildRecipes.lua index 5cc5570..d29b7db 100644 --- a/api/ViewGuildRecipes.lua +++ b/api/ViewGuildRecipes.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param professionID number ---Opens the guild profession view for a profession. Opens the guild profession view for the specified profession. diff --git a/api/VoiceChat_ActivatePrimaryCaptureCallback.lua b/api/VoiceChat_ActivatePrimaryCaptureCallback.lua index 9bce34e..886bce7 100644 --- a/api/VoiceChat_ActivatePrimaryCaptureCallback.lua +++ b/api/VoiceChat_ActivatePrimaryCaptureCallback.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function VoiceChat_ActivatePrimaryCaptureCallback() end diff --git a/api/VoiceChat_GetCurrentMicrophoneSignalLevel.lua b/api/VoiceChat_GetCurrentMicrophoneSignalLevel.lua index 91d56f6..a82b064 100644 --- a/api/VoiceChat_GetCurrentMicrophoneSignalLevel.lua +++ b/api/VoiceChat_GetCurrentMicrophoneSignalLevel.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number volume ---Returns the current volume level of the microphone signal diff --git a/api/VoiceChat_IsPlayingLoopbackSound.lua b/api/VoiceChat_IsPlayingLoopbackSound.lua index 009f0c7..24649ae 100644 --- a/api/VoiceChat_IsPlayingLoopbackSound.lua +++ b/api/VoiceChat_IsPlayingLoopbackSound.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param isPlaying number ---Returns whether the Microphone Test recording is playing diff --git a/api/VoiceChat_IsRecordingLoopbackSound.lua b/api/VoiceChat_IsRecordingLoopbackSound.lua index ab5ca34..e901411 100644 --- a/api/VoiceChat_IsRecordingLoopbackSound.lua +++ b/api/VoiceChat_IsRecordingLoopbackSound.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number isRecording ---Returns whether a Microphone Test is recording diff --git a/api/VoiceChat_PlayLoopbackSound.lua b/api/VoiceChat_PlayLoopbackSound.lua index 8d33356..be84b95 100644 --- a/api/VoiceChat_PlayLoopbackSound.lua +++ b/api/VoiceChat_PlayLoopbackSound.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Plays back the Microphone Test recording function VoiceChat_PlayLoopbackSound() end diff --git a/api/VoiceChat_RecordLoopbackSound.lua b/api/VoiceChat_RecordLoopbackSound.lua index 34b4566..a49fc49 100644 --- a/api/VoiceChat_RecordLoopbackSound.lua +++ b/api/VoiceChat_RecordLoopbackSound.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param seconds number ---Begins recording a Microphone Test diff --git a/api/VoiceChat_StartCapture.lua b/api/VoiceChat_StartCapture.lua index 65de1ba..1327946 100644 --- a/api/VoiceChat_StartCapture.lua +++ b/api/VoiceChat_StartCapture.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function VoiceChat_StartCapture() end diff --git a/api/VoiceChat_StopCapture.lua b/api/VoiceChat_StopCapture.lua index 97f4949..897726c 100644 --- a/api/VoiceChat_StopCapture.lua +++ b/api/VoiceChat_StopCapture.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function VoiceChat_StopCapture() end diff --git a/api/VoiceChat_StopPlayingLoopbackSound.lua b/api/VoiceChat_StopPlayingLoopbackSound.lua index 74532fe..cccf7ca 100644 --- a/api/VoiceChat_StopPlayingLoopbackSound.lua +++ b/api/VoiceChat_StopPlayingLoopbackSound.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Stops playing the Microphone Test recording function VoiceChat_StopPlayingLoopbackSound() end diff --git a/api/VoiceChat_StopRecordingLoopbackSound.lua b/api/VoiceChat_StopRecordingLoopbackSound.lua index 383f4f6..00d2aa0 100644 --- a/api/VoiceChat_StopRecordingLoopbackSound.lua +++ b/api/VoiceChat_StopRecordingLoopbackSound.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Stops recording a Microphone Test function VoiceChat_StopRecordingLoopbackSound() end diff --git a/api/VoiceEnumerateCaptureDevices.lua b/api/VoiceEnumerateCaptureDevices.lua index 1b353a5..9c9b3da 100644 --- a/api/VoiceEnumerateCaptureDevices.lua +++ b/api/VoiceEnumerateCaptureDevices.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param deviceIndex number ---@return string deviceName diff --git a/api/VoiceEnumerateOutputDevices.lua b/api/VoiceEnumerateOutputDevices.lua index 1da4803..aec711b 100644 --- a/api/VoiceEnumerateOutputDevices.lua +++ b/api/VoiceEnumerateOutputDevices.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param deviceIndex number ---@return string device diff --git a/api/VoiceGetCurrentCaptureDevice.lua b/api/VoiceGetCurrentCaptureDevice.lua index f32f14a..5e9e376 100644 --- a/api/VoiceGetCurrentCaptureDevice.lua +++ b/api/VoiceGetCurrentCaptureDevice.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the index of the current voice capture device diff --git a/api/VoiceGetCurrentOutputDevice.lua b/api/VoiceGetCurrentOutputDevice.lua index 8b1d6d3..49d2ab9 100644 --- a/api/VoiceGetCurrentOutputDevice.lua +++ b/api/VoiceGetCurrentOutputDevice.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number index ---Returns the index of the current voice output device diff --git a/api/VoiceIsDisabledByClient.lua b/api/VoiceIsDisabledByClient.lua index b534667..4d262b2 100644 --- a/api/VoiceIsDisabledByClient.lua +++ b/api/VoiceIsDisabledByClient.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil isDisabled ---Returns whether the voice chat system cannot be enabled. Voice chat may be disabled if the underlying hardware does not support it or if multiple instances of World of Warcraft are running on the same hardware. diff --git a/api/VoicePushToTalkStart.lua b/api/VoicePushToTalkStart.lua index 36c6334..26db1a7 100644 --- a/api/VoicePushToTalkStart.lua +++ b/api/VoicePushToTalkStart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Used internally to start talking, when push-to-talk is active in voice chat. function VoicePushToTalkStart() end diff --git a/api/VoicePushToTalkStop.lua b/api/VoicePushToTalkStop.lua index fb33b84..b623ee9 100644 --- a/api/VoicePushToTalkStop.lua +++ b/api/VoicePushToTalkStop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Used internally to stop talking, when push-to-talk is active in voice chat function VoicePushToTalkStop() end diff --git a/api/VoiceSelectCaptureDevice.lua b/api/VoiceSelectCaptureDevice.lua index fb52ee9..23920a5 100644 --- a/api/VoiceSelectCaptureDevice.lua +++ b/api/VoiceSelectCaptureDevice.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param deviceName string ---Selects an audio input device for voice chat diff --git a/api/VoiceSelectOutputDevice.lua b/api/VoiceSelectOutputDevice.lua index 3da75e9..293b5bf 100644 --- a/api/VoiceSelectOutputDevice.lua +++ b/api/VoiceSelectOutputDevice.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param deviceName string ---Selects an audio output device for voice chat diff --git a/api/WarGameRespond.lua b/api/WarGameRespond.lua index 2675d9b..b48b755 100644 --- a/api/WarGameRespond.lua +++ b/api/WarGameRespond.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function WarGameRespond() end diff --git a/api/WithdrawGuildBankMoney.lua b/api/WithdrawGuildBankMoney.lua index 1e7221a..eac2106 100644 --- a/api/WithdrawGuildBankMoney.lua +++ b/api/WithdrawGuildBankMoney.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param amount number ---Attempts to withdraw money from the guild bank. Causes a PLAYER_MONEY event to fire, indicating the amount withdrawn has been added to the player's total (see GetMoney()). Causes an error or system message if amount exceeds the amount of money in the guild bank or the player's allowed daily withdrawal amount. diff --git a/api/ZoomOut.lua b/api/ZoomOut.lua index 3a4977e..0fa4935 100644 --- a/api/ZoomOut.lua +++ b/api/ZoomOut.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Sets the world map to show the area containing its current area. Only used by the default UI in certain circumstances: to "zoom out" from a multi-level map (e.g. Dalaran or a dungeon) to the containing zone/continent. May cause problems when not used in such cases. function ZoomOut() end diff --git a/api/acos.lua b/api/acos.lua index f8c54f1..9b1fd51 100644 --- a/api/acos.lua +++ b/api/acos.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Alternative to math.acos, using degrees instead of radians function acos() end diff --git a/api/asin.lua b/api/asin.lua index ca79b6a..e0eb552 100644 --- a/api/asin.lua +++ b/api/asin.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Alternative to math.asin, using degrees instead of radians function asin() end diff --git a/api/assert.lua b/api/assert.lua index 16cc9ce..7eed401 100644 --- a/api/assert.lua +++ b/api/assert.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param condition value ---@param message string diff --git a/api/atan.lua b/api/atan.lua index a2ec207..1b8f49c 100644 --- a/api/atan.lua +++ b/api/atan.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Alternative to math.atan, using degrees instead of radians function atan() end diff --git a/api/atan2.lua b/api/atan2.lua index 97ece08..d27819b 100644 --- a/api/atan2.lua +++ b/api/atan2.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function atan2() end diff --git a/api/ceil.lua b/api/ceil.lua index 5960a8a..ceeb378 100644 --- a/api/ceil.lua +++ b/api/ceil.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param x number ---@return number ceiling diff --git a/api/collectgarbage.lua b/api/collectgarbage.lua index 80b47c9..170c5e6 100644 --- a/api/collectgarbage.lua +++ b/api/collectgarbage.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param option stop ---@param collect diff --git a/api/cos.lua b/api/cos.lua index 70f4a78..91c4228 100644 --- a/api/cos.lua +++ b/api/cos.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Alternative to math.cos, using degrees instead of radians function cos() end diff --git a/api/date.lua b/api/date.lua index 8f522ea..84bc9d2 100644 --- a/api/date.lua +++ b/api/date.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param format string ---@return string or table dateValue diff --git a/api/debugbreak.lua b/api/debugbreak.lua index 0e34e61..7501427 100644 --- a/api/debugbreak.lua +++ b/api/debugbreak.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function debugbreak() end diff --git a/api/debugdump.lua b/api/debugdump.lua index 2fb1383..de40bb9 100644 --- a/api/debugdump.lua +++ b/api/debugdump.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function debugdump() end diff --git a/api/debuginfo.lua b/api/debuginfo.lua index 89cbc3f..2666dc8 100644 --- a/api/debuginfo.lua +++ b/api/debuginfo.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function debuginfo() end diff --git a/api/debugload.lua b/api/debugload.lua index f3daa94..fac47a9 100644 --- a/api/debugload.lua +++ b/api/debugload.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function debugload() end diff --git a/api/debuglocals.lua b/api/debuglocals.lua index 1912123..72f727e 100644 --- a/api/debuglocals.lua +++ b/api/debuglocals.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param stackLevel number ---@return string localsInfo diff --git a/api/debugprint.lua b/api/debugprint.lua index 5099be4..1be6b80 100644 --- a/api/debugprint.lua +++ b/api/debugprint.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function debugprint() end diff --git a/api/debugprofilestart.lua b/api/debugprofilestart.lua index 7c61f34..c506e3a 100644 --- a/api/debugprofilestart.lua +++ b/api/debugprofilestart.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Starts/resets the high resolution profiling timer. Subsequent calls to debugprofilestop() will return the current value of the timer. Note that debugprofilestart() is more of a global reset than a "start". It is not necessary to call it, ever. In fact, it is probably a much better idea to simply do 2 calls to stop() and calculate the difference, since calling start() will interrupt timing measurements done by other addons. function debugprofilestart() end diff --git a/api/debugprofilestop.lua b/api/debugprofilestop.lua index ff02a83..b18abf0 100644 --- a/api/debugprofilestop.lua +++ b/api/debugprofilestop.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number time ---Returns the value of the profiling timer diff --git a/api/debugstack.lua b/api/debugstack.lua index 6998ded..a49ca14 100644 --- a/api/debugstack.lua +++ b/api/debugstack.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param start number ---@param countTop number diff --git a/api/debugtimestamp.lua b/api/debugtimestamp.lua index 692fe84..bf7d722 100644 --- a/api/debugtimestamp.lua +++ b/api/debugtimestamp.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function debugtimestamp() end diff --git a/api/difftime.lua b/api/difftime.lua index eeb565b..3674b6a 100644 --- a/api/difftime.lua +++ b/api/difftime.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param time2 number ---@param time1 number diff --git a/api/error.lua b/api/error.lua index 7ddcf13..9354046 100644 --- a/api/error.lua +++ b/api/error.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param message string ---@param level number diff --git a/api/fastrandom.lua b/api/fastrandom.lua index 64c4c0c..da6a2a3 100644 --- a/api/fastrandom.lua +++ b/api/fastrandom.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function fastrandom() end diff --git a/api/floor.lua b/api/floor.lua index 62eaed7..b44cb2b 100644 --- a/api/floor.lua +++ b/api/floor.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param x number ---@return number floor diff --git a/api/forceinsecure.lua b/api/forceinsecure.lua index 8c322f6..4f185f2 100644 --- a/api/forceinsecure.lua +++ b/api/forceinsecure.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Causes the current execution path to continue outside the secure environment. Meaningless when called from outside of the secure environment. function forceinsecure() end diff --git a/api/foreach.lua b/api/foreach.lua index a73c5ef..bfee620 100644 --- a/api/foreach.lua +++ b/api/foreach.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function foreach() end diff --git a/api/foreachi.lua b/api/foreachi.lua index 813ddc5..e4168d7 100644 --- a/api/foreachi.lua +++ b/api/foreachi.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function foreachi() end diff --git a/api/format.lua b/api/format.lua index c3c903b..ca56ed5 100644 --- a/api/format.lua +++ b/api/format.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param formatString string ---@param ... list diff --git a/api/frexp.lua b/api/frexp.lua index fe4fe00..6dbb9c8 100644 --- a/api/frexp.lua +++ b/api/frexp.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param x number ---@return number m diff --git a/api/gcinfo.lua b/api/gcinfo.lua index d58b362..5452887 100644 --- a/api/gcinfo.lua +++ b/api/gcinfo.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number count ---Returns the total Lua memory usage. Deprecated in Lua 5.1; use collectgarbage("count") instead. diff --git a/api/geterrorhandler.lua b/api/geterrorhandler.lua index b9a7262..3504af6 100644 --- a/api/geterrorhandler.lua +++ b/api/geterrorhandler.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return function handler ---Returns the current error handler function diff --git a/api/getfenv.lua b/api/getfenv.lua index e2c4f7a..e8069e2 100644 --- a/api/getfenv.lua +++ b/api/getfenv.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param f function ---@param stackLevel number diff --git a/api/getglobal.lua b/api/getglobal.lua index a925538..9787bb9 100644 --- a/api/getglobal.lua +++ b/api/getglobal.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@return value value diff --git a/api/getmetatable.lua b/api/getmetatable.lua index d9a3874..234bfd7 100644 --- a/api/getmetatable.lua +++ b/api/getmetatable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param object value ---@return value metatable diff --git a/api/getn.lua b/api/getn.lua index 52f191b..dc0d1dd 100644 --- a/api/getn.lua +++ b/api/getn.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function getn() end diff --git a/api/getprinthandler.lua b/api/getprinthandler.lua index 42be6e8..ecfba52 100644 --- a/api/getprinthandler.lua +++ b/api/getprinthandler.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return function printHandler ---Returns the function currently used for print() output.   The print handler is called by the print(...) function, with all arguments passed along. diff --git a/api/gmatch.lua b/api/gmatch.lua index 7ee2fb6..d76118b 100644 --- a/api/gmatch.lua +++ b/api/gmatch.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param s string ---@param pattern string diff --git a/api/gsub.lua b/api/gsub.lua index 33ce01e..3846281 100644 --- a/api/gsub.lua +++ b/api/gsub.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param s string ---@param pattern string diff --git a/api/hooksecurefunc.lua b/api/hooksecurefunc.lua index 05d2322..eff1772 100644 --- a/api/hooksecurefunc.lua +++ b/api/hooksecurefunc.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param func string ---@param hookfunc function diff --git a/api/ipairs.lua b/api/ipairs.lua index 7f3bc78..1985633 100644 --- a/api/ipairs.lua +++ b/api/ipairs.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param t table ---@return function iterator diff --git a/api/issecure.lua b/api/issecure.lua index 90d7fc0..a89ea0c 100644 --- a/api/issecure.lua +++ b/api/issecure.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return 1nil secure ---Returns whether the current execution path is secure. Meaningless when called from outside of the secure environment: always returns nil in such situations. diff --git a/api/issecurevariable.lua b/api/issecurevariable.lua index da30aaa..7d88510 100644 --- a/api/issecurevariable.lua +++ b/api/issecurevariable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param table table ---@param variable string diff --git a/api/ldexp.lua b/api/ldexp.lua index dd8a0c6..49d381f 100644 --- a/api/ldexp.lua +++ b/api/ldexp.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param m number ---@param e number diff --git a/api/loadstring.lua b/api/loadstring.lua index 308c085..831c1f1 100644 --- a/api/loadstring.lua +++ b/api/loadstring.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param s string ---@param chunkname string diff --git a/api/message.lua b/api/message.lua index a87cedd..517e54d 100644 --- a/api/message.lua +++ b/api/message.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param text string ---Shows a message box containing the given text diff --git a/api/newproxy.lua b/api/newproxy.lua index ea042c9..5adfe7c 100644 --- a/api/newproxy.lua +++ b/api/newproxy.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param boolean boolean ---@param userdata userdata diff --git a/api/next.lua b/api/next.lua index e98eb26..7090d0e 100644 --- a/api/next.lua +++ b/api/next.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param t table ---@param key value diff --git a/api/pairs.lua b/api/pairs.lua index c09cd2d..a1d8b39 100644 --- a/api/pairs.lua +++ b/api/pairs.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param t table ---@return function iterator diff --git a/api/pcall.lua b/api/pcall.lua index 7537fa9..113c1ab 100644 --- a/api/pcall.lua +++ b/api/pcall.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param f function ---@param ... list diff --git a/api/print.lua b/api/print.lua index fe0f6cb..e6ddfca 100644 --- a/api/print.lua +++ b/api/print.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param ... list ---Outputs a list of values (in the main chat window by default). The default print handler prints all values passed to it, separated by spaces, to the default chat frame. Values are passed through tostring(), so only number and string values are output in a literal form: tables, functions and userdata are output as a memory address preceded by their type. This behavior can be customized by using setprinthandler() to designate an alternate function for output. diff --git a/api/random.lua b/api/random.lua index 0d96e0f..a231109 100644 --- a/api/random.lua +++ b/api/random.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param m number ---@param n number diff --git a/api/rawequal.lua b/api/rawequal.lua index 7faa54e..18e4cf8 100644 --- a/api/rawequal.lua +++ b/api/rawequal.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param v1 value ---@param v2 function diff --git a/api/rawget.lua b/api/rawget.lua index 0a8d79d..962b8bd 100644 --- a/api/rawget.lua +++ b/api/rawget.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param t table ---@param key value diff --git a/api/rawset.lua b/api/rawset.lua index 7fdc554..65033d2 100644 --- a/api/rawset.lua +++ b/api/rawset.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param t table ---@param key value diff --git a/api/scrub.lua b/api/scrub.lua index 48642ee..3a4a51f 100644 --- a/api/scrub.lua +++ b/api/scrub.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param ... list ---@return list ... diff --git a/api/securecall.lua b/api/securecall.lua index d94200c..358e9ea 100644 --- a/api/securecall.lua +++ b/api/securecall.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param function function ---@param ... list diff --git a/api/select.lua b/api/select.lua index 92ad976..87883c9 100644 --- a/api/select.lua +++ b/api/select.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param index number ---@param # string diff --git a/api/seterrorhandler.lua b/api/seterrorhandler.lua index bd7fbf3..608fe54 100644 --- a/api/seterrorhandler.lua +++ b/api/seterrorhandler.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param errHandler function ---Changes the error handler to a specified function. The error handler is called by Lua's error() function, which in turn is called whenever a Lua error occurs. WoW's default error handler displays the error message, a stack trace and information about the local variables for the function. This dialog will only be shown if the "Show Lua errors" option is enabled in Interface Options. diff --git a/api/setfenv.lua b/api/setfenv.lua index 4dc9123..92f1d53 100644 --- a/api/setfenv.lua +++ b/api/setfenv.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param f function ---@param stackLevel number diff --git a/api/setglobal.lua b/api/setglobal.lua index 42158eb..9aa5243 100644 --- a/api/setglobal.lua +++ b/api/setglobal.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param name string ---@param value value diff --git a/api/setmetatable.lua b/api/setmetatable.lua index 040db6e..30b0299 100644 --- a/api/setmetatable.lua +++ b/api/setmetatable.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param t table ---@param metatable table diff --git a/api/setprinthandler.lua b/api/setprinthandler.lua index bb67666..58c000c 100644 --- a/api/setprinthandler.lua +++ b/api/setprinthandler.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param printHandler function ---Sets a new function to be used for print() output. The print handler is called by the print(...) function, with all arguments passed along. diff --git a/api/sin.lua b/api/sin.lua index a719917..fdd8329 100644 --- a/api/sin.lua +++ b/api/sin.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Alternative to math.sin, using degrees instead of radians function sin() end diff --git a/api/sort.lua b/api/sort.lua index 4f30927..558b693 100644 --- a/api/sort.lua +++ b/api/sort.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param table number ---@param comparator function diff --git a/api/sqrt.lua b/api/sqrt.lua index 97b6c59..3f73376 100644 --- a/api/sqrt.lua +++ b/api/sqrt.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param x number ---@return number root diff --git a/api/strconcat.lua b/api/strconcat.lua index 23dde14..815be94 100644 --- a/api/strconcat.lua +++ b/api/strconcat.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param ... string ---@return string result diff --git a/api/strjoin.lua b/api/strjoin.lua index e45db1e..a7bb373 100644 --- a/api/strjoin.lua +++ b/api/strjoin.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param sep string ---@param ... list diff --git a/api/strsplit.lua b/api/strsplit.lua index a5d466c..fbb3c17 100644 --- a/api/strsplit.lua +++ b/api/strsplit.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param sep string ---@param text string diff --git a/api/strtrim.lua b/api/strtrim.lua index 31b6297..f779e06 100644 --- a/api/strtrim.lua +++ b/api/strtrim.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param str string ---@return string text diff --git a/api/tContains.lua b/api/tContains.lua index 484b401..aa3077c 100644 --- a/api/tContains.lua +++ b/api/tContains.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param table table ---@param value any diff --git a/api/tDelete.lua b/api/tDelete.lua index 79b87c0..1907056 100644 --- a/api/tDelete.lua +++ b/api/tDelete.lua @@ -1,3 +1,4 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta function tDelete() end diff --git a/api/tan.lua b/api/tan.lua index dbc8e86..70f825e 100644 --- a/api/tan.lua +++ b/api/tan.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---Alternative to math.tan, using degrees instead of radians function tan() end diff --git a/api/time.lua b/api/time.lua index 81af282..5dbb166 100644 --- a/api/time.lua +++ b/api/time.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@return number t ---Returns the numeric time value for a described date/time (or the current time). Alias for the standard library function os.time. According to the Lua manual, the returned value may vary across different systems; however, the Lua libraries included with current WoW clients on both Mac and Windows share the same implementation. For higher-precision time measurements not convertible to a date, see GetTime(). diff --git a/api/tonumber.lua b/api/tonumber.lua index ddcacf0..85fbb8b 100644 --- a/api/tonumber.lua +++ b/api/tonumber.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param x value ---@param base number diff --git a/api/tostring.lua b/api/tostring.lua index 388b065..15964a2 100644 --- a/api/tostring.lua +++ b/api/tostring.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param value value ---@return string stringValue diff --git a/api/tostringall.lua b/api/tostringall.lua index d994316..aeeb0bf 100644 --- a/api/tostringall.lua +++ b/api/tostringall.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param ... list ---@return list ... diff --git a/api/type.lua b/api/type.lua index 4fb273b..8fa6f04 100644 --- a/api/type.lua +++ b/api/type.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param v value ---@return userdata typeString diff --git a/api/unpack.lua b/api/unpack.lua index c9010a0..974e92c 100644 --- a/api/unpack.lua +++ b/api/unpack.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param t table ---@param i number diff --git a/api/wipe.lua b/api/wipe.lua index f1537d6..f771d80 100644 --- a/api/wipe.lua +++ b/api/wipe.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param aTable table ---@return table emptyTable diff --git a/api/xpcall.lua b/api/xpcall.lua index 9ce655c..d895889 100644 --- a/api/xpcall.lua +++ b/api/xpcall.lua @@ -1,4 +1,5 @@ ---@diagnostic disable: missing-return, lowercase-global +---@meta ---@param f function ---@param err function