Code format

This commit is contained in:
2025-05-04 14:32:03 +02:00
parent c0337ef97f
commit 93b45ac12e
3012 changed files with 8372 additions and 9301 deletions

View File

@@ -15,4 +15,4 @@ C_Timer = {
---@return Timer
---@overload fun(seconds: number, callback: function, iterations: number)
NewTicker = function(seconds, callback) end,
}
}

View File

@@ -1,4 +1,4 @@
---@meta
---r,g,b,a
---@alias wowColor table<number>
---@alias wowColor table<number>

View File

@@ -19,4 +19,4 @@
---@field remaining number Only used with paused, gives WA the info needed to show paused progress at the current point.
state = {}
---@alias allstates table<number, state>
---@alias allstates table<number, state>

View File

@@ -1,4 +1,4 @@
---@diagnostic disable: missing-return, lowercase-global
---Confirms abandoning a quest. Use SetAbandonQuest() first to select the quest to abandon.
function AbandonQuest() end
function AbandonQuest() end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@param index number
---@param index number
---Unlearns a skill (used only for professions)
function AbandonSkill(index) end
function AbandonSkill(index) end

View File

@@ -1,4 +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
function AcceptAreaSpiritHeal() end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param index number
---@param accept 1nil
---@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
function AcceptBattlefieldPort(index, accept) end

View File

@@ -1,4 +1,4 @@
---@diagnostic disable: missing-return, lowercase-global
---Accepts a proposed duel
function AcceptDuel() end
function AcceptDuel() end

View File

@@ -1,4 +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
function AcceptGroup() end

View File

@@ -1,4 +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
function AcceptGuild() end

View File

@@ -1,4 +1,4 @@
---@diagnostic disable: missing-return, lowercase-global
---Accepts a level offered by the player's Recruit-a-Friend partner
function AcceptLevelGrant() end
function AcceptLevelGrant() end

View File

@@ -1,4 +1,4 @@
---@diagnostic disable: missing-return, lowercase-global
---Accepts a LFG dungeon invite.
function AcceptProposal() end
function AcceptProposal() end

View File

@@ -1,4 +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
function AcceptQuest() end

View File

@@ -1,4 +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
function AcceptResurrect() end

View File

@@ -1,4 +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
function AcceptSockets() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function AcceptSpellConfirmationPrompt() end
function AcceptSpellConfirmationPrompt() end

View File

@@ -1,4 +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
function AcceptTrade() end

View File

@@ -1,4 +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
function AcceptXPLoss() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function AcknowledgeAutoAcceptQuest() end
function AcknowledgeAutoAcceptQuest() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function AcknowledgeSurvey() end
function AcknowledgeSurvey() end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param slot number
---@return 1nil hasRange
---@param slot number
---@return 1nil hasRange
---Returns whether an action has a range restriction
function ActionHasRange(slot) end
function ActionHasRange(slot) end

View File

@@ -1,8 +1,8 @@
---@diagnostic disable: missing-return, lowercase-global
---@param questId number
---@param type OFFER
---@param COMPLETE
---@param OFFER
---@param questId number
---@param type OFFER
---@param COMPLETE
---@param OFFER
---Create a quest popup in the WatchFrame
function AddAutoQuestPopUp(questId, type, COMPLETE, OFFER) end
function AddAutoQuestPopUp(questId, type, COMPLETE, OFFER) end

View File

@@ -1,7 +1,7 @@
---@diagnostic disable: missing-return, lowercase-global
---@param index number
---@param channel number
---@return number zoneChannel
---@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
function AddChatWindowChannel(index, channel) end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param index number
---@param messageGroup string
---@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
function AddChatWindowMessages(index, messageGroup) end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@param name string
---@param name string
---Adds a character to the friends list
function AddFriend(name) end
function AddFriend(name) end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@param name string
---@param name string
---Adds a character to the ignore list
function AddIgnore(name) end
function AddIgnore(name) end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@param name string
---@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
function AddMute(name) end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@param fullname string
---@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
function AddOrDelIgnore(fullname) end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param unit string
---@param name string
---@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
function AddOrDelMute(unit, name) end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param name string
---@param note string
---@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
function AddOrRemoveFriend(name, note) end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@param questIndex number
---@param questIndex number
---Adds a quest to the objectives tracker
function AddQuestWatch(questIndex) end
function AddQuestWatch(questIndex) end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@param id number
---@param id number
---Adds an achievement to the objectives tracker UI
function AddTrackedAchievement(id) end
function AddTrackedAchievement(id) end

