handler_dg_connection.cpp

来自「奇迹世界data 服务器代码,研究游戏的朋友有帮助」· C++ 代码 · 共 31 行

CPP
31
字号
#include "stdafx.h"
#include ".\handler_dg_connection.h"
#include <Protocol_DG.h>
#include <PacketStruct_DG.h>
#include "GameServerSession.h"
#include "DBProxyServer.h"
//#include "Player.h"

Handler_DG_CONNECTION::Handler_DG_CONNECTION()
{
}

Handler_DG_CONNECTION::~Handler_DG_CONNECTION()
{
}
/*
VOID Handler_DG_CONNECTION::OnDG_CONNECTION_UNREGISTER_CMD( ServerSession * pServer, MSG_BASE * pMsg, WORD wSize )
{

	MSG_DG_CONNECTION_UNREGISTER_CMD * pRcvMsg = (MSG_DG_CONNECTION_UNREGISTER_CMD *)pMsg;

	ASSERT( pServer->GetServerType() ==	FIELD_SERVER ||  pServer->GetServerType() == BATTLE_SERVER );
	GameServerSession * pGameServer = static_cast<GameServerSession *>(pServer);


	//Player * pPlayer = DBProxyServer::Instance()->GetPlayer( pRcvMsg->m_dwID );
	//pPlayer->StartCacheExpiredTimer();
	DBProxyServer::Instance()->DestroyPlayer( pRcvMsg->m_dwID );
	DISPMSG ("[ID:%d]:GameServer's User Removed..\n", pRcvMsg->m_dwID );
}
*/

⌨️ 快捷键说明

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