#include <c4d_messagedata.h>
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(
void)
{
}
◆ GetTimer()
virtual Int32 GetTimer |
( |
void |
| ) |
|
|
virtual |
Called to return a time in milliseconds to receive timer messages (MSG_TIMER) with that interval in .\n This method is queried again after each message.
- Returns
- The timer interval in milliseconds, or 0 for no timer messages.
◆ CoreMessage()
Called to receive core messages.
- See also
- The article Core Messages for more information.
- Parameters
-
[in] | id | The core message ID: EVMSG |
[in] | bc | The core message container. |
- Returns
- Currently not used.