resonance 1.0.1
Loading...
Searching...
No Matches
remotetrackselectmsg.h
Go to the documentation of this file.
1#pragma once
2
3#include <iostream>
4
5#include "mid/tick.h"
6#include "msg/message.h"
7
8class Player;
9
27public:
38 static Message *New();
39
47 virtual Message *Clone();
48
56 virtual int Type();
57
65 virtual const char *GetName() const;
66
75 virtual void PrintExtra(std::ostream &stream) const;
76
81 int mTrack;
82
87 int mPlace;
88
94
100};
101
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
Event the game passes between a MsgSource and a MsgSink.
Definition remotetrackselectmsg.h:26
Player * mPlayer
The player that selected.
Definition remotetrackselectmsg.h:99
virtual int Type()
Report this message's registered identity.
Sch::Tick mPosition
The song position of the selection.
Definition remotetrackselectmsg.h:93
static Message * New()
Produce a default-constructed message on the heap.
virtual const char * GetName() const
Report this message's class name.
virtual Message * Clone()
Produce a heap copy of this message.
int mPlace
The place on the track.
Definition remotetrackselectmsg.h:87
int mTrack
The selected track.
Definition remotetrackselectmsg.h:81
virtual void PrintExtra(std::ostream &stream) const
Write the player's colour name, tr#, the two words at +0x04 and +0x08 joined by /,...
Song position in MIDI ticks, printed as measure, beat, and tick.
Definition tick.h:70
int g_nRemoteTrackSelectMsgType
Identity that RemoteTrackSelectMsg::Type() reports.