c4d_messagedata.h File Reference

Classes

class  MessageData
 

Macros

#define PLUGINFLAG_MESSAGE_SYNCEVENT
 

Functions

Bool RegisterMessagePlugin (Int32 id, const maxon::String &str, Int32 info, MessageData *dat)
 

Function Documentation

◆ RegisterMessagePlugin()

Bool RegisterMessagePlugin ( Int32  id,
const maxon::String str,
Int32  info,
MessageData dat 
)

Registers a message plugin.

Parameters
[in]idA unique plugin ID. Must be obtained from http://www.plugincafe.com
[in]strThe name of the plugin.
[in]infoThe info flags: PLUGINFLAG_MESSAGE PLUGINFLAG
[in]datThe message data instance for the plugin. Cinema 4D takes over the ownership of the pointed message data.
Returns
true if the message plugin was registered, otherwise false.