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

OffsetSize / EndiannessTypeNameComment
0x004 / -MovementFlagsflags
0x044 / Littleu32timestamp
0x0812 / -Vector3dposition
0x144 / Littlef32orientation

If flags contains ON_TRANSPORT:

OffsetSize / EndiannessTypeNameComment
0x18- / -TransportInfotransport

If flags contains SWIMMING:

OffsetSize / EndiannessTypeNameComment
-4 / Littlef32pitch
-4 / Littlef32fall_time

If flags contains JUMPING:

OffsetSize / EndiannessTypeNameComment
-4 / Littlef32z_speed
-4 / Littlef32cos_angle
-4 / Littlef32sin_angle
-4 / Littlef32xy_speed

If flags contains SPLINE_ELEVATION:

OffsetSize / EndiannessTypeNameComment
-4 / Littlef32spline_elevation

Used in:

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

OffsetSize / EndiannessTypeNameComment
0x004 / -MovementFlagsflags
0x041 / -u8extra_flags
0x054 / Littleu32timestamp
0x0912 / -Vector3dposition
0x154 / Littlef32orientation

If flags contains ON_TRANSPORT:

OffsetSize / EndiannessTypeNameComment
0x19- / -TransportInfotransport

If flags contains SWIMMING:

OffsetSize / EndiannessTypeNameComment
-4 / Littlef32pitch1

Else If flags contains ONTRANSPORT:

OffsetSize / EndiannessTypeNameComment
-4 / Littlef32pitch2
-4 / Littlef32fall_time

If flags contains JUMPING:

OffsetSize / EndiannessTypeNameComment
-4 / Littlef32z_speed
-4 / Littlef32cos_angle
-4 / Littlef32sin_angle
-4 / Littlef32xy_speed

If flags contains SPLINE_ELEVATION:

OffsetSize / EndiannessTypeNameComment
-4 / Littlef32spline_elevation

Used in:

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

OffsetSize / EndiannessTypeNameComment
0x006 / -MovementFlagsflags
0x064 / Littleu32timestamp
0x0A12 / -Vector3dposition
0x164 / Littlef32orientation

If flags contains ON_TRANSPORT_AND_INTERPOLATED_MOVEMENT:

OffsetSize / EndiannessTypeNameComment
0x1A- / -TransportInfotransport_info
-4 / Littleu32transport_time

Else If flags contains ON_TRANSPORT:

OffsetSize / EndiannessTypeNameComment
-- / -TransportInfotransport

If flags contains SWIMMING:

OffsetSize / EndiannessTypeNameComment
-4 / Littlef32pitch1

Else If flags contains FLYING:

OffsetSize / EndiannessTypeNameComment
-4 / Littlef32pitch2

Else If flags contains ALWAYS_ALLOW_PITCHING:

OffsetSize / EndiannessTypeNameComment
-4 / Littlef32pitch3
-4 / Littlef32fall_time

If flags contains FALLING:

OffsetSize / EndiannessTypeNameComment
-4 / Littlef32z_speed
-4 / Littlef32cos_angle
-4 / Littlef32sin_angle
-4 / Littlef32xy_speed

If flags contains SPLINE_ELEVATION:

OffsetSize / EndiannessTypeNameComment
-4 / Littlef32spline_elevation

Used in: