Files
Pumpkin/pumpkin-protocol/src/server/play/mod.rs
2024-08-03 13:25:28 +02:00

16 lines
317 B
Rust

use crate::{ServerPacket, VarInt};
pub struct SConfirmTeleport {
teleport_id: VarInt,
}
impl ServerPacket for SConfirmTeleport {
const PACKET_ID: VarInt = 0x00;
fn read(bytebuf: &mut crate::bytebuf::ByteBuffer) -> Self {
Self {
teleport_id: bytebuf.get_var_int(),
}
}
}