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,68 @@
#ifndef _CHAT_GAME_SERVER_DISPATCH_H_
#define _CHAT_GAME_SERVER_DISPATCH_H_
#include <vector>
#include <Network/Dispatch/RylServerDispatch.h>
#include <Network/Dispatch/MultiDispatchStorage.h>
#include <Network/Stream/SendStream.h>
// <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
struct PktSL; // <20><><EFBFBD><EFBFBD> <20>α<EFBFBD><CEB1><EFBFBD>
struct PktChatData; // ij<><C4B3><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
struct PktFriendDB; // ģ<><C4A3> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
struct PktChatRequest; // ä<><C3A4> <20><>Ŷ
struct PktChatBan; // ä<><C3A4> <20><><EFBFBD><EFBFBD>
struct PktChatBanInfo; // ä<><C3A4> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
// forward decl.
class CServerChatPacket;
class CChatGameServerDispatch : public CRylServerDispatch
{
protected:
enum
{
MAX_PACKET_DISPATCH_PER_PULSE = 30,
MAX_STREAM_BUFFER_SIZE = 16000
};
public:
static CMultiDispatch& GetDispatchTable();
CChatGameServerDispatch(CSession& Session);
virtual void Connected();
virtual void Disconnected();
unsigned long GetServerID() const { return m_dwServerID; }
private:
virtual bool DispatchPacket(PktBase* lpPktBase);
bool ProcessServerLogin(PktSL* lpPktSL); // <20><><EFBFBD><EFBFBD> <20>α<EFBFBD><CEB1><EFBFBD>
bool ProcessCharInfoChange(PktChatData* lpChatInfoChange); // ij<><C4B3><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
bool ProcessUpdateFriendDB(PktFriendDB* lpFriendDB); // ģ<><C4A3> <20><><EFBFBD><EFBFBD> <20>ֱ<EFBFBD>
bool ProcessChat(PktChatRequest* lpPktChatReq); // ä<><C3A4>
bool ProcessChatBan(PktChatBan* lpPktChatBan); // ä<><C3A4> <20><><EFBFBD><EFBFBD>
bool ProcessChatBanInfo(PktChatBanInfo* lpPktChatBanInfo); // ä<><C3A4> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
unsigned long m_dwServerID;
};
class CSendChatAllGameServer
{
public:
CSendChatAllGameServer(CServerChatPacket& serverChatPacket);
bool operator () (unsigned long dwServerID, CPacketDispatch& dispatch);
private:
CServerChatPacket& m_ServerChatPacket;
};
#endif