Skip to main content

write_world_with_plan

Function write_world_with_plan 

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

Writes the WORLD record of a campaign with a given plan.

§Arguments

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

§Errors

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