c4d_messagedata.h File Reference

Classes

class   MessageData

Macros

#define  PLUGINFLAG_MESSAGE_SYNCEVENT

函数

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.

参数
[in] id A unique plugin ID. Must be obtained from http://www.plugincafe.com
[in] str The name of the plugin.
[in] info The info flags: PLUGINFLAG_MESSAGE PLUGINFLAG
[in] dat The message data instance for the plugin. Cinema 4D takes over the ownership of the pointed message data.
返回
true if the message plugin was registered, otherwise false .