Files
Client/GameTools/GLOBALSCRIPT/Network/Packet/PacketCommand.h
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

142 lines
8.4 KiB
C

////////////////////////////////////////////////////////////////////////////////////////////////////
//
// 패킷 커맨드
//
////////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef _PACKET_COMMAND_H_
#define _PACKET_COMMAND_H_
#include "PacketBase.h"
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// 커맨드
//
////////////////////////////////////////////////////////////////////////////////////////////////////
const PktBase::CMDType CmdNull = 0x00;
const PktBase::CMDType CmdAuthAccount = 0x01; // 계정 인증
const PktBase::CMDType CmdServerGroup = 0x02; // 서버군 선택
const PktBase::CMDType CmdUserLogin = 0x03; // 유저 로그인
const PktBase::CMDType CmdUserKill = 0x04; // 유저 제거
const PktBase::CMDType CmdCharSelect = 0x05; // 캐릭터 선택
const PktBase::CMDType CmdCharCreate = 0x06; // 캐릭터 생성
const PktBase::CMDType CmdCharDelete = 0x07; // 캐릭터 삭제
const PktBase::CMDType CmdCharLogin = 0x08; // 캐릭터 로그인
const PktBase::CMDType CmdCharSuicide = 0x09; // 캐릭터 자살
const PktBase::CMDType CmdCharRespawn = 0x0A; // 캐릭터 부활
const PktBase::CMDType CmdCharMove = 0x0B; // 캐릭터 이동 (P2P)
const PktBase::CMDType CmdCharMoveUpdate = 0x0C; // 캐릭터 이동 업데이트
const PktBase::CMDType CmdCharChat = 0x0D; // 캐릭터 채팅 (P2P)
const PktBase::CMDType CmdCharAttack = 0x0E; // 캐릭터 공격
const PktBase::CMDType CmdCharCastObject = 0x0F; // 캐릭터 오브젝트 던지기
const PktBase::CMDType CmdCharUseSkill = 0x10; // 캐릭터 스킬 사용
const PktBase::CMDType CmdCharTakeItem = 0x11; // 캐릭터 아이템 집기
const PktBase::CMDType CmdCharSwapItem = 0x12; // 캐릭터 아이템 스왑
const PktBase::CMDType CmdCharRepairItem = 0x13; // 캐릭터 아이템 수리
const PktBase::CMDType CmdCharUseItem = 0x14; // 캐릭터 아이템 사용
const PktBase::CMDType CmdCharTradeItem = 0x15; // 캐릭터 아이템 거래
const PktBase::CMDType CmdCharSkillLock = 0x16; // 캐릭터 스킬 락
const PktBase::CMDType CmdCharSkillCreate = 0x17; // 캐릭터 스킬 생성
const PktBase::CMDType CmdCharSkillErase = 0x18; // 캐릭터 스킬 지우기
const PktBase::CMDType CmdCharClassUpgrade = 0x19; // 캐릭터 클래스 업그레이드
const PktBase::CMDType CmdCharShapeInfo = 0x1A; // 캐릭터 정보 (P2P)
const PktBase::CMDType CmdCharIncreasePoint = 0x1B; // 캐릭터 능력 포인트 증가
const PktBase::CMDType CmdCharBindPosition = 0x1C; // 캐릭터 바인드 포지션
const PktBase::CMDType CmdCharRequireInfo = 0x1D; // 캐릭터 해당 정보 요청
const PktBase::CMDType CmdCharUpdateAddress = 0x1E; // 캐릭터 UDP 주소 업데이트
const PktBase::CMDType CmdCharPartyCmd = 0x1F; // 캐릭터 파티 명령
const PktBase::CMDType CmdCharPartyMemInfo = 0x20; // 캐릭터 파티 맴버 정보 전달 (P2P)
const PktBase::CMDType CmdCharExchangeCmd = 0x21; // 캐릭터 아이템 교환 명령
const PktBase::CMDType CmdSysConnectAgent = 0x22; // 시스템 중계 접속 (UDP 중계) # 사용 안함
const PktBase::CMDType CmdSysPacketTransmit = 0x23; // 시스템 패킷 전달 (UDP 중계) # 사용 안함
const PktBase::CMDType CmdCharLogout = 0x24; // 캐릭터 로그 아웃
const PktBase::CMDType CmdDBGetData = 0x25; // DB 데이터 얻기
const PktBase::CMDType CmdDBUpdateData = 0x26; // 업데이트 DB 데이터
const PktBase::CMDType CmdAgentParty = 0x27; // DB 에이전트 파티
const PktBase::CMDType CmdSysServerLogin = 0x28; // 시스템 서버 로그인
const PktBase::CMDType CmdServerZone = 0x29; // 서버존 선택
const PktBase::CMDType CmdGameCellInfo = 0x2A; // 게임 셀 정보 (오브젝트 정보)
const PktBase::CMDType CmdCharInfo = 0x2B; // 캐릭터 정보 # 사용 안함
const PktBase::CMDType CmdCharAddressInfo = 0x2C; // 캐릭터 UDP 주소 정보
const PktBase::CMDType CmdCharCellLogin = 0x2D; // 캐릭터 셀 로그인
const PktBase::CMDType CmdCharCellLogout = 0x2E; // 캐릭터 셀 로그아웃
const PktBase::CMDType CmdMonMove = 0x2F; // 몬스터 이동
const PktBase::CMDType CmdCharAttackInfo = 0x30; // 캐릭터 공격 정보 (P2P)
const PktBase::CMDType CmdCharAttacked = 0x31; // 캐릭터 공격 얻음
const PktBase::CMDType CmdCharAward = 0x32; // 캐릭터 어워드
const PktBase::CMDType CmdCharItemInfo = 0x33; // 캐릭터 아이템 정보
const PktBase::CMDType CmdCharPickUp = 0x34; // 캐릭터 집기
const PktBase::CMDType CmdCharPullDown = 0x35; // 캐릭터 떨구기
const PktBase::CMDType CmdCharPickUpInfo = 0x36; // 캐릭터 집기 정보
const PktBase::CMDType CmdCharPullDownInfo = 0x37; // 캐릭터 떨구기 정보
const PktBase::CMDType CmdCharCastObjectInfo = 0x38; // 캐릭터 던지기 오브젝트 정보
const PktBase::CMDType CmdCharInstallSocket = 0x39; // 캐릭터 아이템 소켓 설치
const PktBase::CMDType CmdCharLevelUp = 0x3A; // 캐릭터 레벨 업
const PktBase::CMDType CmdCharPartyInfo = 0x3B; // 캐릭터 파티 정보
const PktBase::CMDType CmdCharUpgradeItem = 0x3C; // 캐릭터 아이템 업그레이드
const PktBase::CMDType CmdCharHPRegen = 0x3D; // 캐릭터 HP 리젠
const PktBase::CMDType CmdCharLevelUpInfo = 0x3E; // 캐릭터 레벨업 정보
const PktBase::CMDType CmdCharSplitItem = 0x3F; // 캐릭터 스플릿 아이템(개수 있는 아이템을 두개로 쪼갤 때 쓰임)
const PktBase::CMDType CmdUpdateUIDTable = 0x40; // UID 테이블 업데이트
const PktBase::CMDType CmdCharQuickSlotMove = 0x41; // 캐릭터 퀵슬롯 이동
const PktBase::CMDType CmdCharSwitchHand = 0x42; // 손 바꾸기
const PktBase::CMDType CmdSysMngerRegistry = 0x43; // 서버 관리자 등록
const PktBase::CMDType CmdSysMngerRequest = 0x44; // 서버 관리자의 요청
const PktBase::CMDType CmdSysMngerResponse = 0x45; // 서버 관리자로 응답
const PktBase::CMDType CmdCharTakeItems = 0x46; // 캐릭터 아이템 집기(복수)
const PktBase::CMDType CmdCharTakeGold = 0x47; // 캐릭터 돈 집기
const PktBase::CMDType CmdCharExchangeItem = 0x48; // 캐릭터 아이템 교환
const PktBase::CMDType CmdCellBroadCasting = 0x49; // 셀 브로드 캐스팅
const PktBase::CMDType CmdSysPatchAddress = 0x4A; // 패치 주소
const PktBase::CMDType CmdCharPartyCmdInfo = 0x4B; // 파티 명령 정보
const PktBase::CMDType CmdServerLog = 0x4C; // 로그 정보 (???)
const PktBase::CMDType CmdCharWhisper = 0x4D; // 캐릭터 귓속말
const PktBase::CMDType CmdSysServerVerUpdate = 0x4E; // 서버 버젼 업데이트
const PktBase::CMDType CmdSysMng = 0x4F; // 서버 관리 서버, 클라이언트가 사용하는 패킷 (임시 (???)
const PktBase::CMDType CmdSysChannelUpdate = 0x50; // 서버 채널 업데이트
const PktBase::CMDType CmdCharPartyFind = 0x51; // 파티 찾기
const PktBase::CMDType CmdCharPartyMemData = 0x52; // 파티 멤버 데이터
const PktBase::CMDType CmdCharControlOption = 0x53; // 캐릭터 옵션 조정
const PktBase::CMDType CmdCharDuelCmd = 0x54; // 캐릭터 듀얼 명령
const PktBase::CMDType CmdCharFameInfo = 0x55; // 캐릭터 명성 정보
const PktBase::CMDType CmdLoginServerList = 0x56; // 서버 리스트 #!! 번호 수정 불가 !!#
const PktBase::CMDType CmdCharSpellInfo = 0x57; // 캐릭터 챈트&인챈트 정보
const PktBase::CMDType CmdCharSkillUnLock = 0x58; // 캐릭터 스킬 락 해제
const PktBase::CMDType CmdSysPing = 0x59; // 서버 핑 패킷
const PktBase::CMDType CmdCharMoveZone = 0x5A; // 존 이동
const PktBase::CMDType CmdAgentZone = 0x5B; // 존 관리
const PktBase::CMDType CmdDeposit = 0x5C; // 창고 처리 패킷(Client <--> GameServer)
const PktBase::CMDType CmdDepositUpdate = 0x5D; // 창고 업데이트 패킷(GameServer <--> DBAgent)
const PktBase::CMDType CmdCharStallOpen = 0x5E; // 캐릭터 노점상 개설
const PktBase::CMDType CmdCharStallRegisterItem = 0x5F; // 캐릭터 노점상 아이템 등록
const PktBase::CMDType CmdCharStallEnter = 0x60; // 캐릭터 노점상 입장
const PktBase::CMDType CmdCharStallItemInfo = 0x61; // 캐릭터 노점상 아이템 정보
const PktBase::CMDType CmdCharAdminCmd = 0x62; // 캐릭터 어드민
const PktBase::CMDType CmdCharTeamBattleInfo = 0x63; // 팀배틀 정보
const PktBase::CMDType CmdFriendAddRequest = 0x64; // 친구 추가
const PktBase::CMDType CmdFriendRemoveRequest = 0x65; // 친구 삭제
const PktBase::CMDType CmdFriendEtcRequest = 0x66; // 친구 기타
const PktBase::CMDType CmdFriendAck = 0x67; // 친구 Ack
const PktBase::CMDType CmdFriendDB = 0x68; // 친구 데이터(및 친구 리스트 정보)
const PktBase::CMDType CmdEliteBonus = 0x69; // 엘리트 보너스
const PktBase::CMDType CmdFinalPacketNum = 0x6A; // 마지막 패킷 번호
#endif