snapshot_product.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.5/snapshot_product.bend as Snapshot_product
5 imports
import Base import ./snapshot_schema.bend as Schema import ./decode_data.bend as D import ./owner_product.bend as Product import ./ordinary_schema.bend as Ordinary
Templates
template joined_components source · line 6 · raw
@-LC:Type -> @-RC:Type -> @left:LC -> @fields:List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field> -> @observed:Pair(RC, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>) -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/owner_product.Owner<LC, RC>, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)
template right_components source · line 9 · raw
@-LC:Type -> @-RC:Type -> @-right:(@_:U32 -> @_:RC -> Pair(RC, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)) -> @id:U32 -> @owner:RC -> @observed:Pair(LC, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>) -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/owner_product.Owner<LC, RC>, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)
template product_components_owned source · line 12 · raw
@-LC:Type -> @-RC:Type -> @-left:(@_:U32 -> @_:LC -> Pair(LC, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)) -> @-right:(@_:U32 -> @_:RC -> Pair(RC, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)) -> @+id:U32 -> @owner:0x2a0aaf4f2cb3f416a9b91fd887916a5d/owner_product.Owner<LC, RC> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/owner_product.Owner<LC, RC>, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)
template product_components source · line 15 · raw
@-LC:Type -> @-RC:Type -> @-left:(@_:U32 -> @_:LC -> Pair(LC, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)) -> @-right:(@_:U32 -> @_:RC -> Pair(RC, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)) -> @id:U32 -> @owner:0x2a0aaf4f2cb3f416a9b91fd887916a5d/owner_product.Owner<LC, RC> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/owner_product.Owner<LC, RC>, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)
template right_resources source · line 17 · raw
@-LR:Type -> @-RR:Type -> @-right:(@_:RR -> Pair(RR, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)) -> @owner:RR -> @observed:Pair(LR, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>) -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/owner_product.Owner<LR, RR>, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)
template product_resources source · line 20 · raw
@-LR:Type -> @-RR:Type -> @-left:(@_:LR -> Pair(LR, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)) -> @-right:(@_:RR -> Pair(RR, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)) -> @owner:0x2a0aaf4f2cb3f416a9b91fd887916a5d/owner_product.Owner<LR, RR> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/owner_product.Owner<LR, RR>, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)
template product source · line 23 · raw
@-S:Data -> @-LC:Type -> @-LR:Type -> @-RC:Type -> @-RR:Type -> @-leftEligible:Bool -> @-rightEligible:Bool -> @-leftComponents:(@_:U32 -> @_:LC -> Pair(LC, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)) -> @-leftResources:(@_:LR -> Pair(LR, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)) -> @-rightComponents:(@_:U32 -> @_:RC -> Pair(RC, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)) -> @-rightResources:(@_:RR -> Pair(RR, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Field>)) -> @left:0x2a0aaf4f2cb3f416a9b91fd887916a5d/snapshot_schema.Schema<S, LC, LR, leftEligible, leftComponents, leftResources> -> @right:0x2a0aaf4f2cb3f416a9b91fd887916a5d/snapshot_schema.Schema<S, RC, RR, rightEligible, rightComponents, rightResources> -> 0x2a0aaf4f2cb3f416a9b91fd887916a5d/snapshot_schema.Schema<S, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/owner_product.Owner<LC, RC>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/owner_product.Owner<LR, RR>, Bool.and(leftEligible, rightEligible), product_components(LC, RC, leftComponents, rightComponents), product_resources(LR, RR, leftResources, rightResources)>