Skip to main content

run

Function run 

Source
pub fn run(
    host: &mut impl Callbacks,
    jobs: &mut Jobs,
    site: usize,
    scheduled: bool,
    update: bool,
)
Expand description

Run a building’s state machine for one visit: handle the pending state change, then the scheduled or per-iteration update of the current state.

Original: FUN_1400aeb30(machine, time, scheduled, update).