WoW:API GetWhoInfo: Difference between revisions
Jump to navigation
Jump to search
(Changed last return value from unknown to classFileName and added description.) |
(small fixes) |
||
| Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
This page is about the '''API GetWhoInfo'''. | |||
Retrieve info about character on your current /who list. | Retrieve info about character on your current /who list. | ||
| Line 6: | Line 8: | ||
== Parameters == | == Parameters == | ||
=== Arguments === | === Arguments === | ||
: (index) | : (index) | ||
| Line 14: | Line 14: | ||
=== Returns === | === Returns === | ||
: charname, guildname, level, race, class, zone, unknown | : charname, guildname, level, race, class, zone, unknown | ||
Revision as of 11:37, 16 August 2008
← WoW API < GetWhoInfo
This page is about the 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.