Navigation menu

WoW:API GetWhoInfo: Difference between revisions

Jump to navigation Jump to search
Updated to (mostly?) use the API template.
m (Remove singatures made using ~ in main namespace)
(Updated to (mostly?) use the API template.)
Line 1: Line 1:
{{wowapi}}
{{wowapi}} __NOTOC__
 
Retrieve info about character on your current /who list.
Retrieve info about character on your current /who list.


charname, guildname, level, race, class, zone, unknown = GetWhoInfo(index);
charname, guildname, level, race, class, zone, unknown = GetWhoInfo(index)


I think the Unknown might mean "in a group?"
I think the Unknown might mean "in a group?"


--------------------------------------------------------------------------------
== Parameters ==
 
Arguments
(Number index)
index
The index of the character retrieved from a /who query.
 
 
--------------------------------------------------------------------------------
 
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.


--------------------------------------------------------------------------------
=== Arguments ===


Example
: (index)


:;index : Integer - the index of the character retrieved from a /who query.


=== Returns ===


--------------------------------------------------------------------------------
: charname, guildname, level, race, class, zone, unknown


Description
:; charname : String - Name of the character.
Retrieves info from /who queries.
:; guildname : String - Guild name of the character.
:; level : Integer - Level of the character
:; race : String - Race of the character.
:; class : String - Class of the character.
:; zone : String - Zone the character was in at query time.
Anonymous user