Skip to main content

steel_protocol/packets/game/
c_set_camera.rs

1use steel_macros::{ClientPacket, WriteTo};
2use steel_registry::packets::play::C_SET_CAMERA;
3
4#[derive(ClientPacket, WriteTo, Clone, Debug)]
5#[packet_id(Play = C_SET_CAMERA)]
6pub struct CSetCamera {
7    #[write(as = VarInt)]
8    pub camera_id: i32,
9}