Fandom

WoWWiki

API BNGetFOFInfo

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < BNGetFOFInfo

Returns information about the specified friend of a RealID friend

presenceID, givenName, surname, isFriend = BNGetFOFInfo(presenceID, mutual, non-mutual, index)

Arguments Edit

presenceID 
number - The presenceID for the RealID friend for whom you are requesting friend info.
mutual 
Boolean - Should the list include mutual friends (I.e. people who you and the person referenced by presenceID are both friends with).
non-mutual 
Boolean - Should the list include non-mutual friends.
index 
number - The index of the entry in the list to retrieve (1 to BNGetNumFOF(...))

Returns Edit

presenceID, givenName, surname, isFriend
presenceID 
Number - a unique numeric identifier for this friend for this session
givenName 
String - a |K Escape Sequence representing the friend's first/given name (As of 4.0)
surname 
String - a |K Escape Sequence representing the friend's Surname/Family name (As of 4.0)
isFriend 
Boolean - true if this person is a direct friend of yours, false otherwise.

Also on Fandom

Random Wiki