25 #define ALLNETMSGS_DONT_CREATE_NMTS
27 #undef ALLNETMSGS_DONT_CREATE_NMTS
153 #endif // NETMESSAGE_H
virtual CStr ToString() const
Returns a string representation for the message.
virtual CStr ToString() const
Returns a string representation for the message.
virtual size_t GetSerializedLength() const
Retrieves the size in bytes of the serialized message.
The list of messages used by the network subsystem.
virtual const u8 * Deserialize(const u8 *pStart, const u8 *pEnd)
Deserializes the message from the specified buffer.
virtual u8 * Serialize(u8 *pBuffer) const
Serialize the message into the specified buffer parameter.
ScriptInterface * m_ScriptInterface
CGameSetupMessage(ScriptInterface &scriptInterface)
virtual u8 * Serialize(u8 *pBuffer) const
Serialize the message into the specified buffer parameter.
virtual size_t GetSerializedLength() const
Retrieves the size in bytes of the serialized message.
Creates messages from data received through the network.
CSimulationMessage(ScriptInterface &scriptInterface)
virtual const u8 * Deserialize(const u8 *pStart, const u8 *pEnd)
Deserializes the message from the specified buffer.
Special message type for updated to game startup settings.
An interface for serializable objects.
NetMessageType GetType() const
Retrieves the message type.
The base class for all network messages exchanged within the game.
NONCOPYABLE(CGameSetupMessage)
ScriptInterface & m_ScriptInterface
virtual size_t GetSerializedLength() const
Retrieves the size in bytes of the serialized message.
Abstraction around a SpiderMonkey JSContext.
virtual u8 * Serialize(u8 *pBuffer) const
Serialize the message into the specified buffer parameter.
virtual const u8 * Deserialize(const u8 *pStart, const u8 *pEnd)
Deserializes the message from the specified buffer.
static CNetMessage * CreateMessage(const void *pData, size_t dataSize, ScriptInterface &scriptInterface)
Factory method which creates a message object based on the given data.
virtual CStr ToString() const
Returns a string representation for the message.
Special message type for simulation commands.