2.3 Message Syntax
All CHATDATA structures defined in section 2.3.1 and 2.3.2 begin with a ChatMessageType defining the type of message.
Note All unsigned 16-bit and unsigned 32-bit values are specified in little-endian format. Depending on the hardware architectures of the client and the server, multiple-byte little-endian versus big-endian reordering can determine how this variable is marshaled by the sender and interpreted by the receiver.