[][src]Struct assembly::luz::core::ZoneFile

pub struct ZoneFile {
    pub file_version: FileVersion,
    pub file_revision: Option<u32>,
    pub world_id: WorldID,
    pub spawn_point: Option<Placement3D>,
    pub scene_refs: Vec<SceneRef>,
    pub something: String,
    pub map_filename: String,
    pub map_name: String,
    pub map_description: String,
    pub scene_transitions: Option<Vec<SceneTransition>>,
    pub path_data: Option<Vec<u8>>,
}

The data in a luz file

Fields

file_version: FileVersion

Version of this file

file_revision: Option<u32>

Revision of this file

world_id: WorldID

ID of the world described

spawn_point: Option<Placement3D>

Spawining placement of the player

scene_refs: Vec<SceneRef>

List of scenes

something: String

Unknown

map_filename: String

Relative filename of the map

map_name: String

Internal name of the map

map_description: String

Internal description of the map

scene_transitions: Option<Vec<SceneTransition>>

List of transitions

path_data: Option<Vec<u8>>

Path data

Trait Implementations

impl<T> TryFromLUZ<T> for ZoneFile where
    T: Read
[src]

type Error = LoadError

impl Debug for ZoneFile[src]

impl<'_> TryFrom<&'_ str> for ZoneFile[src]

type Error = LoadError

The type returned in the event of a conversion error.

impl TryFrom<File> for ZoneFile[src]

type Error = LoadError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl Send for ZoneFile

impl Sync for ZoneFile

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]