View File

@@ -1,4 +1,4 @@
---@diagnostic disable: missing-return, lowercase-global
---Adds the money currently on the cursor to the trade window
function AddTradeMoney() end
function AddTradeMoney() end

View File

@@ -1,7 +1,7 @@
---@diagnostic disable: missing-return, lowercase-global
---@param fullName string
---@param context string
---@return string name
---@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
function Ambiguate(fullName, context) end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function AntiAliasingSupported() end
function AntiAliasingSupported() end

View File

@@ -1,4 +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
function ApplyBarberShopStyle() end

View File

@@ -1,4 +1,4 @@
---@diagnostic disable: missing-return, lowercase-global
---Applies all pending transmogrifications, and pays for the cost
function ApplyTransmogrifications() end
function ApplyTransmogrifications() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function ArchaeologyGetIconInfo() end
function ArchaeologyGetIconInfo() end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@return number numEntries
---@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
function ArchaeologyMapUpdateAll() end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param index number
---@return number blobID
---@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
function ArcheologyGetVisibleBlobID(index) end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@return 1nil isHidden
---@return 1nil isHidden
---Returns whether the player is displaying only character achievements to others
function AreAccountAchievementsHidden() end
function AreAccountAchievementsHidden() end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param teamSize number
---@return number teamID
---@param teamSize number
---@return number teamID
---Converts an arena team size to the appropriate numeric arena team identifier
function ArenaTeam_GetTeamSizeID(teamSize) end
function ArenaTeam_GetTeamSizeID(teamSize) end

View File

@@ -1,4 +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
function AscendStop() end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param unit string
---@param name string
---@param unit string
---@param name string
---Targets the unit targeted by another unit
function AssistUnit(unit, name) end
function AssistUnit(unit, name) end

View File

@@ -1,4 +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
function AttackTarget() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function AutoChooseCurrentGraphicsSetting() end
function AutoChooseCurrentGraphicsSetting() end

View File

@@ -1,4 +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
function AutoEquipCursorItem() end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@param mailID number
---@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
function AutoLootMailItem(mailID) end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param tab number
---@param slot number
---@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
function AutoStoreGuildBankItem(tab, slot) end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNAcceptFriendInvite() end
function BNAcceptFriendInvite() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNCheckBattleTagInviteToGuildMember() end
function BNCheckBattleTagInviteToGuildMember() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNCheckBattleTagInviteToUnit() end
function BNCheckBattleTagInviteToUnit() end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@return boolean isOnline
---@return boolean isOnline
---Returns whether or not the player is connected to Battle.net
function BNConnected() end
function BNConnected() end

View File

@@ -1,7 +1,7 @@
---@diagnostic disable: missing-return, lowercase-global
---@param presenceID_1 number
---@param presenceID_2 number
---@return boolean result
---@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
function BNCreateConversation(presenceID_1, presenceID_2) end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNDeclineFriendInvite() end
function BNDeclineFriendInvite() end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@return boolean isEnabled
---@return boolean isEnabled
---Returns whether or not RealID services are disabled
function BNFeaturesEnabled() end
function BNFeaturesEnabled() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNFeaturesEnabledAndConnected() end
function BNFeaturesEnabledAndConnected() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNGetBlockedInfo() end
function BNGetBlockedInfo() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNGetBlockedToonInfo() end
function BNGetBlockedToonInfo() end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param channel number
---@return string type
---@param channel number
---@return string type
---Returns information about an existing battle.net conversation
function BNGetConversationInfo(channel) end
function BNGetConversationInfo(channel) end

View File

@@ -1,9 +1,9 @@
---@diagnostic disable: missing-return, lowercase-global
---@param channel number
---@param memberIndex number
---@return number presenceID
---@return number unknown
---@return string displayName
---@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
function BNGetConversationMemberInfo(channel, memberIndex) end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNGetCustomMessageTable() end
function BNGetCustomMessageTable() end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param presenceID number
---@return number index
---@param presenceID number
---@return number index
---Returns friendlist index of a BN friend
function BNGetFriendIndex(presenceID) end
function BNGetFriendIndex(presenceID) end

View File

@@ -1,21 +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
---@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
function BNGetFriendInfo(friendIndex) end

