BNGetFriendIndex

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

Returns the index in the friend frame of the given Battle.net friend.

index = BNGetFriendIndex(presenceID)

Arguments

presenceID
number - A unique numeric identifier for the friend's battle.net account during this session.

Returns

index
number - The Battle.net friend's index on the friends list

Patch changes

Warlords of Draenor Patch 6.2.4 (2016-03-22): Replaced presenceID with bnetIDAccount.