A data class for creating message plugins.
Use RegisterMessagePlugin() to register a message plugin.
Here is an example of a message plugin, which CoreMessage() method is called each 100 ms:
#include "c4d.h"
#include "c4d_symbols.h"
{
};
Int32 TimerMessage::GetTimer()
{
return 100;
}
{
{
}
return true;
}
Bool RegisterTimerMessage()
{
}
Bool RegisterMessagePlugin(Int32 id, const maxon::String &str, Int32 info, MessageData *dat)
#define MSG_TIMER
Definition: c4d_messageplugin.h:19
Definition: c4d_basecontainer.h:47
Definition: c4d_messagedata.h:65
virtual Bool CoreMessage(Int32 id, const BaseContainer &bc)=0
Definition: c4d_string.h:39
maxon::Bool Bool
Definition: ge_sys_math.h:55
maxon::Int32 Int32
Definition: ge_sys_math.h:60
#define NewObj(T,...)
Definition: newobj.h:108