pub struct S2Unit {}Expand description
Unit record (source e_save_map.bb lines 166–182). NOTE: unit sub-data (states, items, scripts) is NOT stored inline in the unit section; it’s stored as Extensions.
Fields§
§id: u32§typ: u32§x: f32§y: f32§z: f32§yaw: f32§health: f32§health_max: f32§hunger: f32§thirst: f32§exhaustion: f32§ai_center_x: f32§ai_center_z: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for S2Unit
impl RefUnwindSafe for S2Unit
impl Send for S2Unit
impl Sync for S2Unit
impl Unpin for S2Unit
impl UnsafeUnpin for S2Unit
impl UnwindSafe for S2Unit
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