Restructure repository to include all source folders

Move git root from Client/ to src/ to track all source code:
- Client: Game client source (moved to Client/Client/)
- Server: Game server source
- GameTools: Development tools
- CryptoSource: Encryption utilities
- database: Database scripts
- Script: Game scripts
- rylCoder_16.02.2008_src: Legacy coder tools
- GMFont, Game: Additional resources

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-29 20:17:20 +09:00
parent 5d3cd64a25
commit dd97ddec92
11602 changed files with 1446576 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
#include "stdafx.h"
#include "../ClientSocket.h"
#include "SendPacket.h"
#include <Network/ClientNetwork/ClientEventHandler.h>
#include <Network/ClientNetwork/NetworkMsgBlock.h>
#include "GMMemory.h"
bool SendPacket::SendPacket(ClientNet::CClientEventHandler* lpHandler,
ClientNet::CNetworkMsgBlock* lpNetworkMsgBlock,
unsigned short Len_In, unsigned char Cmd_In,
unsigned short State_In, unsigned short Error_In)
{
if (0 != lpNetworkMsgBlock &&
lpNetworkMsgBlock->WrapCrypt(Len_In, Cmd_In, State_In, Error_In) &&
!ClientSocket::IsNSFlagChainChecked(Cmd_In))
{
ClientSocket::SetNSFlagOn( Cmd_In );
lpHandler->SendPacket(lpNetworkMsgBlock);
return true;
}
ClientNet::CNetworkMsgPool::GetInstance().FreeNetworkMsgBlock(lpNetworkMsgBlock);
return false;
}
bool SendPacket::SendPacket(ClientNet::CClientEventHandler* lpHandler,
ClientNet::CNetworkMsgBlock* lpNetworkMsgBlock,
unsigned short Len_In, unsigned char Cmd_In, unsigned long Tick_In)
{
if (0 != lpNetworkMsgBlock &&
lpNetworkMsgBlock->WrapCrypt(Len_In, Cmd_In, Tick_In) &&
!ClientSocket::IsNSFlagChainChecked(Cmd_In))
{
ClientSocket::SetNSFlagOn( Cmd_In );
lpHandler->SendPacket(lpNetworkMsgBlock);
return true;
}
ClientNet::CNetworkMsgPool::GetInstance().FreeNetworkMsgBlock(lpNetworkMsgBlock);
return false;
}