pub struct EventLog {
pub entries: Vec<EventEntry>,
pub notify: [bool; 6],
pub slow_request: bool,
}Expand description
The event log: its entries and which categories notify the player.
Fields§
§entries: Vec<EventEntry>The entries.
notify: [bool; 6]Notify flags per group (old age, deaths, disasters, storage, town, other), set by the Event Log’s checkboxes. Default as in every inspected save: old-age deaths off, the rest on.
slow_request: boolSet when an event asks the game to slow down (option AutoSlow, types 11, 12, 30, 31).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventLog
impl RefUnwindSafe for EventLog
impl Send for EventLog
impl Sync for EventLog
impl Unpin for EventLog
impl UnsafeUnpin for EventLog
impl UnwindSafe for EventLog
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