int g_nCaughtBarMsgType
Identity that CaughtBarMsg::Type() reports.
static Message * New()
Produce a default-constructed message on the heap.
int mBar
Definition caughtbarmsg.h:84
virtual int Type()
Report this message's registered identity.
CaughtBarMsg()
Construct a message with the payload unset.
Definition caughtbarmsg.h:28
virtual const char * GetName() const
Report this message's class name.
virtual Message * Clone()
Produce a heap copy of this message.
Player * mPlayer
Definition caughtbarmsg.h:83
CaughtBarMsg(Player *pPlayer, int nBar)
Report a bar a player caught.
Definition caughtbarmsg.h:40
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