⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msgflushexp.cpp

📁 moyu代码 完整的有用里面有漏洞分析文件 及一些小工具
💻 CPP
字号:
// MsgFlushExp.cpp: implementation of the CMsgFlushExp class.
//
//////////////////////////////////////////////////////////////////////

#include "AllMsg.h"
#include "mapgroup.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CMsgFlushExp::CMsgFlushExp()
{
	Init();
	m_pInfo	=(MSG_Info *)m_bufMsg;
}

CMsgFlushExp::~CMsgFlushExp()
{

}

//////////////////////////////////////////////////////////////////////
BOOL CMsgFlushExp::Create(char* pbufMsg, DWORD dwMsgSize)
{
	if (!CNetMsg::Create(pbufMsg, dwMsgSize))
		return false;

	if(_MSG_FLUSHEXP != this->GetType())
		return false;

	return true;
}

//////////////////////////////////////////////////////////////////////
BOOL CMsgFlushExp::Create(int nAction, int nType, DWORD dwExp)
{
	// param check

	// init
	this->Init();

	// fill info now
	m_unMsgSize	=sizeof(MSG_Info);
	m_unMsgType	=_MSG_FLUSHEXP;

	m_pInfo->ucAction		=nAction;
	m_pInfo->usType			=nType;
	m_pInfo->dwExp			=dwExp;

	return true;
}

//////////////////////////////////////////////////////////////////////
void CMsgFlushExp::Process(void *pInfo)
{
	ASSERT(!"CMsgFlushExp");
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -