|
|
@ -12,6 +12,6 @@ MoveMessage::MoveMessage(byte* rawMessage) : PixelMessage(rawMessage) |
|
|
|
// The position of the start of the message body
|
|
|
|
void* messageBodyStart = static_cast<void*>(rawMessage + PixelMessage::MESSAGE_HEADER_LENGTH); |
|
|
|
|
|
|
|
byte MovementType = *(static_cast<byte*>(messageBodyStart)); |
|
|
|
unsigned short TickCount = *(static_cast<unsigned short*>(messageBodyStart + 1)); |
|
|
|
MovementType = *(static_cast<byte*>(messageBodyStart)); |
|
|
|
TickCount = *(static_cast<unsigned short*>(messageBodyStart + 1)); |
|
|
|
} |