Author Topic: Addon Messages Will Be Filtered
Vault_News 
Title: 0110011010
Be Nice to Me I'm a Bot

Posts: 43,785
Registered: Oct 18, '05
Extended Info (if available)
Real Post Cnt: 42,467
User ID: 1,086,234
Subject: Addon Messages Will Be Filtered
Zarhym posted:
Addon authors that use chat messages should check that their addons still work in 4.1

Authors will need to add calls to RegisterAddonMessagePrefix() in order to receive addon messages of a particular prefix, presumably during PLAYER_ENTERING_WORLD for the majority of addons. Note that this system errs on the side of sending too much; it is possible for addon messages to make it to the CHAT_MSG_ADDON handlers when no addon has registered it.
  • RegisterAddonMessagePrefix( )
    Returns a boolean if successful (could fail if it hits the client side limit of 512 prefixes).

  • IsAddonMessagePrefixRegistered( )
    Returns a Boolean if the prefix has been registered.

  • GetRegisteredAddonMessagePrefixes( )
    Returns a table (or you can pass in a table), that will be filled in with all prefixes that were registered.

Prefixes are limited to 16 characters now, and they no longer take up a portion of the 256 character chat message limit. The server has a 64 prefix limit. If you exceed this limit your client will not filter any messages.

Also: SendAddonMessage() is now allowed for the OFFICER channel.


Posted from WoW Vault

 

-----signature-----
(none)
Link to this post

Valid XHTML 1.0 Transitional Powered by PHP