Shadowed51320@legacy41570690 (talk | contribs) (Formatting/clarification, also no signing please, see http://www.wowwiki.com/WoWWiki_talk:Village_pump#Stop_the_signing_and_discussing_please) |
Shadowed51320@legacy41570690 (talk | contribs) m (→Details) |
||
Line 13: | Line 13: | ||
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. |
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 the |
+ | It appears that ARENA_TEAM_ROSTER_UPDATE will not fire if you requested the same team index last call. |
As of 2.0.10 calling ArenaTeamRoster with PVPTeamDetails.team being nil will cause an error in PVPFrame.lua, while you do not have to set it to the team index you are calling it's suggested that you do so. |
As of 2.0.10 calling ArenaTeamRoster with PVPTeamDetails.team being nil will cause an error in PVPFrame.lua, while you do not have to set it to the team index you are calling it's suggested that you do so. |
Revision as of 02:56, 25 March 2007
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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.
As of 2.0.10 calling ArenaTeamRoster with PVPTeamDetails.team being nil will cause an error in PVPFrame.lua, while you do not have to set it to the team index you are calling it's suggested that you do so.