#![allow(
unused_imports,
unused_variables,
unused_mut,
unused_parens,
unused_braces,
clippy::all,
clippy::pedantic,
non_camel_case_types,
non_snake_case
)]
use crate::codec::{Decode, DecodeResult, Encode, EncodeResult, McWrite, Reader, decode_exact};
use crate::error::{DecodeError, EncodeError};
use crate::nbt::RawNbt;
use crate::packet::{Direction, PacketSet, RawPacket, State};
#[cfg(feature = "testgen")]
use crate::testgen::{Gen, Generate};
use crate::types::{BlockPos, ByteString, PositionLayout, Uuid};
use crate::v1_8::types;
use bytes::{BufMut, Bytes, BytesMut};
pub mod id {}
#[derive(Debug, Clone, PartialEq)]
pub enum ClientboundHandshakingPacket {}
impl PacketSet for ClientboundHandshakingPacket {
const STATE: State = State::Handshaking;
const DIRECTION: Direction = Direction::Clientbound;
fn decode_raw(raw: &RawPacket) -> DecodeResult<Self> {
match raw.id {
other => Err(DecodeError::UnknownPacketId(other)),
}
}
fn id(&self) -> i32 {
match *self {}
}
fn name(&self) -> &'static str {
match *self {}
}
fn encode_body(&self, w: &mut BytesMut) -> EncodeResult {
match *self {}
}
fn name_of(id: i32) -> Option<&'static str> {
match id {
_ => None,
}
}
}
impl ClientboundHandshakingPacket {
pub const IDS: &'static [i32] = &[];
#[cfg(feature = "testgen")]
pub fn generate_by_id(id: i32, g: &mut Gen) -> Option<Self> {
match id {
_ => None,
}
}
}