#include <MercuryMessages.h>
Inheritance diagram for MercuryMessageHandler:
Public Member Functions | |
virtual void | Message (int Message, PStack &data, const MString &name) |
Receive message (When subscribing to messages, you receive them via this command). | |
void | RegisterMessage (int messageID, const MString &name) |
Register this object for message 'name' and return an ID messageID. | |
void | UnregisterMessage (int messageID, const MString &name) |
CLASS_RTTI (MercuryMessageHandler, MercuryCommandHandler) | |
Static Public Member Functions | |
static void | ProcessMessage (const MString &name, void *mudata, PStack &data) |
[internal] Process message internally from system. DO NOT OVERRIDE THIS. | |
Private Attributes | |
MDeque< MAutoPtr< MercuryMessageObjectSubscription > > | m_lCallbacks |
Definition at line 121 of file MercuryMessages.h.
virtual void MercuryMessageHandler::Message | ( | int | Message, | |
PStack & | data, | |||
const MString & | name | |||
) | [inline, virtual] |
Receive message (When subscribing to messages, you receive them via this command).
Reimplemented in BetaBetaMari, ExplodingCokeCan, MercuryMaterial, MercuryNetClient, MercuryParticleField, MercuryScreen, MercurySprite, MercuryText, MercuryTexture, MercuryTextureManager, MercuryWindow, Projectile, RaceCar, ScreenCopper, ScreenDebugOverlay, ScreenExample2DSS, ScreenFPS, ScreenFPS2, ScreenGameForBlind, ScreenHelloWorld, ScreenJunq, MercuryTextPrompt, ScreenMapEditor, ScreenRallyRace, ScreenSound, ScreenTest, and ScreenHgTitle.
Definition at line 125 of file MercuryMessages.h.
void MercuryMessageHandler::ProcessMessage | ( | const MString & | name, | |
void * | mudata, | |||
PStack & | data | |||
) | [static] |
[internal] Process message internally from system. DO NOT OVERRIDE THIS.
Definition at line 153 of file MercuryMessages.cpp.
void MercuryMessageHandler::RegisterMessage | ( | int | messageID, | |
const MString & | name | |||
) |
Register this object for message 'name' and return an ID messageID.
Definition at line 159 of file MercuryMessages.cpp.
void MercuryMessageHandler::UnregisterMessage | ( | int | messageID, | |
const MString & | name | |||
) |
Definition at line 168 of file MercuryMessages.cpp.
MercuryMessageHandler::CLASS_RTTI | ( | MercuryMessageHandler | , | |
MercuryCommandHandler | ||||
) |
Definition at line 137 of file MercuryMessages.h.