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>
50 lines
1.4 KiB
C
50 lines
1.4 KiB
C
#ifndef _DATA_PACKET_H_
|
|
#define _DATA_PACKET_H_
|
|
|
|
#include <Network/Packet/PacketBase.h>
|
|
|
|
#pragma pack(1)
|
|
|
|
typedef struct PktDD* LPPktDD;
|
|
struct PktDD : public PktBase
|
|
{
|
|
unsigned long m_dwUID;
|
|
unsigned short m_wCmd;
|
|
|
|
enum SubCommands
|
|
{
|
|
SCmdUserLogin = 0x0001, // 유저 로그인
|
|
SCmdUserLogout = 0x0002, // 유저 로그인
|
|
SCmdUserMove = 0x0003, // 유저 존 이동
|
|
|
|
SCmdCharCreate = 0x0021, // 캐릭터 생성
|
|
SCmdCharDelete = 0x0022, // 캐릭터 삭제
|
|
SCmdCharCreateItem = 0x0023, // 캐릭터 생성 아이템
|
|
SCmdCharSelect = 0x0024, // 캐릭터 선택
|
|
|
|
SCmdCreateParty = 0x0031, // 파티 생성
|
|
SCmdDeleteParty = 0x0032, // 파티 삭제
|
|
SCmdGetPartyInfo = 0x0033, // 파티 정보 얻기
|
|
SCmdInsertPartyMem = 0x0034, // 파티 멤버 추가
|
|
SCmdDeletePartyMem = 0x0035, // 파티 멤버 삭제
|
|
SCmdLoginPartyMem = 0x0036, // 파티 멤버 로그인
|
|
SCmdLogoutPartyMem = 0x0037, // 파티 멤버 로그아웃
|
|
SCmdTransferLeader = 0x0038, // 리더 양도
|
|
|
|
SCmdStartSession = 0x0041, // 세션 시작
|
|
SCmdServerZone = 0x0043, // 서버 존
|
|
SCmdCharMoveZone = 0x0044 // 캐릭터 존이동
|
|
};
|
|
|
|
inline void InitPtSubCmd(unsigned long dwUID, unsigned short Cmd_In);
|
|
};
|
|
|
|
inline void PktDD::InitPtSubCmd(unsigned long dwUID, unsigned short Cmd_In)
|
|
{
|
|
m_dwUID = dwUID;
|
|
m_wCmd = Cmd_In;
|
|
}
|
|
|
|
#pragma pack()
|
|
|
|
#endif |