No edit summary Tag: WoW API docs |
m (Format) Tag: WoW API docs |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{wowapi}} |
+ | {{wowapi}} |
Returns information about the specified friend of a RealID friend |
Returns information about the specified friend of a RealID friend |
||
− | + | friendID, accountName, isMutual = BNGetFOFInfo(mutual, nonMutual, index) |
|
== Arguments == |
== Arguments == |
||
+ | ;mutual : <span class="apitype">boolean</span> - Should the list include mutual friends (I.e. people who you and the person referenced by presenceID are both friends with). |
||
− | ; presenceID : number - The presenceID for the RealID friend for whom you are requesting friend info. |
||
− | ; |
+ | ;nonMutual : <span class="apitype">boolean</span> - Should the list include non-mutual friends. |
⚫ | |||
− | ; nonMutual : Boolean - Should the list include non-mutual friends. |
||
⚫ | |||
== Returns == |
== Returns == |
||
⚫ | |||
− | :presenceID, givenName, surname, isFriend |
||
+ | ;accountName : <span class="apitype">string</span> - a [[Kstring]] representing the friend's name (As of 4.0) |
||
⚫ | |||
⚫ | |||
− | ;givenName : String - a |K [[UI_escape_sequences|Escape Sequence]] representing the friend's first/given name (As of 4.0) |
||
− | ;surname : String - a |K [[UI_escape_sequences|Escape Sequence]] representing the friend's Surname/Family name (As of 4.0) |
||
⚫ |
Revision as of 02:29, 26 August 2021
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns information about the specified friend of a RealID friend
friendID, accountName, isMutual = BNGetFOFInfo(mutual, nonMutual, index)
Arguments
- mutual
- boolean - Should the list include mutual friends (I.e. people who you and the person referenced by presenceID are both friends with).
- nonMutual
- boolean - Should the list include non-mutual friends.
- index
- number - The index of the entry in the list to retrieve (1 to BNGetNumFOF(...))
Returns
- friendID
- number - a unique numeric identifier for this friend for this session
- accountName
- string - a Kstring representing the friend's name (As of 4.0)
- isMutual
- boolean - true if this person is a direct friend of yours, false otherwise.