resonance 1.0.1
Loading...
Searching...
No Matches
refreshnetmsg.h
Go to the documentation of this file.
1#pragma once
2
3#include "msg/message.h"
4
18class RefreshNetMsg : public Message {
19public:
29 static Message *New();
30
38 virtual Message *Clone();
39
47 virtual int Type();
48
56 virtual const char *GetName() const;
57
66 virtual void PrintExtra(std::ostream &stream) const;
67
74
81
87 int mTrack;
88};
89
100extern int g_nRefreshNetMsgType;
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
Event the game passes between a MsgSource and a MsgSink.
Definition refreshnetmsg.h:18
virtual Message * Clone()
Produce a heap copy of this message.
virtual const char * GetName() const
Report this message's class name.
int mFirstBar
The first bar of the range, written by PrintExtra() after bars .
Definition refreshnetmsg.h:73
virtual int Type()
Report this message's registered identity.
int mEndBar
The bar one past the last of the range, written by PrintExtra() after - .
Definition refreshnetmsg.h:80
int mTrack
The track, written by PrintExtra() after tr#.
Definition refreshnetmsg.h:87
static Message * New()
Produce a default-constructed message on the heap.
virtual void PrintExtra(std::ostream &stream) const
Write tr#, the word at +0x0c, bars , and the two words at +0x04 and +0x08 joined by - to a diagnos...
int g_nRefreshNetMsgType
Identity that RefreshNetMsg::Type() reports.