pub struct ClientboundPlayUpdateLight {
pub chunk_x: i32,
pub chunk_z: i32,
pub sky_light_mask: Vec<i64>,
pub block_light_mask: Vec<i64>,
pub empty_sky_light_mask: Vec<i64>,
pub empty_block_light_mask: Vec<i64>,
pub sky_light: Vec<Vec<u8>>,
pub block_light: Vec<Vec<u8>>,
}Fields§
§chunk_x: i32§chunk_z: i32§sky_light_mask: Vec<i64>§block_light_mask: Vec<i64>§empty_sky_light_mask: Vec<i64>§empty_block_light_mask: Vec<i64>§sky_light: Vec<Vec<u8>>§block_light: Vec<Vec<u8>>Implementations§
Source§impl ClientboundPlayUpdateLight
impl ClientboundPlayUpdateLight
Sourcepub const PACKET_ID: i32 = 43i32
pub const PACKET_ID: i32 = 43i32
The packet ID used by the registry to dispatch this packet.
This value is declared via #[packet(id = N)] and corresponds to
the VarInt packet ID read/written by the framing layer. The struct’s
own Encode/Decode does NOT include this ID — it only encodes the
packet’s payload fields.
Trait Implementations§
Source§impl Clone for ClientboundPlayUpdateLight
impl Clone for ClientboundPlayUpdateLight
Source§fn clone(&self) -> ClientboundPlayUpdateLight
fn clone(&self) -> ClientboundPlayUpdateLight
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClientboundPlayUpdateLight
impl Debug for ClientboundPlayUpdateLight
Source§impl Default for ClientboundPlayUpdateLight
impl Default for ClientboundPlayUpdateLight
Source§fn default() -> ClientboundPlayUpdateLight
fn default() -> ClientboundPlayUpdateLight
Returns the “default value” for a type. Read more
Source§impl Encode for ClientboundPlayUpdateLight
impl Encode for ClientboundPlayUpdateLight
Source§impl EncodedSize for ClientboundPlayUpdateLight
impl EncodedSize for ClientboundPlayUpdateLight
fn encoded_size(&self) -> usize
impl StructuralPartialEq for ClientboundPlayUpdateLight
Auto Trait Implementations§
impl Freeze for ClientboundPlayUpdateLight
impl RefUnwindSafe for ClientboundPlayUpdateLight
impl Send for ClientboundPlayUpdateLight
impl Sync for ClientboundPlayUpdateLight
impl Unpin for ClientboundPlayUpdateLight
impl UnsafeUnpin for ClientboundPlayUpdateLight
impl UnwindSafe for ClientboundPlayUpdateLight
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more