Files
LGram16 dd97ddec92 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>
2025-11-29 20:17:20 +09:00

55 lines
1.0 KiB
C

#ifndef _CHAR_ADMIN_PACKET_H_
#define _CHAR_ADMIN_PACKET_H_
// CharAdminPacket.h
#include <winsock2.h>
#include <windows.h>
#include <Network/Packet/PacketBase.h>
#include <DB/DBdefine.h>
#pragma pack(1)
typedef struct PktAdmin* LPPktAdmin;
struct PktAdmin : public PktBase
{
enum { MAX_NAME_LEN = 16 };
enum CMD
{
NONE = 0, // 운영자 명령
MOVE_ZONE_C = 1, // 캐릭터 존 이동
MOVE_ZONE_P = 2, // 파티 존 이동
MOVE_C = 3, // 캐릭터 이동
MOVE_P = 4, // 파티 이동
RESPAWN_C = 5, // 캐릭터 리스폰
RESPAWN_P = 6, // 파티 리스폰
KILL_C = 7, // 캐릭터 킬
KILL_P = 8, // 파티 킬
DUELINIT = 9, // 듀얼 초기화
CREATEITEM = 10, // 아이템 드롭
CREATEMON = 11, // 몬스터 생성
INFO_C = 12 // 캐릭터 정보
};
unsigned short m_usCmd; // 운영자 명령
char m_stName[MAX_NAME_LEN]; // 이름
union
{
struct ZoneInfo
{
char m_cZone; // 존 번호
char m_cChannel; // 채널 번호
} m_ZoneInfo;
unsigned short m_usProtoTypeID; // 타입 아이디
};
POS m_Position; // 위치
};
#pragma pack()
#endif