Main Index : Reference :

MessagePlugin


Description

A message plugin class.

Definition

class MessagePlugin : BasePlugin
{
public:
  MessagePlugin();
  
  [bool] Message([BaseContainer] msg) = 0;
}

Explanation

A special class for creating a message port for a plugin. Any other plugin is then able to send messages to this port using the SendPluginMessage() function. This enables plugins of different types to communicate with each other, for example an animation plugin with a shader plugin.

Members

Message( msg )

[bool] Message([BaseContainer] msg) = 0;

This function is called whenever someone sends a plugin message to the plugin. It must be overloaded.