RSS

Воскресенье, 22.12.2024, 09:05
Главная » WoW API » API Функции » Battle.net »

BNGetToonInfo

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

Signature:
Code
unknown, toonName, client, realmName, realmID, faction, race, class, unknown, zoneName, level, gameText, broadcastText, broadcastTime = BNGetToonInfo(presenceID)

Arguments:
  • presenceID - (number)

Returns:
  • unknown - (boolean)
  • toonName - The toon's name (string)
  • client - The name of the game the friend is currently playing, if any; Returns initialism for World of Warcraft ('WoW') (string)
  • realmName - The toon's realm name (string)
  • realmID - The toon's realm ID (not sure if unique per realm, or a weekly/session realmID identifier) (number)
  • faction - The toon's faction. Returns -1 for offline, 0 for Horde, 1 for Alliance (number)
  • race - The toon's race (string)
  • class - The toon's class (string)
  • unknown - (string)
  • zoneName - The toon's zone (location) (string)
  • level - The toon's character level (string)
  • gameText - The zone and server of the active toon separated by a hyphen (string)
  • broadcastText - The user's RealID broadcast message (string)
  • broadcastTime - The time the broadcast message was first set (string)

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