Compare commits

..

3 Commits

Author SHA1 Message Date
630e505c32 Update 2025-05-04 18:18:38 +02:00
7c9e21291e Add meta as submodule 2025-05-04 18:18:25 +02:00
a6ef4fe831 Remove meta 2025-05-04 18:17:45 +02:00
3099 changed files with 8 additions and 18316 deletions

3
.gitmodules vendored
View File

@@ -4,3 +4,6 @@
[submodule "NewAge"]
path = NewAge
url = ./NewAge
[submodule "Meta"]
path = Meta
url = https://git.site.quack-lab.dev/dave/wow_Meta

1
.luacheckrc Symbolic link
View File

@@ -0,0 +1 @@
C:/Users/Administrator/Seafile/My Library/Dropbox/Lua_Fuckery/Meta/.luacheckrc

1
.luarc.json Symbolic link
View File

@@ -0,0 +1 @@
C:/Users/Administrator/Seafile/My Library/Dropbox/Lua_Fuckery/Meta/.luarc.json

1
Meta Submodule

Submodule Meta added at 169a514973

View File

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

View File

@@ -1,45 +0,0 @@
---@meta
---@class LCG
LCG = {
---@param frame Frame target frame to set glowing;
---@param color? wowColor {r,g,b,a}, color of lines and opacity, from 0 to 1. Defaul value is {0.95, 0.95, 0.32, 1};
---@param n? number number of lines. Defaul value is 8;
---@param frequency? number frequency, set to negative to inverse direction of rotation. Default value is 0.25;
---@param length? number length of lines. Default value depends on region size and number of lines;
---@param th? number thickness of lines. Default value is 2;
---@param xoffset? number offset of glow relative to region border;
---@param yoffset? number offset of glow relative to region border;
---@param border? number set to true to create border under lines;
---@param key? string key of glow, allows for multiple glows on one frame;
---@return nil
PixelGlow_Start = function(frame, color, n, frequency, length, th, xoffset, yoffset, border, key) end,
---@param frame Frame target frame to stop glowing;
---@param key? string key of glow, allows for multiple glows on one frame;
---@return nil
PixelGlow_Stop = function(frame, key) end,
---@param frame Frame target frame to set glowing;
---@param color? wowColor {r,g,b,a}, color of lines and opacity, from 0 to 1. Defaul value is {0.95, 0.95, 0.32, 1};
---@param n? number number of lines. Defaul value is 4;
---@param frequency? number frequency, set to negative to inverse direction of rotation. Default value is 0.125;
---@param scale? number scale of particles;
---@param xoffset? number offset of glow relative to region border;
---@param yoffset? number offset of glow relative to region border;
---@param key? string key of glow, allows for multiple glows on one frame;
---@return nil
AutoCastGlow_Start = function(frame, color, n, frequency, scale, xoffset, yoffset, key) end,
---@param frame Frame target frame to stop glowing;
---@param key? string key of glow, allows for multiple glows on one frame;
---@return nil
AutoCastGlow_Stop = function(frame, key) end,
---@param frame Frame target frame to set glowing;
---@param color? wowColor {r,g,b,a}, color of lines and opacity, from 0 to 1. Defaul value is {0.95, 0.95, 0.32, 1};
---@param frequency? number frequency, set to negative to inverse direction of rotation. Default value is 0.125;
---@return nil
ButtonGlow_Start = function(frame, color, frequency) end,
---@param frame Frame target frame to set glowing;
---@return nil
ButtonGlow_Stop = function(frame) end,
}

View File

@@ -1,18 +0,0 @@
---@meta
---@return string name The name of the spell or effect of the debuff, or nil if no debuff was found with the specified name or at the specified index. This is the name shown in yellow when you mouse over the icon.
---@return string icon The identifier of (path and filename to) the indicated debuff, or nil if no debuff
---@return number count The number of times the debuff has been applied to the target. Returns 0 for any debuff which doesn't stack.
---@return string debuffType The type of debuff, e.g. "Magic", "Disease", "Poison", "Curse", or "none". Returns nil if the debuff type is not known.
---@return number duration The full duration of the debuff in seconds; nil if the debuff was not cast by the player.
---@return number expirationTime Time at which the debuff expires (GetTime() as a reference frame).
---@return string unitCaster Reference to the unit that cast the buff/debuff.
---@return boolean isStealable 1 if it is stealable otherwise nil
---@return boolean shouldConsolidate 1 if the buff should be placed in a buff consolidation box (usually long-term effects).
---@return number spellId spell ID of the aura.
---@overload fun(unit: string, index: number)
---@overload fun(unit: string, index: number, filter: string)
---@overload fun(unit: string, name: string)
---@overload fun(unit: string, name: string, rank: string|nil)
---@overload fun(unit: string, name: string, rank: string|nil, filter: auraFilter)
UnitDebuff = function() end

