diff options
| author | mat <github@matdoes.dev> | 2022-05-07 11:22:03 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-05-07 11:22:03 -0500 |
| commit | 79bf5771303c70115cba09ac55c7b7a2d3e32091 (patch) | |
| tree | db0b42f593cc45ca0a4f82f73a8bf8a116d3c693 /azalea-protocol/src/packets/game/clientbound_add_player_packet.rs | |
| parent | 34058b25283947137216964462a1370d08010066 (diff) | |
| download | azalea-drasl-79bf5771303c70115cba09ac55c7b7a2d3e32091.tar.xz | |
clientbound add player packet
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_add_player_packet.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/clientbound_add_player_packet.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_add_player_packet.rs b/azalea-protocol/src/packets/game/clientbound_add_player_packet.rs new file mode 100644 index 00000000..9fe086cb --- /dev/null +++ b/azalea-protocol/src/packets/game/clientbound_add_player_packet.rs @@ -0,0 +1,14 @@ +use packet_macros::GamePacket; +use uuid::Uuid; + +#[derive(Clone, Debug, GamePacket)] +pub struct ClientboundAddPlayerPacket { + #[varint] + pub id: i32, + pub uuid: Uuid, + pub x: f64, + pub y: f64, + pub z: f64, + pub x_rot: i8, + pub y_rot: i8, +} |
