resonance 1.0.1
Loading...
Searching...
No Matches
jameffectmsg.h
Go to the documentation of this file.
1#pragma once
2
3#include "msg/message.h"
4
5class Player;
6
20class JamEffectMsg : public Message {
21public:
28 static int sID;
29
39 static Message *New();
40
48 virtual Message *Clone();
49
57 virtual int Type();
58
66 virtual const char *GetName() const;
67
68 int mBar;
69 int mTrack;
70 int mEffect;
73};
Event the game passes between a MsgSource and a MsgSink.
Definition jameffectmsg.h:20
virtual int Type()
Report this message's registered identity.
int mTrack
Definition jameffectmsg.h:69
static int sID
Identity that Type() reports, 417.
Definition jameffectmsg.h:28
static Message * New()
Produce a default-constructed message on the heap.
Player * mPlayer
The deploying player, which PostRemixFxMsg() copies into RemixFXMsg::mPlayer.
Definition jameffectmsg.h:72
virtual Message * Clone()
Produce a heap copy of this message.
int mEffect
Definition jameffectmsg.h:70
int mBar
Definition jameffectmsg.h:68
virtual const char * GetName() const
Report this message's class name.
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