WoW:API GetWhoInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 45: Line 45:
Description  
Description  
Retrieves info from /who queries.
Retrieves info from /who queries.
{{template:WoW API}}

Revision as of 20:12, 30 December 2005

Retrieve info about character on your current /who list.

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

I think the Unknown might mean "in a group?" --Astral 07:17, 30 Jun 2005 (EDT)


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.


Example



Description Retrieves info from /who queries.

Template:WoW API