resonance 1.0.1
Loading...
Searching...
No Matches
durgemmsg.h
Go to the documentation of this file.
1#pragma once
2
3#include "mid/tick.h"
4#include "msg/message.h"
5
6class Player;
7
20class DurGemMsg : public Message {
21public:
31 static Message *New();
32
40 virtual Message *Clone();
41
49 virtual int Type();
50
58 virtual const char *GetName() const;
59
60 int mLane;
64 float mEndBlend;
65
73 int mLive;
74
76};
77
88extern int g_nDurGemMsgType;
Event the game passes between a MsgSource and a MsgSink.
Definition durgemmsg.h:20
float mStartBlend
Definition durgemmsg.h:62
int mEndFrame
Definition durgemmsg.h:63
int mLane
Definition durgemmsg.h:60
Player * mPlayer
Definition durgemmsg.h:75
float mEndBlend
Definition durgemmsg.h:64
virtual Message * Clone()
Produce a heap copy of this message.
int mLive
Non-zero for a gem a player is playing live.
Definition durgemmsg.h:73
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.
int mStartFrame
Definition durgemmsg.h:61
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_nDurGemMsgType
Identity that DurGemMsg::Type() reports.
constexpr int kTickInfinity
Position the printer renders as positive infinity.
Definition tick.h:15