📄 handler_dg_connection.cpp
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -