Skip to main content

write_startpos

Function write_startpos 

Source
pub fn write_startpos<'a>(
    inputs: &StartposInputs<'a>,
    plan: &WorldPlan<'a>,
) -> Result<ESF>
Expand description

Writes the startpos of a campaign.

§Arguments

  • inputs - Tables, startpos rows, layouts and map data.
  • plan - Order and runtime ids of the world’s objects.

§Errors

Returns an error if a table, column or layout is missing.