Wowpedia
Advertisement
Wowpedia
240,450
pages

Registers an addon message prefix, allowing messages sent over addon channels with that prefix to be received by the client.

successfulRequest = C_ChatInfo.RegisterAddonMessagePrefix(prefix)

Arguments

prefix 
string - The message prefix to register for delivery, at most 16 characters.

Returns

successfulRequest 
boolean - true if registration succeeded, false if too many prefixes have been registered (>512). Caveat: This does not return false if the prefix length is too big (>16).

Details

  • Registering prefixes does not persist after doing a /reload

Patch changes

  • Battle for Azeroth Patch 8.0.1 / API (2018-07-17): Moved to C_ChatInfo.RegisterAddonMessagePrefix()
  • Cataclysm Patch 4.1.0 / API (2011-04-26): Added as RegisterAddonMessagePrefix()

See also

Advertisement