resonance 1.0.1
Loading...
Searching...
No Matches
leavegamemsg.h
Go to the documentation of this file.
1#pragma once
2
3#include "msg/message.h"
4
18class LeaveGameMsg : public Message {
19public:
30 static Message *New();
31
39 virtual Message *Clone();
40
48 virtual int Type();
49
57 virtual const char *GetName() const;
58};
59
70extern int g_nLeaveGameMsgType;
Event the game passes between a MsgSource and a MsgSink.
Definition leavegamemsg.h:18
static Message * New()
Produce a message on the heap.
virtual Message * Clone()
Produce a heap copy of this message.
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_nLeaveGameMsgType
Identity that LeaveGameMsg::Type() reports.