int g_nChoosePowerupMsgType
Identity that ChoosePowerupMsg::Type() reports.
virtual const char * GetName() const
Report this message's class name.
Player * mOwner
Definition choosepowerupmsg.h:98
ChoosePowerupMsg(int nIndex, Player *pOwner, int nType)
Report a new selection in a player's collection.
ChoosePowerupMsg()
Construct a message with the payload unset.
Definition choosepowerupmsg.h:34
static Message * New()
Produce a default-constructed message on the heap.
virtual int Type()
Report this message's registered identity.
int mType
Definition choosepowerupmsg.h:99
virtual Message * Clone()
Produce a heap copy of this message.
virtual void PrintExtra(std::ostream &stream) const
Write the selected entry to a diagnostic stream as a number.
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