Add meta
This commit is contained in:
4
Meta/api/AbandonQuest.lua
Normal file
4
Meta/api/AbandonQuest.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---Confirms abandoning a quest. Use SetAbandonQuest() first to select the quest to abandon.
|
||||
function AbandonQuest() end
|
5
Meta/api/AbandonSkill.lua
Normal file
5
Meta/api/AbandonSkill.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param index number
|
||||
---Unlearns a skill (used only for professions)
|
||||
function AbandonSkill(index) end
|
4
Meta/api/AcceptAreaSpiritHeal.lua
Normal file
4
Meta/api/AcceptAreaSpiritHeal.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---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
|
6
Meta/api/AcceptBattlefieldPort.lua
Normal file
6
Meta/api/AcceptBattlefieldPort.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param index number
|
||||
---@param accept 1nil
|
||||
---Accepts the offered teleport to a battleground/arena or leaves the battleground/arena or queue. This function requires a hardware event when used to accept a teleport; it can be called without a hardware event for leaving a battleground/arena or its queue.
|
||||
function AcceptBattlefieldPort(index, accept) end
|
4
Meta/api/AcceptDuel.lua
Normal file
4
Meta/api/AcceptDuel.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---Accepts a proposed duel
|
||||
function AcceptDuel() end
|
4
Meta/api/AcceptGroup.lua
Normal file
4
Meta/api/AcceptGroup.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---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
|
4
Meta/api/AcceptGuild.lua
Normal file
4
Meta/api/AcceptGuild.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---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
|
4
Meta/api/AcceptLevelGrant.lua
Normal file
4
Meta/api/AcceptLevelGrant.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---Accepts a level offered by the player's Recruit-a-Friend partner
|
||||
function AcceptLevelGrant() end
|
4
Meta/api/AcceptProposal.lua
Normal file
4
Meta/api/AcceptProposal.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---Accepts a LFG dungeon invite.
|
||||
function AcceptProposal() end
|
4
Meta/api/AcceptQuest.lua
Normal file
4
Meta/api/AcceptQuest.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---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
|
4
Meta/api/AcceptResurrect.lua
Normal file
4
Meta/api/AcceptResurrect.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---Accepts an offered resurrection spell. Not used for self-resurrection; see UseSoulstone() for such cases.
|
||||
function AcceptResurrect() end
|
4
Meta/api/AcceptSockets.lua
Normal file
4
Meta/api/AcceptSockets.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---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
|
4
Meta/api/AcceptSpellConfirmationPrompt.lua
Normal file
4
Meta/api/AcceptSpellConfirmationPrompt.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function AcceptSpellConfirmationPrompt() end
|
4
Meta/api/AcceptTrade.lua
Normal file
4
Meta/api/AcceptTrade.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---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
|
4
Meta/api/AcceptXPLoss.lua
Normal file
4
Meta/api/AcceptXPLoss.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---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
|
4
Meta/api/AcknowledgeAutoAcceptQuest.lua
Normal file
4
Meta/api/AcknowledgeAutoAcceptQuest.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function AcknowledgeAutoAcceptQuest() end
|
4
Meta/api/AcknowledgeSurvey.lua
Normal file
4
Meta/api/AcknowledgeSurvey.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function AcknowledgeSurvey() end
|
6
Meta/api/ActionHasRange.lua
Normal file
6
Meta/api/ActionHasRange.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param slot number
|
||||
---@return 1nil hasRange
|
||||
---Returns whether an action has a range restriction
|
||||
function ActionHasRange(slot) end
|
8
Meta/api/AddAutoQuestPopUp.lua
Normal file
8
Meta/api/AddAutoQuestPopUp.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param questId number
|
||||
---@param type OFFER
|
||||
---@param COMPLETE
|
||||
---@param OFFER
|
||||
---Create a quest popup in the WatchFrame
|
||||
function AddAutoQuestPopUp(questId, type, COMPLETE, OFFER) end
|
7
Meta/api/AddChatWindowChannel.lua
Normal file
7
Meta/api/AddChatWindowChannel.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param index number
|
||||
---@param channel number
|
||||
---@return number zoneChannel
|
||||
---Adds a chat channel to the saved list of those displayed in a chat window. Used by the default UI's function ChatFrame_AddChannel() which manages the set of channel messages shown in a displayed ChatFrame.
|
||||
function AddChatWindowChannel(index, channel) end
|
6
Meta/api/AddChatWindowMessages.lua
Normal file
6
Meta/api/AddChatWindowMessages.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param index number
|
||||
---@param messageGroup string
|
||||
---Adds a message type to the saved list of those displayed in a chat window. Used by the default UI's function ChatFrame_AddMessageGroup(), which manages the set of message types shown in a displayed ChatFrame.
|
||||
function AddChatWindowMessages(index, messageGroup) end
|
5
Meta/api/AddFriend.lua
Normal file
5
Meta/api/AddFriend.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param name string
|
||||
---Adds a character to the friends list
|
||||
function AddFriend(name) end
|
5
Meta/api/AddIgnore.lua
Normal file
5
Meta/api/AddIgnore.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param name string
|
||||
---Adds a character to the ignore list
|
||||
function AddIgnore(name) end
|
5
Meta/api/AddMute.lua
Normal file
5
Meta/api/AddMute.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@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.
|
||||
function AddMute(name) end
|
5
Meta/api/AddOrDelIgnore.lua
Normal file
5
Meta/api/AddOrDelIgnore.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param fullname string
|
||||
---Adds the named character to the ignore list, or removes the character if already in the ignore list
|
||||
function AddOrDelIgnore(fullname) end
|
6
Meta/api/AddOrDelMute.lua
Normal file
6
Meta/api/AddOrDelMute.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param unit string
|
||||
---@param name string
|
||||
---Adds or removes a character from the voice mute list. Adds the character to the list if he/she is not already on it; removes the character if already on the list. 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.
|
||||
function AddOrDelMute(unit, name) end
|
6
Meta/api/AddOrRemoveFriend.lua
Normal file
6
Meta/api/AddOrRemoveFriend.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param name string
|
||||
---@param note string
|
||||
---Adds the named character to the friends list, or removes the character if already in the friends list
|
||||
function AddOrRemoveFriend(name, note) end
|
5
Meta/api/AddQuestWatch.lua
Normal file
5
Meta/api/AddQuestWatch.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param questIndex number
|
||||
---Adds a quest to the objectives tracker
|
||||
function AddQuestWatch(questIndex) end
|
5
Meta/api/AddTrackedAchievement.lua
Normal file
5
Meta/api/AddTrackedAchievement.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param id number
|
||||
---Adds an achievement to the objectives tracker UI
|
||||
function AddTrackedAchievement(id) end
|
4
Meta/api/AddTradeMoney.lua
Normal file
4
Meta/api/AddTradeMoney.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---Adds the money currently on the cursor to the trade window
|
||||
function AddTradeMoney() end
|
7
Meta/api/Ambiguate.lua
Normal file
7
Meta/api/Ambiguate.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param fullName string
|
||||
---@param context string
|
||||
---@return string name
|
||||
---Returns a player Name or Name-Realm string suitable for use in a given context.
|
||||
function Ambiguate(fullName, context) end
|
4
Meta/api/AntiAliasingSupported.lua
Normal file
4
Meta/api/AntiAliasingSupported.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function AntiAliasingSupported() end
|
4
Meta/api/ApplyBarberShopStyle.lua
Normal file
4
Meta/api/ApplyBarberShopStyle.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---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
|
4
Meta/api/ApplyTransmogrifications.lua
Normal file
4
Meta/api/ApplyTransmogrifications.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---Applies all pending transmogrifications, and pays for the cost
|
||||
function ApplyTransmogrifications() end
|
4
Meta/api/ArchaeologyGetIconInfo.lua
Normal file
4
Meta/api/ArchaeologyGetIconInfo.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function ArchaeologyGetIconInfo() end
|
5
Meta/api/ArchaeologyMapUpdateAll.lua
Normal file
5
Meta/api/ArchaeologyMapUpdateAll.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@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.
|
||||
function ArchaeologyMapUpdateAll() end
|
6
Meta/api/ArcheologyGetVisibleBlobID.lua
Normal file
6
Meta/api/ArcheologyGetVisibleBlobID.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param index number
|
||||
---@return number blobID
|
||||
---Returns the blob ID for an archaeology map landmark. Only works for the Archaeology system. The function's name is misspelled in the WoW API (should be Archaeology to be consistent with the rest of the API).
|
||||
function ArcheologyGetVisibleBlobID(index) end
|
5
Meta/api/AreAccountAchievementsHidden.lua
Normal file
5
Meta/api/AreAccountAchievementsHidden.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@return 1nil isHidden
|
||||
---Returns whether the player is displaying only character achievements to others
|
||||
function AreAccountAchievementsHidden() end
|
6
Meta/api/ArenaTeam_GetTeamSizeID.lua
Normal file
6
Meta/api/ArenaTeam_GetTeamSizeID.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param teamSize number
|
||||
---@return number teamID
|
||||
---Converts an arena team size to the appropriate numeric arena team identifier
|
||||
function ArenaTeam_GetTeamSizeID(teamSize) end
|
4
Meta/api/AscendStop.lua
Normal file
4
Meta/api/AscendStop.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---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
|
6
Meta/api/AssistUnit.lua
Normal file
6
Meta/api/AssistUnit.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param unit string
|
||||
---@param name string
|
||||
---Targets the unit targeted by another unit
|
||||
function AssistUnit(unit, name) end
|
4
Meta/api/AttackTarget.lua
Normal file
4
Meta/api/AttackTarget.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---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
|
4
Meta/api/AutoChooseCurrentGraphicsSetting.lua
Normal file
4
Meta/api/AutoChooseCurrentGraphicsSetting.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function AutoChooseCurrentGraphicsSetting() end
|
4
Meta/api/AutoEquipCursorItem.lua
Normal file
4
Meta/api/AutoEquipCursorItem.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---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
|
5
Meta/api/AutoLootMailItem.lua
Normal file
5
Meta/api/AutoLootMailItem.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@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.
|
||||
function AutoLootMailItem(mailID) end
|
6
Meta/api/AutoStoreGuildBankItem.lua
Normal file
6
Meta/api/AutoStoreGuildBankItem.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param tab number
|
||||
---@param slot number
|
||||
---Withdraws the item(s) from a slot in the guild bank, automatically adding to the player's bags
|
||||
function AutoStoreGuildBankItem(tab, slot) end
|
4
Meta/api/BNAcceptFriendInvite.lua
Normal file
4
Meta/api/BNAcceptFriendInvite.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNAcceptFriendInvite() end
|
4
Meta/api/BNCheckBattleTagInviteToGuildMember.lua
Normal file
4
Meta/api/BNCheckBattleTagInviteToGuildMember.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNCheckBattleTagInviteToGuildMember() end
|
4
Meta/api/BNCheckBattleTagInviteToUnit.lua
Normal file
4
Meta/api/BNCheckBattleTagInviteToUnit.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNCheckBattleTagInviteToUnit() end
|
5
Meta/api/BNConnected.lua
Normal file
5
Meta/api/BNConnected.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@return boolean isOnline
|
||||
---Returns whether or not the player is connected to Battle.net
|
||||
function BNConnected() end
|
7
Meta/api/BNCreateConversation.lua
Normal file
7
Meta/api/BNCreateConversation.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param presenceID_1 number
|
||||
---@param presenceID_2 number
|
||||
---@return boolean result
|
||||
---Create a conversation between you and two friends
|
||||
function BNCreateConversation(presenceID_1, presenceID_2) end
|
4
Meta/api/BNDeclineFriendInvite.lua
Normal file
4
Meta/api/BNDeclineFriendInvite.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNDeclineFriendInvite() end
|
5
Meta/api/BNFeaturesEnabled.lua
Normal file
5
Meta/api/BNFeaturesEnabled.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@return boolean isEnabled
|
||||
---Returns whether or not RealID services are disabled
|
||||
function BNFeaturesEnabled() end
|
4
Meta/api/BNFeaturesEnabledAndConnected.lua
Normal file
4
Meta/api/BNFeaturesEnabledAndConnected.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNFeaturesEnabledAndConnected() end
|
4
Meta/api/BNGetBlockedInfo.lua
Normal file
4
Meta/api/BNGetBlockedInfo.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNGetBlockedInfo() end
|
4
Meta/api/BNGetBlockedToonInfo.lua
Normal file
4
Meta/api/BNGetBlockedToonInfo.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNGetBlockedToonInfo() end
|
6
Meta/api/BNGetConversationInfo.lua
Normal file
6
Meta/api/BNGetConversationInfo.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param channel number
|
||||
---@return string type
|
||||
---Returns information about an existing battle.net conversation
|
||||
function BNGetConversationInfo(channel) end
|
9
Meta/api/BNGetConversationMemberInfo.lua
Normal file
9
Meta/api/BNGetConversationMemberInfo.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param channel number
|
||||
---@param memberIndex number
|
||||
---@return number presenceID
|
||||
---@return number unknown
|
||||
---@return string displayName
|
||||
---Returns information about a member of a battle.net conversation
|
||||
function BNGetConversationMemberInfo(channel, memberIndex) end
|
4
Meta/api/BNGetCustomMessageTable.lua
Normal file
4
Meta/api/BNGetCustomMessageTable.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNGetCustomMessageTable() end
|
12
Meta/api/BNGetFOFInfo.lua
Normal file
12
Meta/api/BNGetFOFInfo.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param presenceID number
|
||||
---@param mutual boolean
|
||||
---@param non-mutual boolean
|
||||
---@param index number
|
||||
---@return number presenceID
|
||||
---@return string givenName
|
||||
---@return string surname
|
||||
---@return boolean isFriend
|
||||
---Returns information about the specified friend of a RealID friend
|
||||
function BNGetFOFInfo(presenceID, mutual, non-mutual, index) end
|
6
Meta/api/BNGetFriendIndex.lua
Normal file
6
Meta/api/BNGetFriendIndex.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param presenceID number
|
||||
---@return number index
|
||||
---Returns friendlist index of a BN friend
|
||||
function BNGetFriendIndex(presenceID) end
|
21
Meta/api/BNGetFriendInfo.lua
Normal file
21
Meta/api/BNGetFriendInfo.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param friendIndex number
|
||||
---@return number presenceID
|
||||
---@return string presenceName
|
||||
---@return string battleTag
|
||||
---@return boolean isBattleTagPresence
|
||||
---@return string toonName
|
||||
---@return number toonID
|
||||
---@return string client
|
||||
---@return boolean isOnline
|
||||
---@return number lastOnline
|
||||
---@return boolean isAFK
|
||||
---@return boolean isDND
|
||||
---@return string messageText
|
||||
---@return string noteText
|
||||
---@return boolean isRIDFriend
|
||||
---@return number broadcastTime
|
||||
---@return boolean canSoR
|
||||
---Returns information about a RealID friend by index
|
||||
function BNGetFriendInfo(friendIndex) end
|
21
Meta/api/BNGetFriendInfoByID.lua
Normal file
21
Meta/api/BNGetFriendInfoByID.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param presenceID number
|
||||
---@return number presenceID
|
||||
---@return |K string presenceName
|
||||
---@return |K string battleTag
|
||||
---@return boolean isBattleTagPresence
|
||||
---@return string toonName
|
||||
---@return number toonID
|
||||
---@return string client
|
||||
---@return boolean isOnline
|
||||
---@return number lastOnline
|
||||
---@return boolean isAFK
|
||||
---@return boolean isDND
|
||||
---@return string messageText
|
||||
---@return string noteText
|
||||
---@return boolean isRIDFriend
|
||||
---@return number broadcastTime
|
||||
---@return boolean canSoR
|
||||
---Returns information about a RealID friend
|
||||
function BNGetFriendInfoByID(presenceID) end
|
4
Meta/api/BNGetFriendInviteInfo.lua
Normal file
4
Meta/api/BNGetFriendInviteInfo.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNGetFriendInviteInfo() end
|
20
Meta/api/BNGetFriendToonInfo.lua
Normal file
20
Meta/api/BNGetFriendToonInfo.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param friendIndex number
|
||||
---@param toonIndex number
|
||||
---@return boolean hasFocus
|
||||
---@return string toonName
|
||||
---@return string client
|
||||
---@return string realmName
|
||||
---@return number realmId
|
||||
---@return number faction
|
||||
---@return string race
|
||||
---@return string class
|
||||
---@return string unknown
|
||||
---@return string zoneName
|
||||
---@return string level
|
||||
---@return string gameText
|
||||
---@return string broadcastText
|
||||
---@return string broadcastTime
|
||||
---Returns information about a particular online toon tied to a RealID friend
|
||||
function BNGetFriendToonInfo(friendIndex, toonIndex) end
|
11
Meta/api/BNGetInfo.lua
Normal file
11
Meta/api/BNGetInfo.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@return number unknownPresenceID1
|
||||
---@return string battleTag
|
||||
---@return number unknownPresenceID2
|
||||
---@return string broadcastText
|
||||
---@return boolean bnetAFK
|
||||
---@return boolean bnetDND
|
||||
---@return boolean unknown
|
||||
---Returns information about the player's RealID settings
|
||||
function BNGetInfo() end
|
5
Meta/api/BNGetMatureLanguageFilter.lua
Normal file
5
Meta/api/BNGetMatureLanguageFilter.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@return boolean isEnabled
|
||||
---Returns boolean for the Mature Language Filter option's state.
|
||||
function BNGetMatureLanguageFilter() end
|
5
Meta/api/BNGetMaxNumConversations.lua
Normal file
5
Meta/api/BNGetMaxNumConversations.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@return number count
|
||||
---Returns the maximum number of simultaneous RealID conversations you can be a part of
|
||||
function BNGetMaxNumConversations() end
|
5
Meta/api/BNGetMaxPlayersInConversation.lua
Normal file
5
Meta/api/BNGetMaxPlayersInConversation.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@return number count
|
||||
---Returns the maximum number of realID friends you can have in one conversation
|
||||
function BNGetMaxPlayersInConversation() end
|
4
Meta/api/BNGetNumBlocked.lua
Normal file
4
Meta/api/BNGetNumBlocked.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNGetNumBlocked() end
|
4
Meta/api/BNGetNumBlockedToons.lua
Normal file
4
Meta/api/BNGetNumBlockedToons.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNGetNumBlockedToons() end
|
6
Meta/api/BNGetNumConversationMembers.lua
Normal file
6
Meta/api/BNGetNumConversationMembers.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param channel number
|
||||
---@return number memberCount
|
||||
---Returns the number of members in a battle.net conversation
|
||||
function BNGetNumConversationMembers(channel) end
|
4
Meta/api/BNGetNumFOF.lua
Normal file
4
Meta/api/BNGetNumFOF.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNGetNumFOF() end
|
4
Meta/api/BNGetNumFriendInvites.lua
Normal file
4
Meta/api/BNGetNumFriendInvites.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNGetNumFriendInvites() end
|
6
Meta/api/BNGetNumFriendToons.lua
Normal file
6
Meta/api/BNGetNumFriendToons.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param friendIndex number
|
||||
---@return number numToons
|
||||
---Returns the number of online toons for a friend
|
||||
function BNGetNumFriendToons(friendIndex) end
|
6
Meta/api/BNGetNumFriends.lua
Normal file
6
Meta/api/BNGetNumFriends.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@return number totalBNet
|
||||
---@return number numBNetOnline
|
||||
---Returns total number of RealID friends and currently online number of RealID friends
|
||||
function BNGetNumFriends() end
|
4
Meta/api/BNGetSelectedBlock.lua
Normal file
4
Meta/api/BNGetSelectedBlock.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNGetSelectedBlock() end
|
5
Meta/api/BNGetSelectedFriend.lua
Normal file
5
Meta/api/BNGetSelectedFriend.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@return number friendIndex
|
||||
---Returns the index of the selected user on your friend's list
|
||||
function BNGetSelectedFriend() end
|
4
Meta/api/BNGetSelectedToonBlock.lua
Normal file
4
Meta/api/BNGetSelectedToonBlock.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNGetSelectedToonBlock() end
|
21
Meta/api/BNGetToonInfo.lua
Normal file
21
Meta/api/BNGetToonInfo.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param bnetIDGameAccount number
|
||||
---@return boolean unknown
|
||||
---@return string toonName
|
||||
---@return string client
|
||||
---@return string realmName
|
||||
---@return number realmID
|
||||
---@return string faction
|
||||
---@return string race
|
||||
---@return string class
|
||||
---@return string unknown
|
||||
---@return string zoneName
|
||||
---@return string level
|
||||
---@return string gameText
|
||||
---@return string broadcastText
|
||||
---@return string broadcastTime
|
||||
---@return boolean unknown
|
||||
---@return string presenceID
|
||||
---Returns information about the active game account tied to a Real ID friend. Returns nil if the player is not online.
|
||||
function BNGetToonInfo(bnetIDGameAccount) end
|
4
Meta/api/BNInviteFriend.lua
Normal file
4
Meta/api/BNInviteFriend.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNInviteFriend() end
|
6
Meta/api/BNInviteToConversation.lua
Normal file
6
Meta/api/BNInviteToConversation.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param channel number
|
||||
---@param presenceID number
|
||||
---Invite a friend into an existing conversation
|
||||
function BNInviteToConversation(channel, presenceID) end
|
4
Meta/api/BNIsBlocked.lua
Normal file
4
Meta/api/BNIsBlocked.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNIsBlocked() end
|
4
Meta/api/BNIsFriend.lua
Normal file
4
Meta/api/BNIsFriend.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNIsFriend() end
|
4
Meta/api/BNIsFriendConversationValid.lua
Normal file
4
Meta/api/BNIsFriendConversationValid.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNIsFriendConversationValid() end
|
6
Meta/api/BNIsSelf.lua
Normal file
6
Meta/api/BNIsSelf.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param presenceID number
|
||||
---@return boolean isSelf
|
||||
---Returns whether or not the presence ID is the one of the player
|
||||
function BNIsSelf(presenceID) end
|
4
Meta/api/BNIsToonBlocked.lua
Normal file
4
Meta/api/BNIsToonBlocked.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNIsToonBlocked() end
|
4
Meta/api/BNLeaveConversation.lua
Normal file
4
Meta/api/BNLeaveConversation.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNLeaveConversation() end
|
4
Meta/api/BNListConversation.lua
Normal file
4
Meta/api/BNListConversation.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNListConversation() end
|
4
Meta/api/BNRemoveFriend.lua
Normal file
4
Meta/api/BNRemoveFriend.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNRemoveFriend() end
|
4
Meta/api/BNReportFriendInvite.lua
Normal file
4
Meta/api/BNReportFriendInvite.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNReportFriendInvite() end
|
4
Meta/api/BNReportPlayer.lua
Normal file
4
Meta/api/BNReportPlayer.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNReportPlayer() end
|
4
Meta/api/BNRequestFOFInfo.lua
Normal file
4
Meta/api/BNRequestFOFInfo.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNRequestFOFInfo() end
|
4
Meta/api/BNSendConversationMessage.lua
Normal file
4
Meta/api/BNSendConversationMessage.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNSendConversationMessage() end
|
4
Meta/api/BNSendFriendInvite.lua
Normal file
4
Meta/api/BNSendFriendInvite.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNSendFriendInvite() end
|
4
Meta/api/BNSendFriendInviteByID.lua
Normal file
4
Meta/api/BNSendFriendInviteByID.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNSendFriendInviteByID() end
|
7
Meta/api/BNSendGameData.lua
Normal file
7
Meta/api/BNSendGameData.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param presenceID number
|
||||
---@param addonPrefix string
|
||||
---@param message string
|
||||
---Sends some data to another player
|
||||
function BNSendGameData(presenceID, addonPrefix, message) end
|
4
Meta/api/BNSendSoR.lua
Normal file
4
Meta/api/BNSendSoR.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNSendSoR() end
|
4
Meta/api/BNSendVerifiedBattleTagInvite.lua
Normal file
4
Meta/api/BNSendVerifiedBattleTagInvite.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
|
||||
function BNSendVerifiedBattleTagInvite() end
|
6
Meta/api/BNSendWhisper.lua
Normal file
6
Meta/api/BNSendWhisper.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param presenceID number
|
||||
---@param messageText text
|
||||
---Sends a whisper over Battle.Net
|
||||
function BNSendWhisper(presenceID, messageText) end
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user