BNGetFriendInviteInfo

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 3.3.5 / 1.13.2

Returns info for a Battle.net friend invite.

inviteID, accountName, isBattleTag, message, sentTime = BNGetFriendInviteInfo(inviteIndex)

Arguments

inviteIndex
number - Ranging from 1 to BNGetNumFriendInvites()

Returns

inviteID
number - Also known as the presence id.
accountName
number - Protected string for the friend account name, e.g. "|Kq4|k".
isBattleTag
boolean
message
string? - Appears to be always nil now.
sentTime
number - The unix time when the invite was sent/received.

Patch changes

Wrath-Logo-Small.png Patch 3.3.5 (2010-06-22): Added.