pub struct ClimateGenerator {
pub string_table: Option<String>,
pub name: String,
pub enabled: bool,
pub settings: [f32; 4],
pub monthly_thresholds: [[f32; 4]; 12],
pub trailing_settings: [f32; 3],
}Expand description
ClimateGenerator: monthly weather thresholds used by the environment loop.
Original: FUN_140098470.
Fields§
§string_table: Option<String>The string table.
name: StringThe name’s key.
enabled: boolWhether it is listed in the New Game dialog (inferred, as in ClimateHeader).
settings: [f32; 4]Four climate settings (not identified yet).
monthly_thresholds: [[f32; 4]; 12]Four values for each month; the weather selector reads the first three as limits.
trailing_settings: [f32; 3]Three more climate settings (not identified yet).
Trait Implementations§
Source§impl Clone for ClimateGenerator
impl Clone for ClimateGenerator
Source§fn clone(&self) -> ClimateGenerator
fn clone(&self) -> ClimateGenerator
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 moreAuto Trait Implementations§
impl Freeze for ClimateGenerator
impl RefUnwindSafe for ClimateGenerator
impl Send for ClimateGenerator
impl Sync for ClimateGenerator
impl Unpin for ClimateGenerator
impl UnsafeUnpin for ClimateGenerator
impl UnwindSafe for ClimateGenerator
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