aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_move_player_rot.rs
blob: d158af8ccd04f505d71d854567831c42e0a52506 (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(Clone, Debug, AzBuf, ServerboundGamePacket)]
pub struct ServerboundMovePlayerRot {
    pub look_direction: LookDirection,
    pub flags: MoveFlags,
}