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
static Message * New()
Produce a default-constructed message on the heap.
virtual int Type()
Report this message's registered identity.
virtual Message * Clone()
Produce a heap copy of this message.
virtual const char * GetName() const
Report this message's class name.
WinMsg()
Construct a message with no winners.
Definition winmsg.h:38
void AddWinner(Player *pPlayer)
Append one winning player.
Definition winmsg.h:90
std::vector< Player * > mWinners
Definition winmsg.h:94
int g_nWinMsgType
Identity that WinMsg::Type() reports.