package udp const ( // Protocol opcodes OpSessionRequest = 0x01 OpSessionResponse = 0x02 OpCombined = 0x03 OpSessionDisconnect = 0x05 OpKeepAlive = 0x06 OpServerKeyRequest = 0x07 OpSessionStatResponse = 0x08 OpPacket = 0x09 OpFragment = 0x0D OpOutOfOrderAck = 0x11 OpAck = 0x15 OpAppCombined = 0x19 OpOutOfSession = 0x1D ) // Application opcodes (examples) const ( OpLoginRequestMsg = 0x0001 OpLoginReplyMsg = 0x0002 OpAllCharactersDescRequestMsg = 0x0003 OpAllCharactersDescReplyMsg = 0x0004 OpCreateCharacterRequestMsg = 0x0005 OpCreateCharacterReplyMsg = 0x0006 )