RSS

Пятница, 26.04.2024, 18:40
Главная » WoW API » API Функции » Battle.net »

BNGetFriendInfoByID

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

Signature:
Code
presenceID, givenName, surname, toonName, toonID, client, isOnline, lastOnline, isAFK, isDND, messageText, noteText, isFriend, unknown = BNGetFriendInfoByID(presenceID)

Arguments:
  • presenceID - (number, presenceID)

Returns:
  • presenceID - (number, presenceID)
  • givenName - First name of the friend (|K string, Kstring)
  • surname - Last name (surname) of the friend (|K string, Kstring)
  • toonName - Name of the active character tied to the BNet account (string)
  • toonID - (number)
  • client - The name of the game the friend is currently playing, if any; Returns nil if not online. Returns initialism for World of Warcraft ('WoW') (string)
  • isOnline - Online status (boolean)
  • lastOnline - (number)
  • isAFK - (boolean)
  • isDND - (boolean)
  • messageText - RealID broadcast message displayed below the user on your friends list (string)
  • noteText - The player's personal note for the friend; nil for no note (string)
  • isFriend - (boolean)
  • unknown - (number)

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