[go: up one dir, main page]

Menu

[r997]: / trunk / VTS3 / ScriptExecMsg.cpp  Maximize  Restore  History

Download this file

40 lines (29 with data), 759 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// ScriptExecMsg.cpp : implementation file
//
#include "stdafx.h"
#include "vts.h"
#include "ScriptExecMsg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// ScriptExecMsg
IMPLEMENT_DYNAMIC(ScriptExecMsg, CObject)
ScriptExecMsg::ScriptExecMsg(ScriptMsgType msgtype)
{
m_msgtype = msgtype;
}
ScriptExecMsg::~ScriptExecMsg()
{
// Mark as deleted, in case some naughty boy accessess
// us after death...
m_msgtype = msgDeleted;
}
ScriptExecMsg::ScriptMsgType ScriptExecMsg::GetType()
{
return m_msgtype;
}
/////////////////////////////////////////////////////////////////////////////
// ScriptExecMsg message handlers