use crate::{ServerPacket, ser::ReadingError}; use pumpkin_data::packet::serverbound::STATUS_STATUS_REQUEST; use pumpkin_macros::java_packet; use pumpkin_util::version::JavaMinecraftVersion; /// Sent by the client to request the server's current status information. /// /// This is the first packet sent during the "Status" state. /// The server should respond with `CStatusResponse`. #[java_packet(STATUS_STATUS_REQUEST)] pub struct SStatusRequest; impl<'a> ServerPacket<'a> for SStatusRequest { fn read( _bytebuf: &mut &'a [u8], _protocol_version: &JavaMinecraftVersion, ) -> Result { Ok(Self) } }