<<size 150%>>**Parameters in <<color #ff0000>>red<</color>> are optional.**<</size>>\\\\

=== <<color #265677>> **plugin:RegisterListener(module, listener)** <</color>>
Register a message to listen for.

<<size 120%>><<color #265677>> Parameters <</color>><</size>>
* **module** (table) The module that want to listen to the message.
* **listener** (string) A function with this name must exist on the module object, or the module must have an OnSync function that takes looks like func(listener, sender, dist, ...).

\\
=== <<color #265677>> **plugin:Send(comMsg, dist, target, ...)** <</color>>
Send a message over the addon communication channel 

<<size 120%>><<color #265677>> Parameters <</color>><</size>>
* **comMsg** (string) The string that ideintifies the message.
* **dist** (string) The distrubution to use (GUILD, RAID, WHISPER etc.)
* <<color #ff0000>>**target**<</color>> (string) The target to send the message to, only used when the dist is WHISPER.
* <<color #ff0000>>**...**<</color>> (data) Any kind of data to send along with the message.

\\
=== <<color #265677>> **plugin:UnregisterAllListeners(module)** <</color>>
Unregister all listening messages for a module.

<<size 120%>><<color #265677>> Parameters <</color>><</size>>
* **module** (table) The module that wants all messages unregistered.

\\
=== <<color #265677>> **plugin:UnregisterListener(module, listener)** <</color>>
Unregister a listening message for a module.

<<size 120%>><<color #265677>> Parameters <</color>><</size>>
* **module** (table) The module that wants to unregister for a message.
* **listener** (string) The message to stop listening for.

\\