Settings a game session is started with.
Definition gameparams.h:42
Input half of the byte stream interface.
Definition ibstream.h:36
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
Output half of the byte stream interface.
Definition obstream.h:25
static Message * New()
Produce a packet with default settings on the heap.
virtual Message * Clone()
Produce a heap copy of this packet.
virtual int Type()
Report this packet's registered identity.
GameParams GetParams()
Report the game settings.
virtual void PrintExtra(std::ostream &stream) const
Write the settings to a diagnostic stream through GameParams::Print().
virtual void restoreGuts(IBStream &stream)
Read the Packet words and the settings back from a stream.
virtual const char * GetName() const
Report this packet's class name.
SCLoadLevelPacket(const GameParams ¶ms)
Construct a packet carrying a copy of some settings.
virtual void saveGuts(OBStream &stream) const
Write the Packet words and the settings to a stream.
SCLoadLevelPacket()
Construct a packet with default settings.
ToAllGameControllersPacket()
Route the packet with the pair 3 and 2.
Definition toallgamecontrollerspacket.h:21
int g_nSCLoadLevelPacketType
Identity that SCLoadLevelPacket::Type() reports.