mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
17 lines
365 B
Rust
17 lines
365 B
Rust
use pumpkin_macros::packet;
|
|
|
|
use crate::VarInt;
|
|
|
|
#[derive(serde::Deserialize)]
|
|
#[packet(0x0A)]
|
|
pub struct SClientInformationPlay {
|
|
pub locale: String, // 16
|
|
pub view_distance: i8,
|
|
pub chat_mode: VarInt, // Varint
|
|
pub chat_colors: bool,
|
|
pub skin_parts: u8,
|
|
pub main_hand: VarInt,
|
|
pub text_filtering: bool,
|
|
pub server_listing: bool,
|
|
}
|