aboutsummaryrefslogtreecommitdiff
path: root/minecraft-protocol/src/packets/serverbound_status_request_packet.rs
blob: ab9001f42cf8b723d26314bd0ced112bacc252b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::hash::Hash;

use super::Packet;

#[derive(Hash)]
pub struct ServerboundStatusRequestPacket {}

// 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) -> () {}
}