aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_add_player_packet.rs
blob: f1947d092e4988c1333190a48d9d61ad6698d7ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use packet_macros::{GamePacket, McBuf};
use uuid::Uuid;

#[derive(Clone, Debug, McBuf, GamePacket)]
pub struct ClientboundAddPlayerPacket {
    #[var]
    pub id: i32,
    pub uuid: Uuid,
    pub x: f64,
    pub y: f64,
    pub z: f64,
    pub x_rot: i8,
    pub y_rot: i8,
}