Event the game passes between a MsgSource and a MsgSink.
Definition juiceamountmsg.h:20
static Message * New()
Produce a default-constructed message on the heap.
virtual const char * GetName() const
Report this message's class name.
virtual int Type()
Report this message's registered identity.
virtual Message * Clone()
Produce a heap copy of this message.
int mMaxJuice
The player's mMaxJuice, clamped by the same site to a maximum of 800.
Definition juiceamountmsg.h:105
int GetJuice()
Report the player's juice.
Player * mPlayer
Player the message is about.
Definition juiceamountmsg.h:102
virtual void PrintExtra(std::ostream &stream) const
Write the player to a diagnostic stream through Player::Print().
float GetJuiceFraction()
Report the player's juice as a fraction of mMaxJuice.
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
int g_nJuiceAmountMsgType
Identity that JuiceAmountMsg::Type() reports.