WoW:API GetRaidRosterInfo: Difference between revisions

(→‎Returns: Add a confirmation that GetRealZoneText() is equivalent to zone)
Line 19: Line 19:
;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 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".
;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 6/07/2013): Sometimes values are different, example: Thron des Donners and Der Thron des Donners.
:'''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