Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
One participant in a session, local or remote.
Definition player.h:39
virtual void PrintExtra(std::ostream &stream) const
Write the entry and the count to a diagnostic stream, separated by /.
PowerupCountMsg()
Construct a message with the payload unset.
Definition powerupcountmsg.h:28
virtual int Type()
Report this message's registered identity.
PowerupCountMsg(int nIndex, int nCount, Player *pOwner)
Report a new stored count for one entry of a player's collection.
virtual Message * Clone()
Produce a heap copy of this message.
virtual const char * GetName() const
Report this message's class name.
static Message * New()
Produce a default-constructed message on the heap.
int g_nPowerupCountMsgType
Identity that PowerupCountMsg::Type() reports.