View File

@@ -1,22 +0,0 @@
---@meta
---[Source](https://github.com/WeakAuras/WeakAuras2/wiki/Trigger-State-Updater-%28TSU%29)
---@class state
---@field changed boolean Informs WeakAuras that the states values have changed. Always set this to true for states that were changed.
---@field show boolean Controls whether the display is visible. Note, that states that have show set to false are automatically removed.
---@field name string The name, returned by %n
---@field icon number|string IconID or TexturePath, used in icons and progress bars
---@field texture number|string IconID or TexturePath, used in textures
---@field stacks number The stack count, returned by %s
---@field index number|string Sets the order the output will display in a dynamic group (if sorting is set to "none" on the group). Strings or numbers are fine but DO NOT MIX TYPES!
---@field progressType string "timed" or "static"
---@field expirationTime number Use with "timed" progressType; relative to GetTime()
---@field duration number Use with "timed" progressType; total duration of the bar in seconds
---@field value number Use with "static" progressType
---@field maxValue number Use with "static" progressType
---@field autoHide boolean Set to true to make the display automatically hide at the end of the "timed" progress. autoHide can also be used along with the "static" progressType by defining a duration and expirationTime along with the static value and total. While the static values will be displayed, the timed values will set the Hide time for the clone.
---@field paused boolean Set to true (and set a remaining value) to pause a "timed" progress. Set to false (and recalculate the expirationTime value) to resume.
---@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>

View File

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

View File

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

View File

@@ -1,4 +0,0 @@
---@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

View File

@@ -1,6 +0,0 @@
---@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

View File

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

View File

@@ -1,4 +0,0 @@
---@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

View File

@@ -1,4 +0,0 @@
---@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

View File

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

View File

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

View File

@@ -1,4 +0,0 @@
---@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

View File

@@ -1,4 +0,0 @@
---@diagnostic disable: missing-return, lowercase-global
---Accepts an offered resurrection spell. Not used for self-resurrection; see UseSoulstone() for such cases.
function AcceptResurrect() end

View File

@@ -1,4 +0,0 @@
---@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

View File

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

View File

@@ -1,4 +0,0 @@
---@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

View File

@@ -1,4 +0,0 @@
---@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

View File

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

View File

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

View File

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

View File

@@ -1,8 +0,0 @@
---@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

View File

@@ -1,7 +0,0 @@
---@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

View File

@@ -1,6 +0,0 @@
---@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

View File

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

View File

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

View File

@@ -1,5 +0,0 @@
---@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

View File

@@ -1,5 +0,0 @@
---@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

View File

@@ -1,6 +0,0 @@
---@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

View File

@@ -1,6 +0,0 @@
---@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

View File

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

View File

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

View File

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

View File

@@ -1,7 +0,0 @@
---@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

View File

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

View File

@@ -1,4 +0,0 @@
---@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

View File

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

View File

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

View File

@@ -1,5 +0,0 @@
---@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

View File

@@ -1,6 +0,0 @@
---@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

View File

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

View File

@@ -1,6 +0,0 @@
---@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

View File

@@ -1,4 +0,0 @@
---@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

View File

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

View File

@@ -1,4 +0,0 @@
---@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

View File

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

View File

@@ -1,4 +0,0 @@
---@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

View File

@@ -1,5 +0,0 @@
---@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

View File

@@ -1,6 +0,0 @@
---@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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,7 +0,0 @@
---@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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,9 +0,0 @@
---@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

View File

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

View File

@@ -1,12 +0,0 @@
---@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

View File

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

View File

@@ -1,21 +0,0 @@
---@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

View File

@@ -1,21 +0,0 @@
---@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

View File

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

View File

@@ -1,20 +0,0 @@
---@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

View File

@@ -1,11 +0,0 @@
---@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

View File

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

View File

@@ -1,5 +0,0 @@
---@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

View File

@@ -1,5 +0,0 @@
---@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

View File

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

View File

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

View File

@@ -1,6 +0,0 @@
---@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

View File

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

View File

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

View File

@@ -1,6 +0,0 @@
---@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

View File

@@ -1,6 +0,0 @@
---@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

View File

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

View File

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

View File

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

View File

@@ -1,21 +0,0 @@
---@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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,6 +0,0 @@
---@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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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