def handles

bendvy-ecs-core@0.1.0.4 · world.bend:388

import bendvy-ecs-core@0.1.0.4/world.bend as World
import Base
import entity_allocator.bend as A

388# Return World and currently visible live full handles in allocator-visible order.
389# Reserved/Pending handles are not an ordinary query membership list yet.
390def handles(~S:Data,~C:Type,~R:Type,~E:Data,world:World<S,C,R,E>) -> World<S,C,R,E> & List<&2,Handle<S>>:
391  match world:
392    case World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock}:handles_join(~S,~C,~R,~E,namespace,store,resource,events,pending,registrations,nextSystemId,clock,A.visible(allocator))

Uses (6)

Used by (23)