Struct lu_formats::files::luz::SpawnerData
source · pub struct SpawnerData {
pub spawned_lot: Lot,
pub respawn_time: u32,
pub max_to_spawn: i32,
pub num_to_maintain: u32,
pub object_id: ObjectId,
pub activate_on_load: Option<Bool>,
}
Expand description
Struct spawner_data
Parser: parse_spawner_data
Maybe parents
Depends on
_parent: {
"version": ObligationTree {
local: false,
inner: {},
},
}
Fields§
§spawned_lot: Lot
§respawn_time: u32
§max_to_spawn: i32
§num_to_maintain: u32
§object_id: ObjectId
§activate_on_load: Option<Bool>
If: _parent.version >= 9
Trait Implementations§
source§impl Clone for SpawnerData
impl Clone for SpawnerData
source§fn clone(&self) -> SpawnerData
fn clone(&self) -> SpawnerData
Returns a copy 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 SpawnerData
impl Debug for SpawnerData
source§impl<'de> Deserialize<'de> for SpawnerData
impl<'de> Deserialize<'de> for SpawnerData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<SpawnerData> for SpawnerData
impl PartialEq<SpawnerData> for SpawnerData
source§fn eq(&self, other: &SpawnerData) -> bool
fn eq(&self, other: &SpawnerData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SpawnerData
impl Serialize for SpawnerData
impl IPathData for SpawnerData
impl StructuralPartialEq for SpawnerData
Auto Trait Implementations§
impl RefUnwindSafe for SpawnerData
impl Send for SpawnerData
impl Sync for SpawnerData
impl Unpin for SpawnerData
impl UnwindSafe for SpawnerData
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