API BNGetFriendIndex

From Wowpedia
Jump to: navigation, search

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.