aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_move_player_rot.rs
blob: 75d851f89c23ce15e6947172ff1cc99c1bbe0e27 (plain)
1
2
3
4
5
6
7
8
9
10
11
use azalea_buf::AzBuf;
use azalea_entity::LookDirection;
use azalea_protocol_macros::ServerboundGamePacket;

use crate::common::movements::MoveFlags;

#[derive(AzBuf, Clone, Debug, PartialEq, ServerboundGamePacket)]
pub struct ServerboundMovePlayerRot {
    pub look_direction: LookDirection,
    pub flags: MoveFlags,
}