RSS

Суббота, 21.12.2024, 17:03
Главная » WoW API » API Функции » Арена »

ArenaTeamRoster

[ править ]
Requests arena team roster information from the server.
[клоны]
Requests arena team roster information from the server. Does not return information directly: the ARENA_TEAM_ROSTER_UPDATE event fires when information from the server becomes available, which can then be retrieved using GetNumArenaTeamMembers() and GetArenaTeamRosterInfo().

Roster update requests are limited to once every 10 seconds per team. For example, calling ArenaTeamRoster(1) twice within ten seconds will not result in a second ARENA_TEAM_ROSTER_UPDATE event, but calling ArenaTeamRoster(1) and ArenaTeamRoster(2) within ten seconds will result in two ARENA_TEAM_ROSTER_UPDATE events (one for each team).

Signature:
Code
ArenaTeamRoster(team)

Arguments:
  • team - Index of one of the player's arena teams (number, arenaTeamID)

This function must query the remote server, and any results will not be immediately available to the game client. Please see the function's documentation for more information about how to retrieve any results.

Также смотрите: Арена , Arena functions
Ссылки: http://wowprogramming.com/docs/api/ArenaTeamRoster