resonance 1.0.1
Loading...
Searching...
No Matches
isrecordingmsg.h
Go to the documentation of this file.
1#pragma once
2
3#include "msg/message.h"
4
15class IsRecordingMsg : public Message {
16public:
26 static Message *New();
27
35 virtual Message *Clone();
36
44 virtual int Type();
45
53 virtual const char *GetName() const;
54
62 virtual void PrintExtra(std::ostream &stream) const;
63
71};
72
83extern int g_nIsRecordingMsgType;
Event the game passes between a MsgSource and a MsgSink.
Definition isrecordingmsg.h:15
static Message * New()
Produce a default-constructed message on the heap.
virtual int Type()
Report this message's registered identity.
virtual const char * GetName() const
Report this message's class name.
int mIsRecording
Non-zero when the game is being restored from a recording.
Definition isrecordingmsg.h:70
virtual Message * Clone()
Produce a heap copy of this message.
virtual void PrintExtra(std::ostream &stream) const
Write IsRecordingMsg and the word at +0x04 to a diagnostic stream.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
int g_nIsRecordingMsgType
Identity that IsRecordingMsg::Type() reports.