handler_cg_gm.h

来自「奇迹世界 部分源代码奇迹世界 部分源代码奇迹世界 部分源代码」· C头文件 代码 · 共 57 行

H
57
字号
#ifndef __HANDLER_CG_GM_H__
#define __HANDLER_CG_GM_H__

#pragma once


#define Handler_CG_GM_DECL( p )			static VOID On##p( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize )
#define Handler_CG_GM_IMPL( p )			VOID Handler_CG_GM::On##p( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize )


#include <PacketStruct.h>
#include <GMCmdManager.h>

class ServerSession;

class Handler_CG_GM
{
public:
	Handler_CG_GM();
	~Handler_CG_GM();

/*
	static VOID OnCG_GM_MONSTER_CREATE_SYN( ServerSession * pServerSession, MSG_BASE* pMsg, WORD wSize );
	static VOID OnCG_GM_MONSTER_DESTROYALL_SYN( ServerSession * pServerSession, MSG_BASE* pMsg, WORD wSize );
	static VOID OnCG_GM_MONSTER_DESTROYNEAR_SYN( ServerSession * pServerSession, MSG_BASE* pMsg, WORD wSize );
	static VOID OnCG_GM_OBSERVER_SYN( ServerSession * pServerSession, MSG_BASE* pMsg, WORD wSize );
	static VOID OnCG_GM_UNDEAD_MODE_SYN( ServerSession * pServerSession, MSG_BASE* pMsg, WORD wSize );	

	static VOID OnCG_GM_CHARINFO_SYN( ServerSession * pServerSession, MSG_BASE* pMsg, WORD wSize );
	static VOID OnCG_GM_CREATE_ITEM_SYN( ServerSession * pServerSession, MSG_BASE* pMsg, WORD wSize );
	static VOID OnCG_GM_CREATE_ENCHANT_ITEM_SYN( ServerSession * pServerSession, MSG_BASE* pMsg, WORD wSize );	
	static VOID OnCG_GM_DESTROY_ITEM_AROUND_SYN( ServerSession * pServerSession, MSG_BASE* pMsg, WORD wSize );
	static VOID OnCG_GM_CREATE_MONEY_SYN( ServerSession * pServerSession, MSG_BASE* pMsg, WORD wSize );
	static VOID OnCG_GM_LEVEL_UP_SYN( ServerSession * pServerSession, MSG_BASE* pMsg, WORD wSize );
	static VOID OnCG_GM_STAT_UP_SYN( ServerSession * pServerSession, MSG_BASE* pMsg, WORD wSize );	
	static VOID OnCG_GM_SKILLPOINT_UP_SYN( ServerSession * pServerSession, MSG_BASE* pMsg, WORD wSize );

	Handler_CG_GM_DECL( CG_GM_RELOAD_DATA_CMD );
	Handler_CG_GM_DECL( CG_GM_ROOMINFO_SYN );
	Handler_CG_GM_DECL( CG_GM_RESURRECTION_SYN );		// 何劝
	Handler_CG_GM_DECL( CG_GM_RECOVERY_SYN );			// 雀汗
	Handler_CG_GM_DECL( CG_GM_SET_SPEED_SYN );			// 加档
	Handler_CG_GM_DECL( CG_GM_ENTRANCE_SYN );			// 涝厘
	Handler_CG_GM_DECL( CG_GM_FORCE_DISCONNECT_SYN );	// 立加辆丰
	Handler_CG_GM_DECL( CG_GM_MONSTER_DESTROYONE_SYN );	// 阁胶磐 力芭(酒捞袍, 版氰摹 绝澜)
	Handler_CG_GM_DECL( CG_GM_MONSTER_KILLONE_SYN );	// 阁胶磐 懦(酒捞袍, 版氰摹 乐澜)
*/

	Handler_CG_GM_DECL( CG_GM_STRING_CMD_SYN );			// 胶飘傅 疙飞绢 贸府

public:
	static GMCmdManager	m_GMCmdManager;

};


#endif // __HANDLER_CG_GM_H__

⌨️ 快捷键说明

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