RSS

Суббота, 04.05.2024, 09:20
Главная » WoW API » Игровые события »

ROLE_CHANGED_INFORM

[ править ]
Fires when a party/raid member's role is changed manually.
[клоны]
Fires when a party/raid member's role is changed manually. Roles are the strings "TANK", "HEALER", "DAMAGER", and "NONE". Use the additional arguments if you want to immediately use the new status; a call to UnitGroupRolesAssigned may not report the new data when called at this time.


Signature:
Code
("changedPlayer", "changedBy", "oldRole", "newRole")

Arguments:
  • changedPlayer - The name of the player whose role was changed (string)
  • changedBy - The name of player who made the change (string)
  • oldRole - Their role before the change (string)
  • newRole - Their new role (string)

Также смотрите: Игровые события
Ссылки: http://wowprogramming.com/docs/events/ROLE_CHANGED_INFORM