bundle_component_install.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.6/bundle_component_install.bend as Bundle_component_install
8 imports
import Base import ./change_tick.bend as Tick import entity_key.bend as Key import world.bend as W import component.bend as C import column.bend as Col import lifecycle.bend as L import bundle_install.bend as F
Types
type Entry source · line 10 · raw
@S:Data -> @Owner:Type -> Type
Entry@S:Data -> @Owner:Type -> @handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @owner:Maybe<&1, Owner> -> Entry<S, Owner>
type Recovery source · line 12 · raw
@S:Data -> @Owner:Type -> Type
Recovery@S:Data -> @Owner:Type -> @previous:Entry<S, Owner> -> @stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> Recovery<S, Owner>
Templates
template undone source · line 14 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @+stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/component.Swap<C>) -> 0x14a72e1c180a5ab1f8a056d43822425c/bundle_install.Restore<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Entry<S, C>, Recovery<S, C>>
template undo_present source · line 18 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @+id:U32 -> @stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> @observed:Pair(Maybe<&1, C>, Bool) -> 0x14a72e1c180a5ab1f8a056d43822425c/bundle_install.Restore<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Entry<S, C>, Recovery<S, C>>
template undo_checked source · line 21 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @+id:U32 -> @stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> @previous:Maybe<&1, C> -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Bool) -> 0x14a72e1c180a5ab1f8a056d43822425c/bundle_install.Restore<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Entry<S, C>, Recovery<S, C>>
template undo source · line 25 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @recovery:Recovery<S, C> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> 0x14a72e1c180a5ab1f8a056d43822425c/bundle_install.Restore<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Entry<S, C>, Recovery<S, C>>
template replaced source · line 28 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @+stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> @result:0x14a72e1c180a5ab1f8a056d43822425c/component.Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C> -> 0x14a72e1c180a5ab1f8a056d43822425c/bundle_install.Attempt<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Entry<S, C>, Recovery<S, C>>
template stamped source · line 32 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:0x14a72e1c180a5ab1f8a056d43822425c/component.Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @incoming:Maybe<&1, C> -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp) -> 0x14a72e1c180a5ab1f8a056d43822425c/bundle_install.Attempt<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Entry<S, C>, Recovery<S, C>>
template install source · line 35 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:0x14a72e1c180a5ab1f8a056d43822425c/component.Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> @entry:Entry<S, C> -> 0x14a72e1c180a5ab1f8a056d43822425c/bundle_install.Attempt<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Entry<S, C>, Recovery<S, C>>