def relations_checked

bendvy-ecs-core@0.1.0.4 · restore_graph_raw.bend:77

import bendvy-ecs-core@0.1.0.4/restore_graph_raw.bend as RestoreGraphRaw
import Base
import bendvy-ecs-core@0.1.0.4/decode_data.bend as D
import bendvy-ecs-core@0.1.0.4/snapshot_data.bend as Snapshot
import bendvy-ecs-core@0.1.0.4/restore_raw.bend as Basic
import bendvy-ecs-core@0.1.0.4/restore_graph_data.bend as Graph

77def relations_checked(next:U32,entities:List<&2,Snapshot.Entity>,+fields:List<&2,D.Field>,result:Basic.Decoded<List<&2,Graph.Relation>>) -> Basic.Decoded<Graph.Snapshot>:
78  match result:
79    case Basic.Value{values}:resources(next,entities,values,fields,D.field("resources",fields))
80    case Basic.Failed{error}:Basic.Failed{error}

Uses (9)

Used by (1)