RSS

Воскресенье, 22.12.2024, 22:12
Главная » WoW API » Игровые события »

GUILD_RANKS_UPDATE

[ править ]
Fires when unit is promoted or demoted within the guild.
[клоны]
Fires when unit is promoted or demoted within the guild. This event fires when unit is promoted or demoted within the guild. GUILD_ROSTER_UPDATE is fired at the same time.


Signature:
Code
("unit")

Arguments:
  • unit - The unit that was promoted or demoted (string, unitId)

Examples:
function MyAddon:GUILD_RANKS_UPDATE(unit)
if unit ~= "player" then return end
print("My rank has changed!")
end

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