registration.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.2/registration.bend as Registration
2 imports
import Base import ./world.bend as W
Definitions
def retained source · line 6 · raw
@keep:Bool -> @meta:0xb2b0f04555daca474f0f77d0966945c9/world.RegistrationMeta -> @rest:List<&2, 0xb2b0f04555daca474f0f77d0966945c9/world.RegistrationMeta> -> List<&2, 0xb2b0f04555daca474f0f77d0966945c9/world.RegistrationMeta>
Remove exact registration identity, preserving every other system instance. IDs are monotonic and are not recycled by disposal.
def without source · line 11 · raw
@registrations:List<&2, 0xb2b0f04555daca474f0f77d0966945c9/world.RegistrationMeta> -> @+id:U32 -> @+name:String -> @+access:List<&2, String> -> List<&2, 0xb2b0f04555daca474f0f77d0966945c9/world.RegistrationMeta>
Templates
template remove_checked source · line 16 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @allowed:Bool -> @world:0xb2b0f04555daca474f0f77d0966945c9/world.World<S, Store, R, E> -> @+id:U32 -> @+name:String -> @+access:List<&2, String> -> Pair(0xb2b0f04555daca474f0f77d0966945c9/world.World<S, Store, R, E>, Bool)
template remove source · line 21 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @world:0xb2b0f04555daca474f0f77d0966945c9/world.World<S, Store, R, E> -> @namespace:U32 -> @+id:U32 -> @+name:String -> @+access:List<&2, String> -> Pair(0xb2b0f04555daca474f0f77d0966945c9/world.World<S, Store, R, E>, Bool)