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:
@@ -0,0 +1,62 @@
|
||||
#ifndef _DBAGENT_SERVER_ADMIN_TOOL_DISPATCH_H_
|
||||
#define _DBAGENT_SERVER_ADMIN_TOOL_DISPATCH_H_
|
||||
|
||||
#include <Network/Dispatch/RylServerDispatch.h>
|
||||
#include <Network/Dispatch/MultiDispatchStorage.h>
|
||||
|
||||
#include <Item/ItemSerialMgr.h>
|
||||
|
||||
// forward decl.
|
||||
struct PktSL;
|
||||
struct PktUK;
|
||||
struct PktItemQtyControl;
|
||||
struct PktAdminToolGetData;
|
||||
struct PktAdminToolSetData;
|
||||
struct PktGuildPosition;
|
||||
|
||||
namespace DBAgent
|
||||
{
|
||||
class CAdminToolDispatch : public CRylServerDispatch
|
||||
{
|
||||
public:
|
||||
|
||||
static CMultiDispatch& GetDispatchTable();
|
||||
|
||||
enum Const
|
||||
{
|
||||
MAX_PACKET_DISPATCH_PER_PULSE = 100,
|
||||
MAX_STREAM_BUFFER_SIZE = 16000
|
||||
};
|
||||
|
||||
CAdminToolDispatch(CSession& Session);
|
||||
virtual ~CAdminToolDispatch();
|
||||
|
||||
virtual void Connected();
|
||||
virtual void Disconnected();
|
||||
virtual bool DispatchPacket(PktBase* lpPktBase);
|
||||
|
||||
private:
|
||||
|
||||
bool ParseServerLogin(PktSL* lpPktSL);
|
||||
bool ParseServerLogout(PktBase* lpPktBase);
|
||||
bool ParseUserKill(PktUK* lpPktUK);
|
||||
|
||||
bool ParseGetData(PktBase* lpPktBase);
|
||||
bool ParseSetData(PktBase* lpPktBase);
|
||||
bool ParseItemQtyCheck(PktItemQtyControl* lpPktItemQtyControl); // 이벤트 아이템 수량 관련 패킷
|
||||
|
||||
bool ParseAdminToolGetData(PktAdminToolGetData* lpPktAdminToolGetData); // 현재 운영툴(AdminTool)
|
||||
bool ParseAdminToolSetData(PktAdminToolSetData* lpPktAdminToolSetData); // 현재 운영툴(AdminTool)
|
||||
|
||||
bool ParseAdminToolChangeName(PktAdminToolGetData* lpPktAdminToolGetData); // 운영툴로 캐릭터 이름 바꾸기
|
||||
|
||||
bool ParseGuildPosition(PktGuildPosition* lpPktGuildPosition); // 길드 포지션 설정.
|
||||
|
||||
Item::CItemSerialMgr m_AdminItemSerialMgr;
|
||||
|
||||
unsigned long m_dwServerID;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user