WoW:API GetWhoInfo: Difference between revisions

m
Move page script moved page API GetWhoInfo to WoW:API GetWhoInfo without leaving a redirect
No edit summary
 
m (Move page script moved page API GetWhoInfo to WoW:API GetWhoInfo without leaving a redirect)
 
(9 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
Retrieve info about character on your current /who list.
Retrieve info about character on your current /who list.
name, guild, level, race, class, zone, classFileName = GetWhoInfo(index)


charname, guildname, level, race, class, zone, unknown = GetWhoInfo(index);
== Arguments ==
;index : Number - the index of the character retrieved from a /who query.


--------------------------------------------------------------------------------
== Returns ==
 
; name : String - Name of the character.
Arguments
; guild : String - Guild name of the character.
(Number index)
; level : Number - Level of the character
index
; race : String - Race of the character.
The index of the character retrieved from a /who query.
; class : String - Class of the character.
 
; zone : String - Zone the character was in at query time.
 
; classFileName : String - Uppercase english classname of the character.
--------------------------------------------------------------------------------
 
Returns  
(String charname)
charname
Name of the character.
(String guildname)
guildname
Guild name of the character.
(Number level)
level
Level of the character
(String race)
race
Race of the character.
(String class)
class
Class of the character.
(String zone)
zone
Zone the character was in at query time.
 
--------------------------------------------------------------------------------
 
Example
 
 
 
--------------------------------------------------------------------------------
 
Description
Retrieves info from /who queries.
Anonymous user