pub struct PopulationDescription {
pub name: String,
pub cell: i32,
pub herd_block: i32,
pub habitat: u32,
pub forbidden: u32,
pub no_occupants: bool,
pub capacity: i32,
pub regrowth: i32,
pub value_44: i32,
pub refresh: bool,
pub herd: Option<String>,
}Expand description
PopulationDescription: the wildlife manager’s grid and the herds it starts.
Original: FUN_140055140.
Fields§
§name: StringThe display name.
cell: i32Map cells per population cell (a side).
herd_block: i32Map cells per herd block (a side).
habitat: u32Cell types that count as habitat.
forbidden: u32Cell types that rule a population cell out.
no_occupants: boolMap occupants rule a population cell out.
capacity: i32A habitable cell’s capacity.
regrowth: i32Regrowth per 300 s.
value_44: i32Not identified yet.
refresh: boolRecount a sixteenth of the cells every update.
herd: Option<String>The herd entity template.
Trait Implementations§
Source§impl Clone for PopulationDescription
impl Clone for PopulationDescription
Source§fn clone(&self) -> PopulationDescription
fn clone(&self) -> PopulationDescription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PopulationDescription
impl Debug for PopulationDescription
impl Eq for PopulationDescription
Source§impl PartialEq for PopulationDescription
impl PartialEq for PopulationDescription
impl StructuralPartialEq for PopulationDescription
Auto Trait Implementations§
impl Freeze for PopulationDescription
impl RefUnwindSafe for PopulationDescription
impl Send for PopulationDescription
impl Sync for PopulationDescription
impl Unpin for PopulationDescription
impl UnsafeUnpin for PopulationDescription
impl UnwindSafe for PopulationDescription
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