C4 Engine
C4 Engine API Documentation

Controller::ReceiveMessage

Defined in:  C4Controller.h
Called to process a controller-defined message.
Prototype

virtual void ReceiveMessage(const ControllerMessage *message);

Parameters
message The message to process.
Description
The ReceiveMessage function is called when the Message Manager successfully receives a network message for a particular controller. The overriding implementation should examine the type of the message and process it if the type is recognized. Otherwise, the base class counterpart should be called to process the message.
See Also

Controller::CreateMessage

ControllerMessage