RSS

Пятница, 19.04.2024, 09:48
Главная » WoW API » API Функции » Battle.net »

BNGetFOFInfo

[ править ]
Returns information about the specified friend of a RealID friend.
[клоны]
Returns information about the specified friend of a RealID friend.

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

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

Returns:
  • presenceID - a unique numeric identifier for this friend for this session (number)
  • givenName - a |K Escape Sequence representing the friend's first/given name (string)
  • surname - a |K Escape Sequence representing the friend's Surname/Family name (string)
  • isFriend - true if this person is a direct friend of yours, false otherwise (boolean)

Также смотрите: Battle.net , Battle.net functions
Ссылки: http://wowprogramming.com/docs/api/BNGetFOFInfo