C4 Engine
C4 Engine API Documentation

Message::GetMessageFlags

Defined in:  C4Messages.h
Returns flags indicating whether a message requires special handling.
Prototype

uint32 GetMessageFlags(voidconst;

Description
The return value of the GetMessageFlags function may be zero or a combination (through logical OR) of the following constants.
kMessageUnreliable The message should be sent as an unreliable packet. Messages having this flag set are not guaranteed to reach their destinations, but they do arrive in order.
kMessageUnordered The message should be sent as an unordered packet. Messages having this flag set can arrive at their destinations out of order. The kMessageUnreliable flag must also be set.
kMessageCombineInhibit The message should not be combined with other messages into a single data packet. Messages having this flag set will always be transmitted as a distinct data packet.
kMessageDestroyer The message is a controller message, and it causes the controller's target node to be destroyed. This flag is only useful for messages sent with the MessageMgr::SendMessageJournal function, and it prevents the message from being deleted from the journal when the controller is destroyed.
See Also

Message::SetMessageFlags