resonance 1.0.1
Loading...
Searching...
No Matches
gamebeginmsg.h
Go to the documentation of this file.
1#pragma once
2
3#include "msg/message.h"
4
21class GameBeginMsg : public Message {
22public:
32 static Message *New();
33
41 virtual Message *Clone();
42
50 virtual int Type();
51
59 virtual const char *GetName() const;
60};
61
72extern int g_nGameBeginMsgType;
Event the game passes between a MsgSource and a MsgSink.
Definition gamebeginmsg.h:21
virtual Message * Clone()
Produce a heap copy of this message.
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.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
int g_nGameBeginMsgType
Identity that GameBeginMsg::Type() reports.