Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
virtual int Type()
Report this message's registered identity.
Player * mPlayer
Definition phrasemuffedmsg.h:109
virtual void PrintExtra(std::ostream &stream) const
Write tr#, the track, a space, the player, a space, the position, tried:, and the word at +0x10 to a...
PhraseMuffedMsg(int nTrack, Player *pPlayer, Sch::Tick position, int nTried)
Report a muffed phrase.
Definition phrasemuffedmsg.h:55
virtual Message * Clone()
Produce a heap copy of this message.
int mTried
Definition phrasemuffedmsg.h:111
PhraseMuffedMsg()
Construct a message with the position at kTickInfinity and the rest unset.
Definition phrasemuffedmsg.h:39
virtual const char * GetName() const
Report this message's class name.
Sch::Tick mPosition
Definition phrasemuffedmsg.h:110
int mTrack
Definition phrasemuffedmsg.h:108
static Message * New()
Produce a default-constructed message on the heap.
One participant in a session, local or remote.
Definition player.h:39
Song position in MIDI ticks, printed as measure, beat, and tick.
Definition tick.h:70
int g_nPhraseMuffedMsgType
Identity that PhraseMuffedMsg::Type() reports.