MovementInfo
Client Version 1.12
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/movement/common_movement.wowm:40
.
struct MovementInfo {
MovementFlags flags;
u32 timestamp;
Vector3d position;
f32 orientation;
if (flags & ON_TRANSPORT) {
TransportInfo transport;
}
if (flags & SWIMMING) {
f32 pitch;
}
f32 fall_time;
if (flags & JUMPING) {
f32 z_speed;
f32 cos_angle;
f32 sin_angle;
f32 xy_speed;
}
if (flags & SPLINE_ELEVATION) {
f32 spline_elevation;
}
}
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x00 | 4 / - | MovementFlags | flags | |
0x04 | 4 / Little | u32 | timestamp | |
0x08 | 12 / - | Vector3d | position | |
0x14 | 4 / Little | f32 | orientation |
If flags contains ON_TRANSPORT
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x18 | - / - | TransportInfo | transport |
If flags contains SWIMMING
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | f32 | pitch | |
- | 4 / Little | f32 | fall_time |
If flags contains JUMPING
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | f32 | z_speed | |
- | 4 / Little | f32 | cos_angle | |
- | 4 / Little | f32 | sin_angle | |
- | 4 / Little | f32 | xy_speed |
If flags contains SPLINE_ELEVATION
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | f32 | spline_elevation |
Used in:
- CMSG_FORCE_MOVE_ROOT_ACK
- CMSG_FORCE_MOVE_UNROOT_ACK
- CMSG_FORCE_RUN_BACK_SPEED_CHANGE_ACK
- CMSG_FORCE_RUN_SPEED_CHANGE_ACK
- CMSG_FORCE_SWIM_BACK_SPEED_CHANGE_ACK
- CMSG_FORCE_SWIM_SPEED_CHANGE_ACK
- CMSG_FORCE_TURN_RATE_CHANGE_ACK
- CMSG_FORCE_WALK_SPEED_CHANGE_ACK
- CMSG_MOVE_FALL_RESET
- CMSG_MOVE_FEATHER_FALL_ACK
- CMSG_MOVE_HOVER_ACK
- CMSG_MOVE_KNOCK_BACK_ACK
- CMSG_MOVE_NOT_ACTIVE_MOVER
- CMSG_MOVE_SPLINE_DONE
- CMSG_MOVE_WATER_WALK_ACK
- MSG_MOVE_FALL_LAND_Client
- MSG_MOVE_FALL_LAND_Server
- MSG_MOVE_FEATHER_FALL_Server
- MSG_MOVE_HEARTBEAT_Client
- MSG_MOVE_HEARTBEAT_Server
- MSG_MOVE_JUMP_Client
- MSG_MOVE_JUMP_Server
- MSG_MOVE_SET_FACING_Client
- MSG_MOVE_SET_FACING_Server
- MSG_MOVE_SET_PITCH_Client
- MSG_MOVE_SET_PITCH_Server
- MSG_MOVE_SET_RUN_MODE_Client
- MSG_MOVE_SET_RUN_MODE_Server
- MSG_MOVE_SET_WALK_MODE_Client
- MSG_MOVE_SET_WALK_MODE_Server
- MSG_MOVE_START_BACKWARD_Client
- MSG_MOVE_START_BACKWARD_Server
- MSG_MOVE_START_FORWARD_Client
- MSG_MOVE_START_FORWARD_Server
- MSG_MOVE_START_PITCH_DOWN_Client
- MSG_MOVE_START_PITCH_DOWN_Server
- MSG_MOVE_START_PITCH_UP_Client
- MSG_MOVE_START_PITCH_UP_Server
- MSG_MOVE_START_STRAFE_LEFT_Client
- MSG_MOVE_START_STRAFE_LEFT_Server
- MSG_MOVE_START_STRAFE_RIGHT_Client
- MSG_MOVE_START_STRAFE_RIGHT_Server
- MSG_MOVE_START_SWIM_Client
- MSG_MOVE_START_SWIM_Server
- MSG_MOVE_START_TURN_LEFT_Client
- MSG_MOVE_START_TURN_LEFT_Server
- MSG_MOVE_START_TURN_RIGHT_Client
- MSG_MOVE_START_TURN_RIGHT_Server
- MSG_MOVE_STOP_Client
- MSG_MOVE_STOP_PITCH_Client
- MSG_MOVE_STOP_PITCH_Server
- MSG_MOVE_STOP_STRAFE_Client
- MSG_MOVE_STOP_STRAFE_Server
- MSG_MOVE_STOP_SWIM_Client
- MSG_MOVE_STOP_SWIM_Server
- MSG_MOVE_STOP_Server
- MSG_MOVE_STOP_TURN_Client
- MSG_MOVE_STOP_TURN_Server
- MSG_MOVE_TELEPORT_ACK_Server
- MSG_MOVE_WATER_WALK
Client Version 2.4.3
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/movement/common_movement_2_4_3.wowm:32
.
struct MovementInfo {
MovementFlags flags;
u8 extra_flags;
u32 timestamp;
Vector3d position;
f32 orientation;
if (flags & ON_TRANSPORT) {
TransportInfo transport;
}
if (flags & SWIMMING) {
f32 pitch1;
}
else if (flags & ONTRANSPORT) {
f32 pitch2;
}
f32 fall_time;
if (flags & JUMPING) {
f32 z_speed;
f32 cos_angle;
f32 sin_angle;
f32 xy_speed;
}
if (flags & SPLINE_ELEVATION) {
f32 spline_elevation;
}
}
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x00 | 4 / - | MovementFlags | flags | |
0x04 | 1 / - | u8 | extra_flags | |
0x05 | 4 / Little | u32 | timestamp | |
0x09 | 12 / - | Vector3d | position | |
0x15 | 4 / Little | f32 | orientation |
If flags contains ON_TRANSPORT
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x19 | - / - | TransportInfo | transport |
If flags contains SWIMMING
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | f32 | pitch1 |
Else If flags contains ONTRANSPORT
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | f32 | pitch2 | |
- | 4 / Little | f32 | fall_time |
If flags contains JUMPING
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | f32 | z_speed | |
- | 4 / Little | f32 | cos_angle | |
- | 4 / Little | f32 | sin_angle | |
- | 4 / Little | f32 | xy_speed |
If flags contains SPLINE_ELEVATION
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | f32 | spline_elevation |
Used in:
- CMSG_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK
- CMSG_FORCE_FLIGHT_SPEED_CHANGE_ACK
- CMSG_FORCE_MOVE_ROOT_ACK
- CMSG_FORCE_MOVE_UNROOT_ACK
- CMSG_FORCE_RUN_BACK_SPEED_CHANGE_ACK
- CMSG_FORCE_RUN_SPEED_CHANGE_ACK
- CMSG_FORCE_SWIM_BACK_SPEED_CHANGE_ACK
- CMSG_FORCE_SWIM_SPEED_CHANGE_ACK
- CMSG_FORCE_TURN_RATE_CHANGE_ACK
- CMSG_FORCE_WALK_SPEED_CHANGE_ACK
- CMSG_MOVE_CHNG_TRANSPORT
- CMSG_MOVE_FALL_RESET
- CMSG_MOVE_FEATHER_FALL_ACK
- CMSG_MOVE_HOVER_ACK
- CMSG_MOVE_KNOCK_BACK_ACK
- CMSG_MOVE_NOT_ACTIVE_MOVER
- CMSG_MOVE_SET_CAN_FLY_ACK
- CMSG_MOVE_SET_FLY
- CMSG_MOVE_SPLINE_DONE
- CMSG_MOVE_WATER_WALK_ACK
- MSG_MOVE_FALL_LAND_Client
- MSG_MOVE_FALL_LAND_Server
- MSG_MOVE_FEATHER_FALL_Server
- MSG_MOVE_HEARTBEAT_Client
- MSG_MOVE_HEARTBEAT_Server
- MSG_MOVE_HOVER
- MSG_MOVE_JUMP_Client
- MSG_MOVE_JUMP_Server
- MSG_MOVE_KNOCK_BACK_Server
- MSG_MOVE_ROOT_Server
- MSG_MOVE_SET_FACING_Client
- MSG_MOVE_SET_FACING_Server
- MSG_MOVE_SET_FLIGHT_BACK_SPEED
- MSG_MOVE_SET_FLIGHT_SPEED_Server
- MSG_MOVE_SET_PITCH_Client
- MSG_MOVE_SET_PITCH_Server
- MSG_MOVE_SET_RUN_MODE_Client
- MSG_MOVE_SET_RUN_MODE_Server
- MSG_MOVE_SET_WALK_MODE_Client
- MSG_MOVE_SET_WALK_MODE_Server
- MSG_MOVE_START_ASCEND_Client
- MSG_MOVE_START_ASCEND_Server
- MSG_MOVE_START_BACKWARD_Client
- MSG_MOVE_START_BACKWARD_Server
- MSG_MOVE_START_DESCEND_Client
- MSG_MOVE_START_DESCEND_Server
- MSG_MOVE_START_FORWARD_Client
- MSG_MOVE_START_FORWARD_Server
- MSG_MOVE_START_PITCH_DOWN_Client
- MSG_MOVE_START_PITCH_DOWN_Server
- MSG_MOVE_START_PITCH_UP_Client
- MSG_MOVE_START_PITCH_UP_Server
- MSG_MOVE_START_STRAFE_LEFT_Client
- MSG_MOVE_START_STRAFE_LEFT_Server
- MSG_MOVE_START_STRAFE_RIGHT_Client
- MSG_MOVE_START_STRAFE_RIGHT_Server
- MSG_MOVE_START_SWIM_Client
- MSG_MOVE_START_SWIM_Server
- MSG_MOVE_START_TURN_LEFT_Client
- MSG_MOVE_START_TURN_LEFT_Server
- MSG_MOVE_START_TURN_RIGHT_Client
- MSG_MOVE_START_TURN_RIGHT_Server
- MSG_MOVE_STOP_ASCEND_Client
- MSG_MOVE_STOP_ASCEND_Server
- MSG_MOVE_STOP_Client
- MSG_MOVE_STOP_PITCH_Client
- MSG_MOVE_STOP_PITCH_Server
- MSG_MOVE_STOP_STRAFE_Client
- MSG_MOVE_STOP_STRAFE_Server
- MSG_MOVE_STOP_SWIM_Client
- MSG_MOVE_STOP_SWIM_Server
- MSG_MOVE_STOP_Server
- MSG_MOVE_STOP_TURN_Client
- MSG_MOVE_STOP_TURN_Server
- MSG_MOVE_TELEPORT_ACK_Server
- MSG_MOVE_TELEPORT_Server
- MSG_MOVE_UNROOT_Server
- MSG_MOVE_UPDATE_CAN_FLY_Server
- MSG_MOVE_WATER_WALK
Client Version 3.3.5
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/movement/common_movement_3_3_5.wowm:79
.
struct MovementInfo {
MovementFlags flags;
u32 timestamp;
Vector3d position;
f32 orientation;
if (flags & ON_TRANSPORT_AND_INTERPOLATED_MOVEMENT) {
TransportInfo transport_info;
u32 transport_time;
}
else if (flags & ON_TRANSPORT) {
TransportInfo transport;
}
if (flags & SWIMMING) {
f32 pitch1;
}
else if (flags & FLYING) {
f32 pitch2;
}
else if (flags & ALWAYS_ALLOW_PITCHING) {
f32 pitch3;
}
f32 fall_time;
if (flags & FALLING) {
f32 z_speed;
f32 cos_angle;
f32 sin_angle;
f32 xy_speed;
}
if (flags & SPLINE_ELEVATION) {
f32 spline_elevation;
}
}
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x00 | 6 / - | MovementFlags | flags | |
0x06 | 4 / Little | u32 | timestamp | |
0x0A | 12 / - | Vector3d | position | |
0x16 | 4 / Little | f32 | orientation |
If flags contains ON_TRANSPORT_AND_INTERPOLATED_MOVEMENT
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x1A | - / - | TransportInfo | transport_info | |
- | 4 / Little | u32 | transport_time |
Else If flags contains ON_TRANSPORT
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | TransportInfo | transport |
If flags contains SWIMMING
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | f32 | pitch1 |
Else If flags contains FLYING
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | f32 | pitch2 |
Else If flags contains ALWAYS_ALLOW_PITCHING
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | f32 | pitch3 | |
- | 4 / Little | f32 | fall_time |
If flags contains FALLING
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | f32 | z_speed | |
- | 4 / Little | f32 | cos_angle | |
- | 4 / Little | f32 | sin_angle | |
- | 4 / Little | f32 | xy_speed |
If flags contains SPLINE_ELEVATION
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 4 / Little | f32 | spline_elevation |
Used in:
- CMSG_CAST_SPELL
- CMSG_CHANGE_SEATS_ON_CONTROLLED_VEHICLE
- CMSG_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK
- CMSG_FORCE_FLIGHT_SPEED_CHANGE_ACK
- CMSG_FORCE_MOVE_ROOT_ACK
- CMSG_FORCE_MOVE_UNROOT_ACK
- CMSG_FORCE_RUN_BACK_SPEED_CHANGE_ACK
- CMSG_FORCE_RUN_SPEED_CHANGE_ACK
- CMSG_FORCE_SWIM_BACK_SPEED_CHANGE_ACK
- CMSG_FORCE_SWIM_SPEED_CHANGE_ACK
- CMSG_FORCE_TURN_RATE_CHANGE_ACK
- CMSG_FORCE_WALK_SPEED_CHANGE_ACK
- CMSG_MOVE_CHNG_TRANSPORT
- CMSG_MOVE_FALL_RESET
- CMSG_MOVE_FEATHER_FALL_ACK
- CMSG_MOVE_GRAVITY_DISABLE_ACK
- CMSG_MOVE_GRAVITY_ENABLE_ACK
- CMSG_MOVE_HOVER_ACK
- CMSG_MOVE_KNOCK_BACK_ACK
- CMSG_MOVE_NOT_ACTIVE_MOVER
- CMSG_MOVE_SET_CAN_FLY_ACK
- CMSG_MOVE_SET_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY_ACK
- CMSG_MOVE_SET_COLLISION_HGT_ACK
- CMSG_MOVE_SET_FLY
- CMSG_MOVE_SPLINE_DONE
- CMSG_MOVE_WATER_WALK_ACK
- CMSG_PET_CAST_SPELL
- CMSG_USE_ITEM
- MSG_MOVE_FALL_LAND
- MSG_MOVE_FEATHER_FALL_Server
- MSG_MOVE_GRAVITY_CHNG_Server
- MSG_MOVE_HEARTBEAT
- MSG_MOVE_HOVER
- MSG_MOVE_JUMP
- MSG_MOVE_KNOCK_BACK_Server
- MSG_MOVE_ROOT_Server
- MSG_MOVE_SET_FACING
- MSG_MOVE_SET_FLIGHT_BACK_SPEED
- MSG_MOVE_SET_FLIGHT_SPEED_Server
- MSG_MOVE_SET_PITCH
- MSG_MOVE_SET_PITCH_RATE_Server
- MSG_MOVE_SET_RUN_MODE
- MSG_MOVE_SET_WALK_MODE
- MSG_MOVE_START_ASCEND
- MSG_MOVE_START_BACKWARD
- MSG_MOVE_START_DESCEND
- MSG_MOVE_START_FORWARD
- MSG_MOVE_START_PITCH_DOWN
- MSG_MOVE_START_PITCH_UP
- MSG_MOVE_START_STRAFE_LEFT
- MSG_MOVE_START_STRAFE_RIGHT
- MSG_MOVE_START_SWIM
- MSG_MOVE_START_TURN_LEFT
- MSG_MOVE_START_TURN_RIGHT
- MSG_MOVE_STOP
- MSG_MOVE_STOP_ASCEND
- MSG_MOVE_STOP_PITCH
- MSG_MOVE_STOP_STRAFE
- MSG_MOVE_STOP_SWIM
- MSG_MOVE_STOP_TURN
- MSG_MOVE_TELEPORT_ACK_Server
- MSG_MOVE_TELEPORT_Server
- MSG_MOVE_UNROOT_Server
- MSG_MOVE_UPDATE_CAN_FLY_Server
- MSG_MOVE_WATER_WALK