www.pudn.com > dataCS.rar > Msg.cpp
// Msg.cpp: implementation of the CMsg class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "SuperServer.h"
#include "Msg.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CMsg::CMsg()
{
m_strMsg="";
}
CMsg::~CMsg()
{
}
void CMsg::Serialize (CArchive &ar)
{
if(ar.IsStoring())
{
ar<>m_strMsg>>m_eType;
}
}