chunkedge_protocol/packets/play/
set_passengers_s2c.rs

1use std::borrow::Cow;
2
3use chunkedge_binary::{Decode, Encode, VarInt};
4
5use crate::Packet;
6#[derive(Clone, Debug, Encode, Decode, Packet)]
7pub struct SetPassengersS2c<'a> {
8    /// Vehicle's entity id
9    pub entity_id: VarInt,
10    pub passengers: Cow<'a, [VarInt]>,
11}