Skip to main content

chunkedge_protocol/packets/configuration/
transfer_s2c.rs

1use chunkedge_binary::{Bounded, Decode, Encode, VarInt};
2
3use crate::{Packet, PacketState};
4
5#[derive(Clone, Debug, Encode, Decode, Packet)]
6#[packet(state = PacketState::Configuration)]
7pub struct TransferS2c<'a> {
8    pub host: Bounded<&'a str, 32767>,
9    pub port: VarInt,
10}