CMD_XFER_INITIATE

Protocol Version 2, Protocol Version 3, Protocol Version 5, Protocol Version 6, Protocol Version 7, Protocol Version 8

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/login/cmd_xfer.wowm:1.

slogin CMD_XFER_INITIATE = 0x30 {
    String filename;
    u64 file_size;
    u8[16] file_md5;
}

Login messages have a header of 1 byte with an opcode. Some messages also have a size field but this is not considered part of the header.

Login Header

OffsetSize / EndiannessTypeNameDescription
0x001 / -uint8opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
0x01- / -Stringfilename
-8 / Littleu64file_size
-16 / -u8[16]file_md5

Examples

Example 1

Comment

Sending 1.12.1 to 1.12.2 update patch. filename must be 'Patch' otherwise client will ignore the message.

48, // opcode (48)
5, // string length
80, 97, 116, 99, 104, // filename: String
188, 9, 0, 0, 0, 0, 0, 0, // file_size: u64
17, 91, 85, 89, 127, 183, 223, 14, 134, 217, 179, 174, 90, 235, 203, 98, // file_md5: u8[16]