RSS

Четверг, 16.05.2024, 08:54
Главная » WoW API » Игровые события »

CHAT_MSG_CHANNEL_NOTICE

[ править ]
Fires when certain actions happen on a world or custom chat channel.
[клоны]
Fires when certain actions happen on a world or custom chat channel. Examples of actions causing notice messages include when the player joins or leaves a channel, when the player attempts to send a chat message in a channel in which the player is silenced, or when a zone-specific channel (e.g. General, LocalDefense) changes as the player moves between zones.


Signature:
Code
("message", "sender", "language", "channelString", "target", "flags", unknown, channelNumber, "channelName", unknown, counter)

Arguments:
  • message - The message thats received (as a globalstring name) (string)
  • sender - The sender's username. (string)
  • language - The language the message is in. (string)
  • channelString - The full name of the channel, including number. (string)
  • target - The username of the target of the action. Not used by all events. (string)
  • flags - The various chat flags. Like, DND or AFK. (string)
  • unknown - This variable has an unkown purpose, although it may be some sort of internal channel id. That however is not confirmed. (number)
  • channelNumber - The numeric ID of the channel. (number)
  • channelName - The full name of the channel, does not include the number. (string)
  • unknown - This variable has an unkown purpose although it always seems to be 0. (number)
  • counter - This variable appears to be a counter of chat events that the client recieves. (number)

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