def entities_checked

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

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

85def entities_checked(next:U32,+fields:List<&2,D.Field>,result:Basic.Decoded<List<&2,Snapshot.Entity>>) -> Basic.Decoded<Graph.Snapshot>:
86  match result:
87    case Basic.Value{values}:relation_object(next,values,fields,D.field("relations",fields))
88    case Basic.Failed{error}:Basic.Failed{error}

Uses (8)

Used by (1)