API BNGetFriendIndex

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