resonance 1.0.1
Loading...
Searching...
No Matches
invalidateseekermsg.h
Go to the documentation of this file.
1#pragma once
2
3#include "msg/message.h"
4
20public:
27 static int sID;
28
37
47 InvalidateSeekerMsg(int nBar, int nTrack) : mBar(nBar), mTrack(nTrack) {
48 }
49
59 static Message *New();
60
68 virtual Message *Clone();
69
77 virtual int Type();
78
86 virtual const char *GetName() const;
87
88 // Public because Voxer::DispatchPriv(), Scratcher::DispatchPriv(), and
89 // NotePitcher::DispatchPriv() read the members below directly, through an InvalidateSeekerMsg
90 // pointer from outside the hierarchy, and the image exposes no accessor. A friend declaration
91 // fits equally well.
92 int mBar; // +0x04
93 int mTrack; // +0x08
94};
int mTrack
Definition invalidateseekermsg.h:93
virtual Message * Clone()
Produce a heap copy of this message.
virtual int Type()
Report this message's registered identity.
static int sID
Identity that Type() reports, 317.
Definition invalidateseekermsg.h:27
InvalidateSeekerMsg(int nBar, int nTrack)
Invalidate the seeker of one track from a bar on.
Definition invalidateseekermsg.h:47
static Message * New()
Produce a default-constructed message on the heap.
InvalidateSeekerMsg()
Construct a message with the payload unset.
Definition invalidateseekermsg.h:35
virtual const char * GetName() const
Report this message's class name.
int mBar
Definition invalidateseekermsg.h:92
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41