WoW:API GetWhoInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Updated to (mostly?) use the API template.)
No edit summary
Line 4: Line 4:


  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?"


== Parameters ==
== Parameters ==

Revision as of 16:08, 19 May 2007

WoW API < GetWhoInfo

Retrieve info about character on your current /who list.

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

Parameters

Arguments

(index)
index
Integer - the index of the character retrieved from a /who query.

Returns

charname, guildname, level, race, class, zone, unknown
charname
String - Name of the character.
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.