RSS

Четверг, 14.11.2024, 18:48
Главная » WoW API » API Функции » Связанные с аддонами »

RegisterAddonMessagePrefix

[ править ]
Registers to receive addon messages with a given prefix.
[клоны]
Registers to receive addon messages with a given prefix. In order for an addon to receive messages sent using SendAddOnMessage they must first register to receive messages with a given prefix.
Signature:
Code
success = RegisterAddonMessagePrefix("prefix")

Arguments:
  • prefix - A string of up to 16 characters used to identify a stream of messages (string)

Returns:
  • success - Whether or not the prefix registration was successful. There is a limit of 512 prefixes per client, so registration could potentially fail. (boolean)

Также смотрите: Связанные с аддонами , Addon-related functions
Ссылки: http://wowprogramming.com/docs/api/RegisterAddonMessagePrefix