Skip to main content

write_spying_array

Function write_spying_array 

Source
pub fn write_spying_array(
    inputs: &WorldInputs<'_>,
    plan: &WorldPlan<'_>,
) -> Result<RecordNode>
Expand description

Writes the spying state of the factions.

§Arguments

  • inputs - Tables, startpos rows and layouts.
  • plan - Order of the factions.

§Errors

Returns an error if the layout lacks the records.