57 lines
1.0 KiB
C++
57 lines
1.0 KiB
C++
#include "stdafx.h"
|
|
#include "BattleServerSession.h"
|
|
#include "PacketHandler.h"
|
|
#include "GameServerSession.h"
|
|
|
|
|
|
BattleServerSession::BattleServerSession()
|
|
{
|
|
}
|
|
|
|
BattleServerSession::~BattleServerSession()
|
|
{
|
|
}
|
|
|
|
VOID BattleServerSession::Init()
|
|
{
|
|
GameServerSession::Init();
|
|
}
|
|
|
|
VOID BattleServerSession::Release()
|
|
{
|
|
GameServerSession::Release();
|
|
}
|
|
|
|
VOID BattleServerSession::Update()
|
|
{
|
|
GameServerSession::Update();
|
|
}
|
|
|
|
VOID BattleServerSession::OnRedirect()
|
|
{
|
|
GameServerSession::OnRedirect();
|
|
|
|
MessageOut(eCRITICAL_LOG, "Õ½¶··þÎñÒÑÁ¬½Ó.(%s)", GetIP() );
|
|
}
|
|
|
|
VOID BattleServerSession::OnConnect( BOOL bSuccess, DWORD dwNetworkIndex )
|
|
{
|
|
GameServerSession::OnConnect( bSuccess, dwNetworkIndex );
|
|
}
|
|
|
|
VOID BattleServerSession::OnDisconnect()
|
|
{
|
|
ServerSession::OnDisconnect();
|
|
MessageOut(eCRITICAL_LOG, "³¡¾°·þÎñÁ¬½Ó¶Ï¿ª." );
|
|
}
|
|
|
|
VOID BattleServerSession::OnRecv( BYTE *pMsg, WORD wSize )
|
|
{
|
|
if( PacketHandler::Instance()->ParsePacket_BW( this, (MSG_BASE*)pMsg, wSize ) )
|
|
{
|
|
return;
|
|
}
|
|
|
|
GameServerSession::OnRecv( pMsg, wSize );
|
|
}
|