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

📄 agent.h

📁 网络游戏魔域源代码 测试可以完整变异
💻 H
字号:
// Agent.h: interface for the CAgent class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_AGENT_H__F52C1E05_69FA_4094_A1DE_CCCCE4F4FF51__INCLUDED_)
#define AFX_AGENT_H__F52C1E05_69FA_4094_A1DE_CCCCE4F4FF51__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "User.h"
#include "mycom.h"

class CAgent : public CUser  
{
	COM_STYLE(CAgent)
protected:
	CAgent();
	virtual ~CAgent();

public:
	bool Create(PROCESS_ID idProcess, OBJID idAgent);

public: // overload
	bool FullItem(int nItemType, DWORD dwData);
	virtual bool SendMsg(CNetMsg* pMsg);
	virtual bool IsAgent()									{ return true; }
	virtual CAgent*	QueryAgent		()						{ return this; }			// agent overload
	 bool LeaveMapGroup	();		//@@@ 同步PROCESS_ID

protected: // ctrl
	MYHEAP_DECLARATION(s_heap)
};

#endif // !defined(AFX_AGENT_H__F52C1E05_69FA_4094_A1DE_CCCCE4F4FF51__INCLUDED_)

⌨️ 快捷键说明

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