WoW:API GetWhoInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(small fixes)
m (Move page script moved page API GetWhoInfo to API GetWhoInfo without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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.
name, guild, level, race, class, zone, classFileName = GetWhoInfo(index)


charname, guildname, level, race, class, zone, classFileName = GetWhoInfo(index)
== Arguments ==
 
;index : Number - the index of the character retrieved from a /who query.
== 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.
== Returns ==
:; guildname : String - Guild name of the character.
; name : String - Name of the character.
:; level : Integer - Level of the character
; guild : String - Guild name of the character.
:; race : String - Race of the character.
; level : Number - Level of the character
:; class : String - Class of the character.
; race : String - Race of the character.
:; zone : String - Zone the character was in at query time.
; class : String - Class of the character.
:; classFileName : String - Uppercase english classname of the character.
; zone : String - Zone the character was in at query time.
; classFileName : String - Uppercase english classname of the character.

Latest revision as of 04:46, 15 August 2023

WoW API < GetWhoInfo

Retrieve info about character on your current /who list.

name, guild, level, race, class, zone, classFileName = GetWhoInfo(index)

Arguments[edit]

index
Number - the index of the character retrieved from a /who query.

Returns[edit]

name
String - Name of the character.
guild
String - Guild name of the character.
level
Number - 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.