// Copyright (C) 2007-2025 EQ2EMulator // Licensed under GPL v3 #ifndef _OP_CODES_H #define _OP_CODES_H static const char OP_SessionRequest = 0x01; static const char OP_SessionResponse = 0x02; static const char OP_Combined = 0x03; static const char OP_SessionDisconnect = 0x05; static const char OP_KeepAlive = 0x06; static const char OP_ServerKeyRequest = 0x07; static const char OP_SessionStatResponse= 0x08; static const char OP_Packet = 0x09; static const char OP_Fragment = 0x0d; static const char OP_OutOfOrderAck = 0x11; static const char OP_Ack = 0x15; static const char OP_AppCombined = 0x19; static const char OP_OutOfSession = 0x1d; #if defined(LOGIN) || defined(CHAT) #define APP_OPCODE_SIZE 1 #else #define APP_OPCODE_SIZE 2 #endif #endif