View File

@@ -1,21 +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
---@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
function BNGetFriendInfoByID(presenceID) end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNGetFriendInviteInfo() end
function BNGetFriendInviteInfo() end

View File

@@ -1,20 +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
---@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
function BNGetFriendToonInfo(friendIndex, toonIndex) end

View File

@@ -1,11 +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
---@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
function BNGetInfo() end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@return boolean isEnabled
---@return boolean isEnabled
---Returns boolean for the Mature Language Filter option's state.
function BNGetMatureLanguageFilter() end
function BNGetMatureLanguageFilter() end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@return number count
---@return number count
---Returns the maximum number of simultaneous RealID conversations you can be a part of
function BNGetMaxNumConversations() end
function BNGetMaxNumConversations() end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@return number count
---@return number count
---Returns the maximum number of realID friends you can have in one conversation
function BNGetMaxPlayersInConversation() end
function BNGetMaxPlayersInConversation() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNGetNumBlocked() end
function BNGetNumBlocked() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNGetNumBlockedToons() end
function BNGetNumBlockedToons() end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param channel number
---@return number memberCount
---@param channel number
---@return number memberCount
---Returns the number of members in a battle.net conversation
function BNGetNumConversationMembers(channel) end
function BNGetNumConversationMembers(channel) end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNGetNumFOF() end
function BNGetNumFOF() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNGetNumFriendInvites() end
function BNGetNumFriendInvites() end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param friendIndex number
---@return number numToons
---@param friendIndex number
---@return number numToons
---Returns the number of online toons for a friend
function BNGetNumFriendToons(friendIndex) end
function BNGetNumFriendToons(friendIndex) end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@return number totalBNet
---@return number numBNetOnline
---@return number totalBNet
---@return number numBNetOnline
---Returns total number of RealID friends and currently online number of RealID friends
function BNGetNumFriends() end
function BNGetNumFriends() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNGetSelectedBlock() end
function BNGetSelectedBlock() end

View File

@@ -1,5 +1,5 @@
---@diagnostic disable: missing-return, lowercase-global
---@return number friendIndex
---@return number friendIndex
---Returns the index of the selected user on your friend's list
function BNGetSelectedFriend() end
function BNGetSelectedFriend() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNGetSelectedToonBlock() end
function BNGetSelectedToonBlock() end

View File

@@ -1,21 +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
---@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
function BNGetToonInfo(bnetIDGameAccount) end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNInviteFriend() end
function BNInviteFriend() end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param channel number
---@param presenceID number
---@param channel number
---@param presenceID number
---Invite a friend into an existing conversation
function BNInviteToConversation(channel, presenceID) end
function BNInviteToConversation(channel, presenceID) end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNIsBlocked() end
function BNIsBlocked() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNIsFriend() end
function BNIsFriend() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNIsFriendConversationValid() end
function BNIsFriendConversationValid() end

View File

@@ -1,6 +1,6 @@
---@diagnostic disable: missing-return, lowercase-global
---@param presenceID number
---@return boolean isSelf
---@param presenceID number
---@return boolean isSelf
---Returns whether or not the presence ID is the one of the player
function BNIsSelf(presenceID) end
function BNIsSelf(presenceID) end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNIsToonBlocked() end
function BNIsToonBlocked() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNLeaveConversation() end
function BNLeaveConversation() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNListConversation() end
function BNListConversation() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNRemoveFriend() end
function BNRemoveFriend() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNReportFriendInvite() end
function BNReportFriendInvite() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNReportPlayer() end
function BNReportPlayer() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNRequestFOFInfo() end
function BNRequestFOFInfo() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNSendConversationMessage() end
function BNSendConversationMessage() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNSendFriendInvite() end
function BNSendFriendInvite() end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNSendFriendInviteByID() end
function BNSendFriendInviteByID() end

View File

@@ -1,7 +1,7 @@
---@diagnostic disable: missing-return, lowercase-global
---@param presenceID number
---@param addonPrefix string
---@param message string
---@param presenceID number
---@param addonPrefix string
---@param message string
---Sends some data to another player
function BNSendGameData(presenceID, addonPrefix, message) end
function BNSendGameData(presenceID, addonPrefix, message) end

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: missing-return, lowercase-global
function BNSendSoR() end
function BNSendSoR() end

Some files were not shown because too many files have changed in this diff Show More