📄 agent.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 + -