diff options
| author | mat <github@matdoes.dev> | 2021-12-09 22:10:45 +0000 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2021-12-09 22:10:45 +0000 |
| commit | 966471f740ea7cb19e7106000a9f3cf9d306fd32 (patch) | |
| tree | 7bec45bf72900ad6a1752ec9f7c172f385736880 /minecraft-protocol/src/packets/clientbound_status_response_packet.rs | |
| parent | ecee5e96ca2f7d00dd14f44ff0c1facd01550b65 (diff) | |
| download | azalea-drasl-966471f740ea7cb19e7106000a9f3cf9d306fd32.tar.xz | |
split mstuff
Diffstat (limited to 'minecraft-protocol/src/packets/clientbound_status_response_packet.rs')
| -rw-r--r-- | minecraft-protocol/src/packets/clientbound_status_response_packet.rs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/minecraft-protocol/src/packets/clientbound_status_response_packet.rs b/minecraft-protocol/src/packets/clientbound_status_response_packet.rs deleted file mode 100644 index ddca9b1f..00000000 --- a/minecraft-protocol/src/packets/clientbound_status_response_packet.rs +++ /dev/null @@ -1,23 +0,0 @@ -use std::hash::Hash; - -use super::Packet; - -#[derive(Hash)] -pub struct ServerboundStatusRequestPacket { - // status: ServerStatus, - status: String, -} - -// implement "Packet" for "ClientIntentionPacket" -impl Packet for ServerboundStatusRequestPacket { - fn get_id(&self) -> u32 { - 0x00 - } - - // implement "from_reader" for "ClientIntentionPacket" - fn write(&self, _buf: &mut Vec<u8>) {} - fn parse<T: tokio::io::AsyncRead + std::marker::Unpin>(&self, buf: T) -> () { - mc_buf::read_utf; - // this.status = GsonHelper.fromJson(GSON, friendlyByteBuf.readUtf(32767), ServerStatus.class); - } -} |
