WoW:API GetRaidRosterInfo: Difference between revisions

→‎Returns: Add a confirmation that GetRealZoneText() is equivalent to zone
(Snip outdated discussion about raidids remaining the same. Put in warning about making no assumptions about it instead.)
(→‎Returns: Add a confirmation that GetRealZoneText() is equivalent to zone)
Line 18: Line 18:
;class: String - The character's class (localized), with the first letter capitalized (e.g. "Priest"). This function works as normal for offline characters.
;class: String - The character's class (localized), with the first letter capitalized (e.g. "Priest"). This function works as normal for offline characters.
;fileName: String - The system representation of the character's class; always in english, always fully capitalized.
;fileName: String - The system representation of the character's class; always in english, always fully capitalized.
;zone: String - The name of the zone this character is currently in.  This is the same value you see if you mouseover their portrait (if in group).  If the character is offline, this value will be the string "Offline".
;zone: String - The name of the zone this character is currently in.  This is the value returned by [[API GetRealZoneText|GetRealZoneText]].  It is the same value you see if you mouseover their portrait (if in group).  If the character is offline, this value will be the string "Offline".
:'''BUG''' (as of 2/26/2005):  It seems that the person calling this function will have their Zone value returned as nil if they have not changed locations since last reloading their UI.  Once you change locations (get the name to popup on screen), it seems to return as normal.  This only seems to affect when you look at the zone value of yourself from the raid. ''Could a call to [[API SetMapToCurrentZone|SetMapToCurrentZone]]() cure this?''
:'''BUG''' (as of 2/26/2005):  It seems that the person calling this function will have their Zone value returned as nil if they have not changed locations since last reloading their UI.  Once you change locations (get the name to popup on screen), it seems to return as normal.  This only seems to affect when you look at the zone value of yourself from the raid. ''Could a call to [[API SetMapToCurrentZone|SetMapToCurrentZone]]() cure this?''
:You should use functions categorised under '''Location Functions''' for getting your own location text --[[User:Salanex|Salanex]]
:You should use functions categorised under '''Location Functions''' for getting your own location text --[[User:Salanex|Salanex]]
Anonymous user