WoW:API GetWhoInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(Changed last return value from unknown to classFileName and added description.)
Line 3: Line 3:
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, classFileName = GetWhoInfo(index)


== Parameters ==
== Parameters ==
Line 23: Line 23:
:; class : String - Class of the character.
:; class : String - Class of the character.
:; zone : String - Zone the character was in at query time.
:; zone : String - Zone the character was in at query time.
:; classFileName : String - Uppercase english classname of the character.

Revision as of 10:11, 16 August 2008

WoW API < GetWhoInfo

Retrieve info about character on your current /who list.

charname, guildname, level, race, class, zone, classFileName = 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.
classFileName
String - Uppercase english classname of the character.