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>
43 lines
1.2 KiB
C++
43 lines
1.2 KiB
C++
#include "stdafx.h"
|
|
#include "FieldServerClientDispatch.h"
|
|
#include <Network/Packet/PacketCommand.h>
|
|
#include <Network/Dispatch/GameClient/ParseCharLoginOut.h>
|
|
|
|
|
|
class CFieldGameClientDispatchTable : public CGameClientDispatchTable
|
|
{
|
|
public:
|
|
|
|
static CFieldGameClientDispatchTable& GetInstance();
|
|
|
|
private:
|
|
|
|
CFieldGameClientDispatchTable();
|
|
};
|
|
|
|
|
|
CFieldGameClientDispatchTable& CFieldGameClientDispatchTable::GetInstance()
|
|
{
|
|
static CFieldGameClientDispatchTable fieldGameClientDispatchTable;
|
|
return fieldGameClientDispatchTable;
|
|
}
|
|
|
|
|
|
CFieldGameClientDispatchTable::CFieldGameClientDispatchTable()
|
|
{
|
|
using namespace GameClientParsePacket;
|
|
|
|
AddDispatch(CmdCharLogin, ParseCharLogin); // 캐릭터 로그인
|
|
AddDispatch(CmdCharLogout, ParseCharLogout); // 캐릭터 로그아웃
|
|
AddDispatch(CmdCharMoveZone, ParseCharMoveZone); // 캐릭터 존 이동
|
|
AddDispatch(CmdServerZone, ParseServerZone); // 캐릭터 존 이동
|
|
AddDispatch(CmdCSAuth, ParseCSAuth); // 인증 코드 (게임 가드)
|
|
}
|
|
|
|
|
|
CFieldGameClientDispatch::CFieldGameClientDispatch(CSession& Session)
|
|
: CGameClientDispatch(Session, CFieldGameClientDispatchTable::GetInstance())
|
|
{
|
|
|
|
|
|
} |