WoW API: ArenaTeamRoster

From AddOn Studio
Revision as of 23:48, 19 November 2007 by WoWWiki>Shadowed (→‎Details: Removed information about the error, it appears to have been fixed already, believe it was in 2.1.0.)
Jump to navigation Jump to search

WoW API < ArenaTeamRoster

Requests the arena team information from the server

ArenaTeamRoster(teamIndex); 

Parameters

Arguments

index
Index of the arena team to request information from, index can be a value of 1 through 3.

Details

Because this sends a request to the server, you will not get the data instantly you must register and watch for the ARENA_TEAM_ROSTER_UPDATE event. It appears that ARENA_TEAM_ROSTER_UPDATE will not fire if you requested the same team index last call.