RSS

Четверг, 14.11.2024, 06:32
Главная » WoW API » API Функции » Поля сражений »

AcceptBattlefieldPort

[ править ]
Accepts the offered teleport to a battleground/arena or leaves the battleground/arena or queue.
[клоны]
Accepts the offered teleport to a battleground/arena or leaves the battleground/arena or queue. This function requires a hardware event when used to accept a teleport; it can be called without a hardware event for leaving a battleground/arena or its queue.

Signature:
Code
AcceptBattlefieldPort(index, accept)

Arguments:
  • index - Index of a battleground or arena type for which the player is queued (number)
  • accept - 1 to accept the offered teleport; nil to exit the queue or leave the battleground/arena match in progress (1nil)

This function requires a key or mouse press in order to be used, but may not be protected.

Также смотрите: Поля сражений , Battlefield functions
Ссылки: http://wowprogramming.com/docs/api/AcceptBattlefieldPort