初步修复

This commit is contained in:
Cussrro 2024-12-19 09:48:26 +08:00
parent 8fc4357cc6
commit e4714f3f0e
46705 changed files with 12004901 additions and 0 deletions

View file

@ -0,0 +1,41 @@
#include "StdAfx.h"
#include "GameClient.h"
#include "GameProtocol.h"
#include "Game_Structure.h"
#include "Game_ReadPacket.h"
#include "Game_WritePacket.h"
CGameClient::CGameClient(void)
{
}
CGameClient::~CGameClient(void)
{
}
void CGameClient::OnIoRead(void)
{
CClientSession::OnIoRead();
/* DWORD dwProtocol, dwPacketLength;
BYTE Packet[ MAX_BUFFER_LENGTH ];
char szIP[ 1024 ];
USHORT nPort;
if( !ReadFromPacket( dwProtocol, szIP, nPort, Packet, dwPacketLength ) )
{
return;
}*/
}
void CGameClient::OnIoConnected(void)
{
}
void CGameClient::OnIoDisconnected(void)
{
}
BOOL CGameClient::Begin( USHORT nRemotePort )
{
return BeginUdp( nRemotePort );
}