chunkedge_protocol/packets/play/
disconnect_s2c.rs

1use std::borrow::Cow;
2
3use chunkedge_binary::{Decode, Encode, TextComponent};
4
5use crate::Packet;
6
7#[derive(Clone, Debug, Encode, Decode, Packet)]
8pub struct DisconnectS2c<'a> {
9    pub reason: Cow<'a, TextComponent>,
10}