RSS

Четверг, 25.04.2024, 05:03
Главная » WoW API » API Функции » Питомцы »

PickupPetAction

[ править ]
Puts the contents of a pet action slot onto the cursor or the cursor contents into a pet action slot.
[клоны]
Puts the contents of a pet action slot onto the cursor or the cursor contents into a pet action slot. Only pet actions and spells from the "pet" portion of the spellbook can be placed into pet action slots.

If the cursor is empty and the referenced pet action slot contains an action, that action is put onto the cursor (but remains in the slot). If the cursor contains a pet action or pet spell and the slot is empty, the action/spell is placed into the slot. If both the cursor and the slot contain pet actions, the contents of the cursor and the pet action slot are exchanged.
Signature:
Code
PickupPetAction(index)

Arguments:
  • index - Index of a pet action (between 1 and NUM_PET_ACTION_SLOTS) (number)

Также смотрите: Питомцы , Action functions, Pet functions, Cursor functions
Ссылки: http://wowprogramming.com/docs/api/PickupPetAction