pub struct Level {
pub seed: i32,
pub spawn_x: i32,
pub spawn_y: i32,
pub spawn_z: i32,
pub world_size: u64,
pub last_played: i32,
pub world_name: Vec<u8>,
}
Available on crate features
be
and dev-be-legacy-alpha
only.Fields§
§seed: i32
The level’s seed for generation
spawn_x: i32
The x coordinate of the world spawn
spawn_y: i32
The y coordinate of the world spawn
spawn_z: i32
The z coordinate of the world spawn
world_size: u64
Estimated world size in bits (not a verified field)
last_played: i32
32bit unix timestamp of when the world was last played
world_name: Vec<u8>
The name of the world, uses CP437 characters
Trait Implementations§
Source§impl BinaryFile for Level
impl BinaryFile for Level
Auto Trait Implementations§
impl Freeze for Level
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnwindSafe for Level
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