@oasys/oecs 0.5.4 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1223 -266
- package/README.md +217 -112
- package/dist/core/ecs/access_check.d.cts +29 -29
- package/dist/core/ecs/access_check.d.ts +29 -29
- package/dist/core/ecs/access_check.d.ts.map +1 -1
- package/dist/core/ecs/archetype.d.cts +217 -209
- package/dist/core/ecs/archetype.d.ts +217 -209
- package/dist/core/ecs/archetype.d.ts.map +1 -1
- package/dist/core/ecs/archetype_closure.d.cts +23 -0
- package/dist/core/ecs/archetype_closure.d.ts +23 -0
- package/dist/core/ecs/archetype_closure.d.ts.map +1 -0
- package/dist/core/ecs/archetype_graph.d.cts +33 -33
- package/dist/core/ecs/archetype_graph.d.ts +33 -33
- package/dist/core/ecs/archetype_graph.d.ts.map +1 -1
- package/dist/core/ecs/archetype_types.d.cts +55 -0
- package/dist/core/ecs/archetype_types.d.ts +55 -0
- package/dist/core/ecs/archetype_types.d.ts.map +1 -0
- package/dist/core/ecs/change_feed.d.cts +53 -0
- package/dist/core/ecs/change_feed.d.ts +53 -0
- package/dist/core/ecs/change_feed.d.ts.map +1 -0
- package/dist/core/ecs/changed_query.d.cts +36 -0
- package/dist/core/ecs/changed_query.d.ts +36 -0
- package/dist/core/ecs/changed_query.d.ts.map +1 -0
- package/dist/core/ecs/chunk_columns.d.cts +49 -0
- package/dist/core/ecs/chunk_columns.d.ts +49 -0
- package/dist/core/ecs/chunk_columns.d.ts.map +1 -0
- package/dist/core/ecs/command_log.d.cts +26 -26
- package/dist/core/ecs/command_log.d.ts +26 -26
- package/dist/core/ecs/command_log.d.ts.map +1 -1
- package/dist/core/ecs/component.d.cts +43 -42
- package/dist/core/ecs/component.d.ts +43 -42
- package/dist/core/ecs/component.d.ts.map +1 -1
- package/dist/core/ecs/component_registry.d.cts +53 -0
- package/dist/core/ecs/component_registry.d.ts +53 -0
- package/dist/core/ecs/component_registry.d.ts.map +1 -0
- package/dist/core/ecs/compute_backend.d.cts +18 -7
- package/dist/core/ecs/compute_backend.d.ts +18 -7
- package/dist/core/ecs/compute_backend.d.ts.map +1 -1
- package/dist/core/ecs/deferred_commands.d.cts +15 -14
- package/dist/core/ecs/deferred_commands.d.ts +15 -14
- package/dist/core/ecs/deferred_commands.d.ts.map +1 -1
- package/dist/core/ecs/dispatch_trace.d.cts +32 -31
- package/dist/core/ecs/dispatch_trace.d.ts +32 -31
- package/dist/core/ecs/dispatch_trace.d.ts.map +1 -1
- package/dist/core/ecs/ecs.d.cts +289 -270
- package/dist/core/ecs/ecs.d.ts +289 -270
- package/dist/core/ecs/ecs.d.ts.map +1 -1
- package/dist/core/ecs/ecs_memory.d.cts +134 -136
- package/dist/core/ecs/ecs_memory.d.ts +134 -136
- package/dist/core/ecs/ecs_memory.d.ts.map +1 -1
- package/dist/core/ecs/ecs_options.d.cts +89 -0
- package/dist/core/ecs/ecs_options.d.ts +89 -0
- package/dist/core/ecs/ecs_options.d.ts.map +1 -0
- package/dist/core/ecs/entity.d.cts +4 -4
- package/dist/core/ecs/entity.d.ts +4 -4
- package/dist/core/ecs/entity_allocator.d.cts +20 -18
- package/dist/core/ecs/entity_allocator.d.ts +20 -18
- package/dist/core/ecs/entity_allocator.d.ts.map +1 -1
- package/dist/core/ecs/event.d.cts +36 -22
- package/dist/core/ecs/event.d.ts +36 -22
- package/dist/core/ecs/event.d.ts.map +1 -1
- package/dist/core/ecs/facades.d.cts +12 -126
- package/dist/core/ecs/facades.d.ts +12 -126
- package/dist/core/ecs/facades.d.ts.map +1 -1
- package/dist/core/ecs/frame_stepper.d.cts +12 -12
- package/dist/core/ecs/frame_stepper.d.ts +12 -12
- package/dist/core/ecs/frame_stepper.d.ts.map +1 -1
- package/dist/core/ecs/frame_trace.d.cts +32 -32
- package/dist/core/ecs/frame_trace.d.ts +32 -32
- package/dist/core/ecs/frame_trace.d.ts.map +1 -1
- package/dist/core/ecs/host_commands.d.cts +103 -85
- package/dist/core/ecs/host_commands.d.ts +103 -85
- package/dist/core/ecs/host_commands.d.ts.map +1 -1
- package/dist/core/ecs/index.d.cts +21 -11
- package/dist/core/ecs/index.d.ts +21 -11
- package/dist/core/ecs/index.d.ts.map +1 -1
- package/dist/core/ecs/observer.d.cts +39 -120
- package/dist/core/ecs/observer.d.ts +39 -120
- package/dist/core/ecs/observer.d.ts.map +1 -1
- package/dist/core/ecs/phase.d.cts +79 -0
- package/dist/core/ecs/phase.d.ts +79 -0
- package/dist/core/ecs/phase.d.ts.map +1 -0
- package/dist/core/ecs/plugin.d.cts +125 -0
- package/dist/core/ecs/plugin.d.ts +125 -0
- package/dist/core/ecs/plugin.d.ts.map +1 -0
- package/dist/core/ecs/plugin_slots.d.cts +26 -0
- package/dist/core/ecs/plugin_slots.d.ts +26 -0
- package/dist/core/ecs/plugin_slots.d.ts.map +1 -0
- package/dist/core/ecs/query.d.cts +208 -578
- package/dist/core/ecs/query.d.ts +208 -578
- package/dist/core/ecs/query.d.ts.map +1 -1
- package/dist/core/ecs/query_cache.d.cts +130 -0
- package/dist/core/ecs/query_cache.d.ts +130 -0
- package/dist/core/ecs/query_cache.d.ts.map +1 -0
- package/dist/core/ecs/query_registry.d.cts +47 -0
- package/dist/core/ecs/query_registry.d.ts +47 -0
- package/dist/core/ecs/query_registry.d.ts.map +1 -0
- package/dist/core/ecs/query_terms.d.cts +126 -0
- package/dist/core/ecs/query_terms.d.ts +126 -0
- package/dist/core/ecs/query_terms.d.ts.map +1 -0
- package/dist/core/ecs/ref.d.cts +100 -39
- package/dist/core/ecs/ref.d.ts +100 -39
- package/dist/core/ecs/ref.d.ts.map +1 -1
- package/dist/core/ecs/relation.d.cts +101 -182
- package/dist/core/ecs/relation.d.ts +101 -182
- package/dist/core/ecs/relation.d.ts.map +1 -1
- package/dist/core/ecs/resource.d.cts +13 -13
- package/dist/core/ecs/resource.d.ts +13 -13
- package/dist/core/ecs/resource_registry.d.cts +5 -5
- package/dist/core/ecs/resource_registry.d.ts +5 -5
- package/dist/core/ecs/resource_registry.d.ts.map +1 -1
- package/dist/core/ecs/row_kinds.d.cts +24 -0
- package/dist/core/ecs/row_kinds.d.ts +24 -0
- package/dist/core/ecs/row_kinds.d.ts.map +1 -0
- package/dist/core/ecs/run_condition.d.cts +23 -23
- package/dist/core/ecs/run_condition.d.ts +23 -23
- package/dist/core/ecs/run_condition.d.ts.map +1 -1
- package/dist/core/ecs/schedule.d.cts +91 -120
- package/dist/core/ecs/schedule.d.ts +91 -120
- package/dist/core/ecs/schedule.d.ts.map +1 -1
- package/dist/core/ecs/schedule_plan.d.cts +33 -0
- package/dist/core/ecs/schedule_plan.d.ts +33 -0
- package/dist/core/ecs/schedule_plan.d.ts.map +1 -0
- package/dist/core/ecs/snapshot.d.cts +77 -0
- package/dist/core/ecs/snapshot.d.ts +77 -0
- package/dist/core/ecs/snapshot.d.ts.map +1 -0
- package/dist/core/ecs/snapshot_mount.d.cts +42 -0
- package/dist/core/ecs/snapshot_mount.d.ts +42 -0
- package/dist/core/ecs/snapshot_mount.d.ts.map +1 -0
- package/dist/core/ecs/sparse_store.d.cts +108 -51
- package/dist/core/ecs/sparse_store.d.ts +108 -51
- package/dist/core/ecs/sparse_store.d.ts.map +1 -1
- package/dist/core/ecs/store.d.cts +527 -473
- package/dist/core/ecs/store.d.ts +527 -473
- package/dist/core/ecs/store.d.ts.map +1 -1
- package/dist/core/ecs/store_layout_listener.d.cts +6 -6
- package/dist/core/ecs/store_layout_listener.d.ts +6 -6
- package/dist/core/ecs/store_types.d.cts +122 -0
- package/dist/core/ecs/store_types.d.ts +122 -0
- package/dist/core/ecs/store_types.d.ts.map +1 -0
- package/dist/core/ecs/system.d.cts +146 -61
- package/dist/core/ecs/system.d.ts +146 -61
- package/dist/core/ecs/system.d.ts.map +1 -1
- package/dist/core/ecs/system_context.d.cts +296 -0
- package/dist/core/ecs/system_context.d.ts +296 -0
- package/dist/core/ecs/system_context.d.ts.map +1 -0
- package/dist/core/ecs/system_set.d.cts +48 -0
- package/dist/core/ecs/system_set.d.ts +48 -0
- package/dist/core/ecs/system_set.d.ts.map +1 -0
- package/dist/core/ecs/utils/arrays.d.cts +15 -1
- package/dist/core/ecs/utils/arrays.d.ts +15 -1
- package/dist/core/ecs/utils/arrays.d.ts.map +1 -1
- package/dist/core/ecs/utils/error.d.cts +82 -6
- package/dist/core/ecs/utils/error.d.ts +82 -6
- package/dist/core/ecs/utils/error.d.ts.map +1 -1
- package/dist/core/ecs/utils/plugin_error.d.cts +10 -0
- package/dist/core/ecs/utils/plugin_error.d.ts +10 -0
- package/dist/core/ecs/utils/plugin_error.d.ts.map +1 -0
- package/dist/core/restore_errors.d.cts +30 -0
- package/dist/core/restore_errors.d.ts +30 -0
- package/dist/core/restore_errors.d.ts.map +1 -0
- package/dist/core/store/action_ring.d.cts +44 -44
- package/dist/core/store/action_ring.d.ts +44 -44
- package/dist/core/store/action_ring.d.ts.map +1 -1
- package/dist/core/store/allocator.d.cts +149 -95
- package/dist/core/store/allocator.d.ts +149 -95
- package/dist/core/store/allocator.d.ts.map +1 -1
- package/dist/core/store/buffer_backed_column.d.cts +17 -17
- package/dist/core/store/buffer_backed_column.d.ts +17 -17
- package/dist/core/store/buffer_backed_column.d.ts.map +1 -1
- package/dist/core/store/column_store.d.cts +124 -86
- package/dist/core/store/column_store.d.ts +124 -86
- package/dist/core/store/column_store.d.ts.map +1 -1
- package/dist/core/store/command_dispatch.d.cts +14 -15
- package/dist/core/store/command_dispatch.d.ts +14 -15
- package/dist/core/store/command_dispatch.d.ts.map +1 -1
- package/dist/core/store/command_ring.d.cts +36 -39
- package/dist/core/store/command_ring.d.ts +36 -39
- package/dist/core/store/command_ring.d.ts.map +1 -1
- package/dist/core/store/descriptor.d.cts +34 -17
- package/dist/core/store/descriptor.d.ts +34 -17
- package/dist/core/store/descriptor.d.ts.map +1 -1
- package/dist/core/store/entity_index.d.cts +34 -35
- package/dist/core/store/entity_index.d.ts +34 -35
- package/dist/core/store/entity_index.d.ts.map +1 -1
- package/dist/core/store/event_ring.d.cts +36 -38
- package/dist/core/store/event_ring.d.ts +36 -38
- package/dist/core/store/event_ring.d.ts.map +1 -1
- package/dist/core/store/extend.d.cts +13 -7
- package/dist/core/store/extend.d.ts +13 -7
- package/dist/core/store/extend.d.ts.map +1 -1
- package/dist/core/store/grow.d.cts +2 -2
- package/dist/core/store/grow.d.ts +2 -2
- package/dist/core/store/grow.d.ts.map +1 -1
- package/dist/core/store/header.d.cts +31 -27
- package/dist/core/store/header.d.ts +31 -27
- package/dist/core/store/header.d.ts.map +1 -1
- package/dist/core/store/index.d.cts +10 -10
- package/dist/core/store/index.d.ts +10 -10
- package/dist/core/store/index.d.ts.map +1 -1
- package/dist/core/store/layout_ops.d.cts +71 -62
- package/dist/core/store/layout_ops.d.ts +71 -62
- package/dist/core/store/layout_ops.d.ts.map +1 -1
- package/dist/core/store/region_table.d.cts +28 -21
- package/dist/core/store/region_table.d.ts +28 -21
- package/dist/core/store/region_table.d.ts.map +1 -1
- package/dist/core/store/snapshot.d.cts +31 -16
- package/dist/core/store/snapshot.d.ts +31 -16
- package/dist/core/store/snapshot.d.ts.map +1 -1
- package/dist/core/store/state_hash.d.cts +12 -12
- package/dist/core/store/state_hash.d.ts +12 -12
- package/dist/core/store/state_hash.d.ts.map +1 -1
- package/dist/core/store/store_regions.d.cts +10 -10
- package/dist/core/store/store_regions.d.ts +10 -10
- package/dist/core/store/store_regions.d.ts.map +1 -1
- package/dist/core/store/vendored_abi/abi.d.cts +27 -2
- package/dist/core/store/vendored_abi/abi.d.ts +27 -2
- package/dist/core/store/vendored_abi/abi.d.ts.map +1 -1
- package/dist/host_commands-B2KMx8O2.cjs +1 -0
- package/dist/host_commands-ClVPvhSa.cjs +2 -0
- package/dist/host_commands-CwxVQS1z.js +1524 -0
- package/dist/host_commands-nJvTy88E.js +1667 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +15 -10
- package/dist/index.d.ts +15 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.development.cjs +1 -1
- package/dist/index.development.js +5804 -5203
- package/dist/index.js +5323 -4764
- package/dist/internal.cjs +2 -2
- package/dist/internal.d.cts +5 -2
- package/dist/internal.d.ts +5 -2
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.development.cjs +1 -1
- package/dist/internal.development.js +70 -20
- package/dist/internal.js +138 -83
- package/dist/plugins/abi-D3V-QUSf.cjs +1 -0
- package/dist/plugins/abi-NP8pNxpd.js +42 -0
- package/dist/plugins/arrays-Dr_1hCjL.js +28 -0
- package/dist/plugins/arrays-Dt-Joc4i.cjs +1 -0
- package/dist/plugins/assertions-gtDVfbnQ.js +6 -0
- package/dist/plugins/assertions-z5GQd_bB.cjs +1 -0
- package/dist/{extensions → plugins}/editor/editor.d.cts +54 -54
- package/dist/{extensions → plugins}/editor/editor.d.ts +54 -54
- package/dist/plugins/editor/editor.d.ts.map +1 -0
- package/dist/{extensions → plugins}/editor/field_handle.d.cts +12 -12
- package/dist/{extensions → plugins}/editor/field_handle.d.ts +12 -12
- package/dist/plugins/editor/field_handle.d.ts.map +1 -0
- package/dist/plugins/editor/index.d.cts +22 -0
- package/dist/plugins/editor/index.d.ts +22 -0
- package/dist/plugins/editor/index.d.ts.map +1 -0
- package/dist/plugins/editor.cjs +1 -0
- package/dist/plugins/editor.d.cts +1 -0
- package/dist/plugins/editor.d.ts +1 -0
- package/dist/plugins/editor.development.cjs +1 -0
- package/dist/{extensions/editor/index.development.js → plugins/editor.development.js} +81 -64
- package/dist/{extensions/editor/index.js → plugins/editor.js} +81 -64
- package/dist/plugins/events/event_channel.d.cts +13 -0
- package/dist/plugins/events/event_channel.d.ts +13 -0
- package/dist/plugins/events/event_channel.d.ts.map +1 -0
- package/dist/plugins/events/event_registry.d.cts +22 -0
- package/dist/plugins/events/event_registry.d.ts +22 -0
- package/dist/plugins/events/event_registry.d.ts.map +1 -0
- package/dist/plugins/events/facade.d.cts +26 -0
- package/dist/plugins/events/facade.d.ts +26 -0
- package/dist/plugins/events/facade.d.ts.map +1 -0
- package/dist/plugins/events/index.d.cts +10 -0
- package/dist/plugins/events/index.d.ts +10 -0
- package/dist/plugins/events/index.d.ts.map +1 -0
- package/dist/plugins/events.cjs +1 -0
- package/dist/plugins/events.d.cts +1 -0
- package/dist/plugins/events.d.ts +1 -0
- package/dist/plugins/events.development.cjs +1 -0
- package/dist/plugins/events.development.js +174 -0
- package/dist/plugins/events.js +159 -0
- package/dist/plugins/observers/index.d.cts +23 -0
- package/dist/plugins/observers/index.d.ts +23 -0
- package/dist/plugins/observers/index.d.ts.map +1 -0
- package/dist/plugins/observers/observer_registry.d.cts +101 -0
- package/dist/plugins/observers/observer_registry.d.ts +101 -0
- package/dist/plugins/observers/observer_registry.d.ts.map +1 -0
- package/dist/plugins/observers.cjs +1 -0
- package/dist/plugins/observers.d.cts +1 -0
- package/dist/plugins/observers.d.ts +1 -0
- package/dist/plugins/observers.development.cjs +1 -0
- package/dist/plugins/observers.development.js +431 -0
- package/dist/plugins/observers.js +403 -0
- package/dist/plugins/relation_store-BsoegrZh.js +313 -0
- package/dist/plugins/relation_store-DQKSnxsm.cjs +1 -0
- package/dist/plugins/relation_store-RBhpcE28.cjs +1 -0
- package/dist/plugins/relation_store-RqW5Snx6.js +328 -0
- package/dist/plugins/relations/builtin_relations.d.cts +48 -0
- package/dist/plugins/relations/builtin_relations.d.ts +48 -0
- package/dist/plugins/relations/builtin_relations.d.ts.map +1 -0
- package/dist/plugins/relations/facade.d.cts +73 -0
- package/dist/plugins/relations/facade.d.ts +73 -0
- package/dist/plugins/relations/facade.d.ts.map +1 -0
- package/dist/plugins/relations/index.d.cts +11 -0
- package/dist/plugins/relations/index.d.ts +11 -0
- package/dist/plugins/relations/index.d.ts.map +1 -0
- package/dist/{core/ecs → plugins/relations}/relation_service.d.cts +85 -97
- package/dist/{core/ecs → plugins/relations}/relation_service.d.ts +85 -97
- package/dist/plugins/relations/relation_service.d.ts.map +1 -0
- package/dist/plugins/relations/relation_store.d.cts +177 -0
- package/dist/plugins/relations/relation_store.d.ts +177 -0
- package/dist/plugins/relations/relation_store.d.ts.map +1 -0
- package/dist/plugins/relations.cjs +1 -0
- package/dist/plugins/relations.d.cts +1 -0
- package/dist/plugins/relations.d.ts +1 -0
- package/dist/plugins/relations.development.cjs +1 -0
- package/dist/plugins/relations.development.js +603 -0
- package/dist/plugins/relations.js +553 -0
- package/dist/plugins/snapshots/index.d.cts +33 -0
- package/dist/plugins/snapshots/index.d.ts +33 -0
- package/dist/plugins/snapshots/index.d.ts.map +1 -0
- package/dist/plugins/snapshots/resume.d.cts +57 -0
- package/dist/plugins/snapshots/resume.d.ts +57 -0
- package/dist/plugins/snapshots/resume.d.ts.map +1 -0
- package/dist/plugins/snapshots/snapshot_service.d.cts +59 -0
- package/dist/plugins/snapshots/snapshot_service.d.ts +59 -0
- package/dist/plugins/snapshots/snapshot_service.d.ts.map +1 -0
- package/dist/plugins/snapshots.cjs +1 -0
- package/dist/plugins/snapshots.d.cts +1 -0
- package/dist/plugins/snapshots.d.ts +1 -0
- package/dist/plugins/snapshots.development.cjs +1 -0
- package/dist/plugins/snapshots.development.js +737 -0
- package/dist/plugins/snapshots.js +737 -0
- package/dist/plugins/solid/index.d.cts +8 -0
- package/dist/plugins/solid/index.d.ts +8 -0
- package/dist/plugins/solid/index.d.ts.map +1 -0
- package/dist/plugins/solid/solid.d.cts +97 -0
- package/dist/plugins/solid/solid.d.ts +97 -0
- package/dist/plugins/solid/solid.d.ts.map +1 -0
- package/dist/plugins/solid.cjs +1 -0
- package/dist/plugins/solid.d.cts +1 -0
- package/dist/plugins/solid.d.ts +1 -0
- package/dist/plugins/solid.development.cjs +1 -0
- package/dist/plugins/solid.development.js +319 -0
- package/dist/plugins/solid.js +319 -0
- package/dist/plugins/workers/index.d.cts +75 -0
- package/dist/plugins/workers/index.d.ts +75 -0
- package/dist/plugins/workers/index.d.ts.map +1 -0
- package/dist/plugins/workers/node_threads.d.cts +25 -0
- package/dist/plugins/workers/node_threads.d.ts +25 -0
- package/dist/plugins/workers/node_threads.d.ts.map +1 -0
- package/dist/plugins/workers/plan.d.cts +61 -0
- package/dist/plugins/workers/plan.d.ts +61 -0
- package/dist/plugins/workers/plan.d.ts.map +1 -0
- package/dist/plugins/workers/pool.d.cts +144 -0
- package/dist/plugins/workers/pool.d.ts +144 -0
- package/dist/plugins/workers/pool.d.ts.map +1 -0
- package/dist/plugins/workers/protocol.d.cts +112 -0
- package/dist/plugins/workers/protocol.d.ts +112 -0
- package/dist/plugins/workers/protocol.d.ts.map +1 -0
- package/dist/plugins/workers/worker_bind.d.cts +64 -0
- package/dist/plugins/workers/worker_bind.d.ts +64 -0
- package/dist/plugins/workers/worker_bind.d.ts.map +1 -0
- package/dist/plugins/workers/worker_loop.d.cts +14 -0
- package/dist/plugins/workers/worker_loop.d.ts +14 -0
- package/dist/plugins/workers/worker_loop.d.ts.map +1 -0
- package/dist/plugins/workers.cjs +1 -0
- package/dist/plugins/workers.d.cts +1 -0
- package/dist/plugins/workers.d.ts +1 -0
- package/dist/plugins/workers.development.cjs +1 -0
- package/dist/plugins/workers.development.js +596 -0
- package/dist/plugins/workers.js +474 -0
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.d.cts +4 -4
- package/dist/primitives.d.ts +4 -4
- package/dist/primitives.development.cjs +1 -1
- package/dist/primitives.development.js +66 -22
- package/dist/primitives.js +66 -22
- package/dist/shared-BKl12xF1.js +132 -0
- package/dist/shared-Dk-pACZT.cjs +1 -0
- package/dist/shared.cjs +1 -1
- package/dist/shared.d.cts +7 -7
- package/dist/shared.d.ts +7 -7
- package/dist/shared.d.ts.map +1 -1
- package/dist/shared.development.cjs +1 -1
- package/dist/shared.development.js +4 -3
- package/dist/shared.js +4 -3
- package/dist/topological_sort-Cc_yXqPT.js +346 -0
- package/dist/topological_sort-vp1imU6D.cjs +1 -0
- package/dist/type_primitives/assertions.d.cts +12 -16
- package/dist/type_primitives/assertions.d.ts +12 -16
- package/dist/type_primitives/assertions.d.ts.map +1 -1
- package/dist/type_primitives/binary_heap/binary_heap.d.cts +2 -6
- package/dist/type_primitives/binary_heap/binary_heap.d.ts +2 -6
- package/dist/type_primitives/binary_heap/binary_heap.d.ts.map +1 -1
- package/dist/type_primitives/bitset/bitset.d.cts +7 -11
- package/dist/type_primitives/bitset/bitset.d.ts +7 -11
- package/dist/type_primitives/bitset/bitset.d.ts.map +1 -1
- package/dist/type_primitives/brand.d.cts +2 -7
- package/dist/type_primitives/brand.d.ts +2 -7
- package/dist/type_primitives/brand.d.ts.map +1 -1
- package/dist/type_primitives/error.d.cts +1 -2
- package/dist/type_primitives/error.d.ts +1 -2
- package/dist/type_primitives/error.d.ts.map +1 -1
- package/dist/type_primitives/index.d.cts +1 -1
- package/dist/type_primitives/index.d.ts +1 -1
- package/dist/type_primitives/sparse_map/sparse_map.d.cts +3 -7
- package/dist/type_primitives/sparse_map/sparse_map.d.ts +3 -7
- package/dist/type_primitives/sparse_map/sparse_map.d.ts.map +1 -1
- package/dist/type_primitives/sparse_set/sparse_set.d.cts +2 -6
- package/dist/type_primitives/sparse_set/sparse_set.d.ts +2 -6
- package/dist/type_primitives/sparse_set/sparse_set.d.ts.map +1 -1
- package/dist/type_primitives/topological_sort/topological_sort.d.cts +1 -5
- package/dist/type_primitives/topological_sort/topological_sort.d.ts +1 -5
- package/dist/type_primitives/topological_sort/topological_sort.d.ts.map +1 -1
- package/dist/type_primitives/typed_arrays/typed_arrays.d.cts +16 -15
- package/dist/type_primitives/typed_arrays/typed_arrays.d.ts +16 -15
- package/dist/type_primitives/typed_arrays/typed_arrays.d.ts.map +1 -1
- package/dist/utils/error.d.ts.map +1 -1
- package/dist/version.d.cts +3 -3
- package/dist/version.d.ts +3 -3
- package/dist/worker.cjs +1 -0
- package/dist/worker.d.cts +17 -0
- package/dist/worker.d.ts +17 -0
- package/dist/worker.d.ts.map +1 -0
- package/dist/worker.development.cjs +1 -0
- package/dist/worker.development.js +253 -0
- package/dist/worker.js +253 -0
- package/package.json +363 -191
- package/dist/core/ecs/builtin_relations.d.cts +0 -43
- package/dist/core/ecs/builtin_relations.d.ts +0 -43
- package/dist/core/ecs/builtin_relations.d.ts.map +0 -1
- package/dist/core/ecs/event_registry.d.cts +0 -22
- package/dist/core/ecs/event_registry.d.ts +0 -22
- package/dist/core/ecs/event_registry.d.ts.map +0 -1
- package/dist/core/ecs/relation_service.d.ts.map +0 -1
- package/dist/core/ecs/resume.d.cts +0 -85
- package/dist/core/ecs/resume.d.ts +0 -85
- package/dist/core/ecs/resume.d.ts.map +0 -1
- package/dist/core/ecs/snapshot_service.d.cts +0 -94
- package/dist/core/ecs/snapshot_service.d.ts +0 -94
- package/dist/core/ecs/snapshot_service.d.ts.map +0 -1
- package/dist/extensions/editor/editor.d.ts.map +0 -1
- package/dist/extensions/editor/field_handle.d.ts.map +0 -1
- package/dist/extensions/editor/index.cjs +0 -1
- package/dist/extensions/editor/index.d.cts +0 -21
- package/dist/extensions/editor/index.d.ts +0 -21
- package/dist/extensions/editor/index.d.ts.map +0 -1
- package/dist/extensions/editor/index.development.cjs +0 -1
- package/dist/extensions/reactive/ecs_sync.d.cts +0 -214
- package/dist/extensions/reactive/ecs_sync.d.ts +0 -214
- package/dist/extensions/reactive/ecs_sync.d.ts.map +0 -1
- package/dist/extensions/reactive/index.cjs +0 -1
- package/dist/extensions/reactive/index.d.cts +0 -23
- package/dist/extensions/reactive/index.d.ts +0 -23
- package/dist/extensions/reactive/index.d.ts.map +0 -1
- package/dist/extensions/reactive/index.development.cjs +0 -1
- package/dist/extensions/reactive/index.development.js +0 -215
- package/dist/extensions/reactive/index.js +0 -215
- package/dist/extensions/solid/index.cjs +0 -1
- package/dist/extensions/solid/index.d.cts +0 -6
- package/dist/extensions/solid/index.d.ts +0 -6
- package/dist/extensions/solid/index.d.ts.map +0 -1
- package/dist/extensions/solid/index.development.cjs +0 -1
- package/dist/extensions/solid/index.development.js +0 -40
- package/dist/extensions/solid/index.js +0 -36
- package/dist/extensions/solid/kernel_solid.d.cts +0 -45
- package/dist/extensions/solid/kernel_solid.d.ts +0 -45
- package/dist/extensions/solid/kernel_solid.d.ts.map +0 -1
- package/dist/host_commands-BlR3oZ3x.js +0 -2406
- package/dist/host_commands-C2cpU3yC.cjs +0 -1
- package/dist/internal-BoxWl4dG.js +0 -2565
- package/dist/internal-CGBEwfeB.cjs +0 -2
- package/dist/interop-CT-REx0W.cjs +0 -1
- package/dist/interop-CcY6ASQc.js +0 -18
- package/dist/interop-DqxleBo7.js +0 -18
- package/dist/interop-T1HZ-Dpa.cjs +0 -1
- package/dist/kernel-Cz2Kxlwl.js +0 -240
- package/dist/kernel-DgyrLFjW.js +0 -227
- package/dist/kernel-sw7ScKWu.cjs +0 -1
- package/dist/kernel-yWV3XnAb.cjs +0 -1
- package/dist/reactive/array.d.cts +0 -24
- package/dist/reactive/array.d.ts +0 -24
- package/dist/reactive/array.d.ts.map +0 -1
- package/dist/reactive/index.cjs +0 -1
- package/dist/reactive/index.d.cts +0 -11
- package/dist/reactive/index.d.ts +0 -11
- package/dist/reactive/index.d.ts.map +0 -1
- package/dist/reactive/index.development.cjs +0 -1
- package/dist/reactive/index.development.js +0 -18
- package/dist/reactive/index.js +0 -18
- package/dist/reactive/interop.d.cts +0 -19
- package/dist/reactive/interop.d.ts +0 -19
- package/dist/reactive/interop.d.ts.map +0 -1
- package/dist/reactive/kernel.d.cts +0 -73
- package/dist/reactive/kernel.d.ts +0 -73
- package/dist/reactive/kernel.d.ts.map +0 -1
- package/dist/reactive/map.d.cts +0 -16
- package/dist/reactive/map.d.ts +0 -16
- package/dist/reactive/map.d.ts.map +0 -1
- package/dist/reactive/shallow.d.cts +0 -11
- package/dist/reactive/shallow.d.ts +0 -11
- package/dist/reactive/shallow.d.ts.map +0 -1
- package/dist/reactive/struct.d.cts +0 -10
- package/dist/reactive/struct.d.ts +0 -10
- package/dist/reactive/struct.d.ts.map +0 -1
- package/dist/shallow-Bs39EPh1.js +0 -150
- package/dist/shallow-C5YmTbtb.cjs +0 -1
- package/dist/shallow-CiFC70Dz.js +0 -159
- package/dist/shallow-DQ8aG51_.cjs +0 -1
- package/dist/shared-B4v0L1cw.js +0 -109
- package/dist/shared-DU78k0pU.cjs +0 -1
- package/dist/topological_sort-BDvEyb9W.cjs +0 -1
- package/dist/topological_sort-DK6EjpWa.js +0 -135
- package/dist/typed_arrays-D3NmwtCG.cjs +0 -1
- package/dist/typed_arrays-DIVwVy5_.js +0 -258
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archetype.d.ts","sourceRoot":"","sources":["../../../src/core/ecs/archetype.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;KAmBK;
|
|
1
|
+
{"version":3,"file":"archetype.d.ts","sourceRoot":"","sources":["../../../src/core/ecs/archetype.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;KAmBK;AAIL,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACpE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAIN,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAa,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpE,OAAO,KAAK,EACX,WAAW,EACX,YAAY,EACZ,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EAEd,MAAM,aAAa,CAAC;AACrB,OAAO,EAAkB,KAAK,QAAQ,EAAE,KAAK,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAarF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAa,KAAK,eAAe,EAAE,MAAM,OAAO,CAAC;AAuBxD,eAAO,MAAM,aAAa,UAAW,MAAM,gBAKzC,CAAC;AAEH,MAAM,WAAW,aAAa;IAC7B,GAAG,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B,mBAAmB,CAAC,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,GAAG,UAAU,CA6B9E"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BitSet } from '../../type_primitives/index.cjs';
|
|
2
|
+
import { SystemDescriptor } from './system.cjs';
|
|
3
|
+
/** Archetype closure from a descriptor set.
|
|
4
|
+
*
|
|
5
|
+
* Each descriptor is a system or an observer's synthesized `SystemDescriptor`.
|
|
6
|
+
* Both carry `spawns` + `transitions`. Seeds the worklist with every
|
|
7
|
+
* descriptor's `spawns`. Iteratively applies every descriptor's `transitions`
|
|
8
|
+
* to every discovered mask whose components cover the transition's `whenHas`.
|
|
9
|
+
* Returns the union of seeds + reachable targets, deduplicated by hash-bucketed
|
|
10
|
+
* mask equality.
|
|
11
|
+
*
|
|
12
|
+
* Termination: every transition either monotonically grows the mask (add
|
|
13
|
+
* outpacing remove), monotonically shrinks it, or returns a mask the
|
|
14
|
+
* `seen` map already holds. Because the universe of masks is bounded by
|
|
15
|
+
* `2^|components|` (and in practice the in-tree spawn and transition set is
|
|
16
|
+
* small), the worklist is finite and we exit when it empties.
|
|
17
|
+
*
|
|
18
|
+
* Liberal `whenHas`, over-approximation is fine. An
|
|
19
|
+
* unreachable transition target costs one descriptor row at the SAB tail,
|
|
20
|
+
* not column bytes. Empty `spawns` + `transitions` short-circuit to zero.
|
|
21
|
+
*/
|
|
22
|
+
export declare function computeArchetypeClosure(descriptors: Iterable<SystemDescriptor>): BitSet[];
|
|
23
|
+
//# sourceMappingURL=archetype_closure.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BitSet } from '../../type_primitives/index.js';
|
|
2
|
+
import { SystemDescriptor } from './system.js';
|
|
3
|
+
/** Archetype closure from a descriptor set.
|
|
4
|
+
*
|
|
5
|
+
* Each descriptor is a system or an observer's synthesized `SystemDescriptor`.
|
|
6
|
+
* Both carry `spawns` + `transitions`. Seeds the worklist with every
|
|
7
|
+
* descriptor's `spawns`. Iteratively applies every descriptor's `transitions`
|
|
8
|
+
* to every discovered mask whose components cover the transition's `whenHas`.
|
|
9
|
+
* Returns the union of seeds + reachable targets, deduplicated by hash-bucketed
|
|
10
|
+
* mask equality.
|
|
11
|
+
*
|
|
12
|
+
* Termination: every transition either monotonically grows the mask (add
|
|
13
|
+
* outpacing remove), monotonically shrinks it, or returns a mask the
|
|
14
|
+
* `seen` map already holds. Because the universe of masks is bounded by
|
|
15
|
+
* `2^|components|` (and in practice the in-tree spawn and transition set is
|
|
16
|
+
* small), the worklist is finite and we exit when it empties.
|
|
17
|
+
*
|
|
18
|
+
* Liberal `whenHas`, over-approximation is fine. An
|
|
19
|
+
* unreachable transition target costs one descriptor row at the SAB tail,
|
|
20
|
+
* not column bytes. Empty `spawns` + `transitions` short-circuit to zero.
|
|
21
|
+
*/
|
|
22
|
+
export declare function computeArchetypeClosure(descriptors: Iterable<SystemDescriptor>): BitSet[];
|
|
23
|
+
//# sourceMappingURL=archetype_closure.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"archetype_closure.d.ts","sourceRoot":"","sources":["../../../src/core/ecs/archetype_closure.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;KAYK;AAEL,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,MAAM,EAAE,CAgFzF"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { BitSet } from '../../type_primitives/index.cjs';
|
|
2
2
|
import { Archetype, ArchetypeColumnLayout, ArchetypeID } from './archetype.cjs';
|
|
3
3
|
import { ComponentID } from './component.cjs';
|
|
4
|
-
import { ComponentMeta } from './
|
|
4
|
+
import { ComponentMeta } from './store_types.cjs';
|
|
5
5
|
import { ArchetypeSpec } from '../store/index.cjs';
|
|
6
|
-
/** What the graph needs from `Store
|
|
6
|
+
/** What the graph needs from `Store`, closure-injected. `extendStore` and
|
|
7
7
|
* `materialize` bind the storage lifecycle (SAB extend + column-store views
|
|
8
|
-
* + grow handler) on the Store side
|
|
9
|
-
* state. All are creation-path only
|
|
8
|
+
* + grow handler) on the Store side. `fanIntoQueries` binds query-registry
|
|
9
|
+
* state. All are creation-path only, never called on an edge-cache hit. */
|
|
10
10
|
export interface ArchetypeGraphHost {
|
|
11
|
-
/** Component field metadata, indexed by ComponentID
|
|
11
|
+
/** Component field metadata, indexed by ComponentID, for building a new
|
|
12
12
|
* archetype's column layouts. */
|
|
13
13
|
readonly componentMetas: () => readonly ComponentMeta[];
|
|
14
14
|
/** Row capacity for a new archetype's column region. */
|
|
15
15
|
readonly initialCapacity: () => number;
|
|
16
16
|
/** Extend the SAB with the new archetypes' column regions (one call for
|
|
17
|
-
* the whole batch
|
|
17
|
+
* the whole batch, the bulk path's O(N²)→O(N) win). */
|
|
18
18
|
readonly extendStore: (specs: ArchetypeSpec[]) => void;
|
|
19
19
|
/** Materialise the `Archetype` over the live column store and attach the
|
|
20
20
|
* store's grow handler. */
|
|
@@ -28,69 +28,69 @@ export declare class ArchetypeGraph {
|
|
|
28
28
|
* and never removed). Store's flush loops hoist this array to a local. */
|
|
29
29
|
readonly archetypes: Archetype[];
|
|
30
30
|
/** Inverted index: ComponentID → ascending list of ArchetypeIDs that contain
|
|
31
|
-
* that component. Indexed
|
|
31
|
+
* that component. Indexed positionally by component id (a small, dense id
|
|
32
32
|
* space, 0..STORE_DESCRIPTOR_COMPONENT_LIMIT-1), so a lookup is an array
|
|
33
33
|
* index, not a Map hash. Used by `getMatchingArchetypes` to start the
|
|
34
34
|
* superset scan from the smallest bucket. Each bucket is a plain push-only
|
|
35
|
-
* array
|
|
35
|
+
* array. Not a Set, and deliberately does not dedup: a (component,
|
|
36
36
|
* archetype) pair can be inserted here at most once (see the "no duplicate
|
|
37
|
-
* pair" invariant on `
|
|
37
|
+
* pair" invariant on `_install`), so there is nothing for a Set
|
|
38
38
|
* to collapse. Archetypes are never removed from a Store, so buckets only
|
|
39
|
-
* grow, in ascending archetype-id order
|
|
40
|
-
* exploited by `
|
|
39
|
+
* grow, in ascending archetype-id order, which is canonical order,
|
|
40
|
+
* exploited by `forEachChangedArchetype` to skip a sort. */
|
|
41
41
|
readonly componentIndex: ArchetypeID[][];
|
|
42
|
-
private readonly
|
|
43
|
-
private
|
|
44
|
-
private readonly
|
|
42
|
+
private readonly _archetypeMap;
|
|
43
|
+
private _nextArchetypeId;
|
|
44
|
+
private readonly _host;
|
|
45
45
|
constructor(host: ArchetypeGraphHost);
|
|
46
46
|
get(id: ArchetypeID): Archetype;
|
|
47
47
|
/**
|
|
48
48
|
* Find or create an archetype for the given component mask.
|
|
49
49
|
* Also updates the componentIndex and pushes into matching registered queries.
|
|
50
50
|
*
|
|
51
|
-
* Hot single-mask path. The bulk batched variant
|
|
52
|
-
* pass at `ecs.startup()
|
|
53
|
-
*
|
|
51
|
+
* Hot single-mask path. The bulk batched variant, used by the prewarm
|
|
52
|
+
* pass at `ecs.startup()`, is `getOrCreateFromMasks`. See `ECS.startup()`
|
|
53
|
+
* for how it gets called and why.
|
|
54
54
|
*/
|
|
55
55
|
getOrCreateFromMask(mask: BitSet): ArchetypeID;
|
|
56
56
|
/**
|
|
57
|
-
* Bulk variant of `getOrCreateFromMask
|
|
57
|
+
* Bulk variant of `getOrCreateFromMask`, the archetype prewarm pass.
|
|
58
58
|
*
|
|
59
59
|
* Given a set of masks, creates Archetypes for the ones not already
|
|
60
|
-
* planted, in a
|
|
61
|
-
* archetype). Single-mask creation is O(N) in archetypes-so-far because
|
|
62
|
-
* the extend has to copy every existing archetype's live rows forward
|
|
60
|
+
* planted, in a single `extendColumnStore` call (instead of one per
|
|
61
|
+
* archetype). Single-mask creation is O(N) in archetypes-so-far, because
|
|
62
|
+
* the extend has to copy every existing archetype's live rows forward.
|
|
63
63
|
* N such calls compound to O(N²). Batching collapses the per-archetype
|
|
64
|
-
* setup-and-copy down to one pass
|
|
64
|
+
* setup-and-copy down to one pass, the per-startup cost goes from
|
|
65
65
|
* O(N²) to O(N) for in-tree systems whose archetype
|
|
66
66
|
* set is known at registration time via `spawns` + `transitions`.
|
|
67
67
|
*
|
|
68
68
|
* Masks already in the map are skipped. Returns the resolved
|
|
69
|
-
* `ArchetypeID` per input mask in input order
|
|
69
|
+
* `ArchetypeID` per input mask in input order, callers that don't need
|
|
70
70
|
* the ids can ignore the return value.
|
|
71
71
|
*/
|
|
72
|
-
|
|
73
|
-
/** Hash-bucketed mask → ArchetypeID lookup
|
|
74
|
-
private
|
|
72
|
+
getOrCreateFromMasks(masks: readonly BitSet[]): ArchetypeID[];
|
|
73
|
+
/** Hash-bucketed mask → ArchetypeID lookup. Null when the mask isn't planted. */
|
|
74
|
+
private _lookup;
|
|
75
75
|
/** Walk the mask's set bits and resolve each non-tag component to its
|
|
76
76
|
* layout. Used by both single and bulk archetype-create paths. */
|
|
77
|
-
private
|
|
77
|
+
private _createLayouts;
|
|
78
78
|
/** Materialise the `Archetype` for `id` (via the host, which binds the
|
|
79
79
|
* live column store + grow handler), register in the archetype map +
|
|
80
80
|
* component index, and fan into any matching registered queries.
|
|
81
81
|
*
|
|
82
|
-
* Clones `mask` before storing
|
|
83
|
-
* they intend to reuse (e.g. `addComponents`
|
|
82
|
+
* Clones `mask` before storing, callers may pass scratch BitSets that
|
|
83
|
+
* they intend to reuse (e.g. the `addComponents` and `removeComponents`
|
|
84
84
|
* `_scratchTargetMask`). The Archetype and the archetypeMap bucket
|
|
85
85
|
* both keep references long-term, so the clone is required for
|
|
86
|
-
* correctness
|
|
86
|
+
* correctness, and is the previously-implicit guarantee made by the
|
|
87
87
|
* mask-allocating callers (`copyWithSet`, `copyWithClear`, etc.). */
|
|
88
|
-
private
|
|
88
|
+
private _install;
|
|
89
89
|
/** Resolve "add component_id to archetype_id" → target ArchetypeID. Caches the edge. */
|
|
90
90
|
resolveAdd(archetypeId: ArchetypeID, componentId: ComponentID): ArchetypeID;
|
|
91
91
|
/** Resolve "remove component_id from archetype_id" → target ArchetypeID. Caches the edge. */
|
|
92
92
|
resolveRemove(archetypeId: ArchetypeID, componentId: ComponentID): ArchetypeID;
|
|
93
|
-
/** Cache a bidirectional add
|
|
94
|
-
private
|
|
93
|
+
/** Cache a bidirectional add and remove edge between two archetypes. */
|
|
94
|
+
private _cacheEdge;
|
|
95
95
|
}
|
|
96
96
|
//# sourceMappingURL=archetype_graph.d.ts.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { BitSet } from '../../type_primitives/index.js';
|
|
2
2
|
import { Archetype, ArchetypeColumnLayout, ArchetypeID } from './archetype.js';
|
|
3
3
|
import { ComponentID } from './component.js';
|
|
4
|
-
import { ComponentMeta } from './
|
|
4
|
+
import { ComponentMeta } from './store_types.js';
|
|
5
5
|
import { ArchetypeSpec } from '../store/index.js';
|
|
6
|
-
/** What the graph needs from `Store
|
|
6
|
+
/** What the graph needs from `Store`, closure-injected. `extendStore` and
|
|
7
7
|
* `materialize` bind the storage lifecycle (SAB extend + column-store views
|
|
8
|
-
* + grow handler) on the Store side
|
|
9
|
-
* state. All are creation-path only
|
|
8
|
+
* + grow handler) on the Store side. `fanIntoQueries` binds query-registry
|
|
9
|
+
* state. All are creation-path only, never called on an edge-cache hit. */
|
|
10
10
|
export interface ArchetypeGraphHost {
|
|
11
|
-
/** Component field metadata, indexed by ComponentID
|
|
11
|
+
/** Component field metadata, indexed by ComponentID, for building a new
|
|
12
12
|
* archetype's column layouts. */
|
|
13
13
|
readonly componentMetas: () => readonly ComponentMeta[];
|
|
14
14
|
/** Row capacity for a new archetype's column region. */
|
|
15
15
|
readonly initialCapacity: () => number;
|
|
16
16
|
/** Extend the SAB with the new archetypes' column regions (one call for
|
|
17
|
-
* the whole batch
|
|
17
|
+
* the whole batch, the bulk path's O(N²)→O(N) win). */
|
|
18
18
|
readonly extendStore: (specs: ArchetypeSpec[]) => void;
|
|
19
19
|
/** Materialise the `Archetype` over the live column store and attach the
|
|
20
20
|
* store's grow handler. */
|
|
@@ -28,69 +28,69 @@ export declare class ArchetypeGraph {
|
|
|
28
28
|
* and never removed). Store's flush loops hoist this array to a local. */
|
|
29
29
|
readonly archetypes: Archetype[];
|
|
30
30
|
/** Inverted index: ComponentID → ascending list of ArchetypeIDs that contain
|
|
31
|
-
* that component. Indexed
|
|
31
|
+
* that component. Indexed positionally by component id (a small, dense id
|
|
32
32
|
* space, 0..STORE_DESCRIPTOR_COMPONENT_LIMIT-1), so a lookup is an array
|
|
33
33
|
* index, not a Map hash. Used by `getMatchingArchetypes` to start the
|
|
34
34
|
* superset scan from the smallest bucket. Each bucket is a plain push-only
|
|
35
|
-
* array
|
|
35
|
+
* array. Not a Set, and deliberately does not dedup: a (component,
|
|
36
36
|
* archetype) pair can be inserted here at most once (see the "no duplicate
|
|
37
|
-
* pair" invariant on `
|
|
37
|
+
* pair" invariant on `_install`), so there is nothing for a Set
|
|
38
38
|
* to collapse. Archetypes are never removed from a Store, so buckets only
|
|
39
|
-
* grow, in ascending archetype-id order
|
|
40
|
-
* exploited by `
|
|
39
|
+
* grow, in ascending archetype-id order, which is canonical order,
|
|
40
|
+
* exploited by `forEachChangedArchetype` to skip a sort. */
|
|
41
41
|
readonly componentIndex: ArchetypeID[][];
|
|
42
|
-
private readonly
|
|
43
|
-
private
|
|
44
|
-
private readonly
|
|
42
|
+
private readonly _archetypeMap;
|
|
43
|
+
private _nextArchetypeId;
|
|
44
|
+
private readonly _host;
|
|
45
45
|
constructor(host: ArchetypeGraphHost);
|
|
46
46
|
get(id: ArchetypeID): Archetype;
|
|
47
47
|
/**
|
|
48
48
|
* Find or create an archetype for the given component mask.
|
|
49
49
|
* Also updates the componentIndex and pushes into matching registered queries.
|
|
50
50
|
*
|
|
51
|
-
* Hot single-mask path. The bulk batched variant
|
|
52
|
-
* pass at `ecs.startup()
|
|
53
|
-
*
|
|
51
|
+
* Hot single-mask path. The bulk batched variant, used by the prewarm
|
|
52
|
+
* pass at `ecs.startup()`, is `getOrCreateFromMasks`. See `ECS.startup()`
|
|
53
|
+
* for how it gets called and why.
|
|
54
54
|
*/
|
|
55
55
|
getOrCreateFromMask(mask: BitSet): ArchetypeID;
|
|
56
56
|
/**
|
|
57
|
-
* Bulk variant of `getOrCreateFromMask
|
|
57
|
+
* Bulk variant of `getOrCreateFromMask`, the archetype prewarm pass.
|
|
58
58
|
*
|
|
59
59
|
* Given a set of masks, creates Archetypes for the ones not already
|
|
60
|
-
* planted, in a
|
|
61
|
-
* archetype). Single-mask creation is O(N) in archetypes-so-far because
|
|
62
|
-
* the extend has to copy every existing archetype's live rows forward
|
|
60
|
+
* planted, in a single `extendColumnStore` call (instead of one per
|
|
61
|
+
* archetype). Single-mask creation is O(N) in archetypes-so-far, because
|
|
62
|
+
* the extend has to copy every existing archetype's live rows forward.
|
|
63
63
|
* N such calls compound to O(N²). Batching collapses the per-archetype
|
|
64
|
-
* setup-and-copy down to one pass
|
|
64
|
+
* setup-and-copy down to one pass, the per-startup cost goes from
|
|
65
65
|
* O(N²) to O(N) for in-tree systems whose archetype
|
|
66
66
|
* set is known at registration time via `spawns` + `transitions`.
|
|
67
67
|
*
|
|
68
68
|
* Masks already in the map are skipped. Returns the resolved
|
|
69
|
-
* `ArchetypeID` per input mask in input order
|
|
69
|
+
* `ArchetypeID` per input mask in input order, callers that don't need
|
|
70
70
|
* the ids can ignore the return value.
|
|
71
71
|
*/
|
|
72
|
-
|
|
73
|
-
/** Hash-bucketed mask → ArchetypeID lookup
|
|
74
|
-
private
|
|
72
|
+
getOrCreateFromMasks(masks: readonly BitSet[]): ArchetypeID[];
|
|
73
|
+
/** Hash-bucketed mask → ArchetypeID lookup. Null when the mask isn't planted. */
|
|
74
|
+
private _lookup;
|
|
75
75
|
/** Walk the mask's set bits and resolve each non-tag component to its
|
|
76
76
|
* layout. Used by both single and bulk archetype-create paths. */
|
|
77
|
-
private
|
|
77
|
+
private _createLayouts;
|
|
78
78
|
/** Materialise the `Archetype` for `id` (via the host, which binds the
|
|
79
79
|
* live column store + grow handler), register in the archetype map +
|
|
80
80
|
* component index, and fan into any matching registered queries.
|
|
81
81
|
*
|
|
82
|
-
* Clones `mask` before storing
|
|
83
|
-
* they intend to reuse (e.g. `addComponents`
|
|
82
|
+
* Clones `mask` before storing, callers may pass scratch BitSets that
|
|
83
|
+
* they intend to reuse (e.g. the `addComponents` and `removeComponents`
|
|
84
84
|
* `_scratchTargetMask`). The Archetype and the archetypeMap bucket
|
|
85
85
|
* both keep references long-term, so the clone is required for
|
|
86
|
-
* correctness
|
|
86
|
+
* correctness, and is the previously-implicit guarantee made by the
|
|
87
87
|
* mask-allocating callers (`copyWithSet`, `copyWithClear`, etc.). */
|
|
88
|
-
private
|
|
88
|
+
private _install;
|
|
89
89
|
/** Resolve "add component_id to archetype_id" → target ArchetypeID. Caches the edge. */
|
|
90
90
|
resolveAdd(archetypeId: ArchetypeID, componentId: ComponentID): ArchetypeID;
|
|
91
91
|
/** Resolve "remove component_id from archetype_id" → target ArchetypeID. Caches the edge. */
|
|
92
92
|
resolveRemove(archetypeId: ArchetypeID, componentId: ComponentID): ArchetypeID;
|
|
93
|
-
/** Cache a bidirectional add
|
|
94
|
-
private
|
|
93
|
+
/** Cache a bidirectional add and remove edge between two archetypes. */
|
|
94
|
+
private _cacheEdge;
|
|
95
95
|
}
|
|
96
96
|
//# sourceMappingURL=archetype_graph.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archetype_graph.d.ts","sourceRoot":"","sources":["../../../src/core/ecs/archetype_graph.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"archetype_graph.d.ts","sourceRoot":"","sources":["../../../src/core/ecs/archetype_graph.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,EAAE,MAAM,EAAsB,MAAM,uB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;IACI,oBAAoB,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,WAAW,EAAE;IA4DpE,iFAAiF;IACjF,OAAO,CAAC,OAAO;IASf;sEACkE;IAClE,OAAO,CAAC,cAAc;IAmBtB;;;;;;;;;yEASqE;IACrE,OAAO,CAAC,QAAQ;IA0DhB,wFAAwF;IACjF,UAAU,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,GAAG,WAAW;IAUlF,6FAA6F;IACtF,aAAa,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,GAAG,WAAW;IAUrF,wEAAwE;IACxE,OAAO,CAAC,UAAU;CAuBlB"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Brand } from '../../type_primitives/index.cjs';
|
|
2
|
+
import { ComponentID, ComponentDef, ComponentSchema, SchemaOf, DeclaredQueryTerm, ReadonlyColumn } from './component.cjs';
|
|
3
|
+
import { ReadonlyEntityIDArray } from './entity.cjs';
|
|
4
|
+
export type ArchetypeID = Brand<number, "archetype_id">;
|
|
5
|
+
/**
|
|
6
|
+
* Public, read-only window onto an archetype's rows. This is the only
|
|
7
|
+
* surface `Query.archetypes`, `Query.forEach`, and `ChangedQuery.forEach`
|
|
8
|
+
* hand to callers, the concrete `Archetype` (with its structural mutators
|
|
9
|
+
* `swapRemoveRow`, `moveEntityFrom`, `writeFields`, `setEdge`, and the
|
|
10
|
+
* mutable `getColumnMut`) stays internal so query iteration can't bypass the
|
|
11
|
+
* deferred-flush path that prevents iterator invalidation. This is the same
|
|
12
|
+
* back door that is closed for `Store` and closed again for `Query`.
|
|
13
|
+
*
|
|
14
|
+
* `id` is the archetype's opaque identity (not a mutator), exposed so the
|
|
15
|
+
* public `ECS.batchAddComponent` and `batchRemoveComponent` API can target an
|
|
16
|
+
* archetype without the caller holding a concrete `Archetype` reference.
|
|
17
|
+
*/
|
|
18
|
+
export interface ArchetypeView<out Defs extends readonly ComponentDef<any>[] = readonly ComponentDef<any>[]> {
|
|
19
|
+
/** Opaque archetype identity. Pass to `ECS.batchAddComponent` and
|
|
20
|
+
* `ECS.batchRemoveComponent`. */
|
|
21
|
+
readonly id: ArchetypeID;
|
|
22
|
+
/** Number of **enabled** entities, the default-iteration bound. Rows
|
|
23
|
+
* `0..entityCount-1` are enabled. Disabled rows (if any) sit contiguously at
|
|
24
|
+
* `entityCount..totalCount-1`. `forEach` SoA loops read this, so they skip
|
|
25
|
+
* disabled rows for free. Use `totalCount` to span disabled rows too. */
|
|
26
|
+
readonly entityCount: number;
|
|
27
|
+
/** Total live rows, enabled + disabled. Equal to `entityCount` unless
|
|
28
|
+
* some rows are disabled. Use for full-state work (serialization, snapshot,
|
|
29
|
+
* determinism) that must see every entity regardless of enabled state. */
|
|
30
|
+
readonly totalCount: number;
|
|
31
|
+
/** Number of disabled rows = `totalCount - entityCount`. */
|
|
32
|
+
readonly disabledCount: number;
|
|
33
|
+
/** Raw entity ID buffer (packed `EntityID`s). Valid data at indices
|
|
34
|
+
* 0..totalCount-1 (enabled rows first, then disabled). */
|
|
35
|
+
readonly entityIds: ReadonlyEntityIDArray;
|
|
36
|
+
/** True if this archetype's mask includes the given component. */
|
|
37
|
+
hasComponent(id: ComponentID): boolean;
|
|
38
|
+
/** Get a single field's column (read-only). Valid data: indices
|
|
39
|
+
* 0..entityCount-1. `def` must be a term of the iterating query. The
|
|
40
|
+
* bare-`ArchetypeView` default stays permissive. */
|
|
41
|
+
getColumnRead<D extends ComponentDef<any>, K extends string & keyof SchemaOf<D>>(def: D & DeclaredQueryTerm<Defs, D>, field: K): ReadonlyColumn;
|
|
42
|
+
/** Tuple fetch of several of one component's columns,
|
|
43
|
+
* `const [q, r] = arch.getColumnsRead(HexPos, "q", "r")`. One small
|
|
44
|
+
* array allocation per call. See the class doc on `Archetype`. */
|
|
45
|
+
getColumnsRead<D extends ComponentDef<any>, const K extends readonly (string & keyof SchemaOf<D>)[]>(def: D & DeclaredQueryTerm<Defs, D>, ...fields: K): {
|
|
46
|
+
[I in keyof K]: ReadonlyColumn;
|
|
47
|
+
};
|
|
48
|
+
/** Get a single field's column **if this archetype has the component**,
|
|
49
|
+
* else `undefined`, the optional-query fetch-if-present accessor.
|
|
50
|
+
* The absent branch is expected (resolve the column pointer per archetype
|
|
51
|
+
* span: present ⇒ column, absent ⇒ `undefined`), not an error. Same
|
|
52
|
+
* advisory-readonly view and `reads`-access-check as `getColumnRead`. */
|
|
53
|
+
getOptionalColumnRead<S extends ComponentSchema, K extends string & keyof S>(def: ComponentDef<S>, field: K): ReadonlyColumn | undefined;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=archetype_types.d.ts.map
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Brand } from '../../type_primitives/index.js';
|
|
2
|
+
import { ComponentID, ComponentDef, ComponentSchema, SchemaOf, DeclaredQueryTerm, ReadonlyColumn } from './component.js';
|
|
3
|
+
import { ReadonlyEntityIDArray } from './entity.js';
|
|
4
|
+
export type ArchetypeID = Brand<number, "archetype_id">;
|
|
5
|
+
/**
|
|
6
|
+
* Public, read-only window onto an archetype's rows. This is the only
|
|
7
|
+
* surface `Query.archetypes`, `Query.forEach`, and `ChangedQuery.forEach`
|
|
8
|
+
* hand to callers, the concrete `Archetype` (with its structural mutators
|
|
9
|
+
* `swapRemoveRow`, `moveEntityFrom`, `writeFields`, `setEdge`, and the
|
|
10
|
+
* mutable `getColumnMut`) stays internal so query iteration can't bypass the
|
|
11
|
+
* deferred-flush path that prevents iterator invalidation. This is the same
|
|
12
|
+
* back door that is closed for `Store` and closed again for `Query`.
|
|
13
|
+
*
|
|
14
|
+
* `id` is the archetype's opaque identity (not a mutator), exposed so the
|
|
15
|
+
* public `ECS.batchAddComponent` and `batchRemoveComponent` API can target an
|
|
16
|
+
* archetype without the caller holding a concrete `Archetype` reference.
|
|
17
|
+
*/
|
|
18
|
+
export interface ArchetypeView<out Defs extends readonly ComponentDef<any>[] = readonly ComponentDef<any>[]> {
|
|
19
|
+
/** Opaque archetype identity. Pass to `ECS.batchAddComponent` and
|
|
20
|
+
* `ECS.batchRemoveComponent`. */
|
|
21
|
+
readonly id: ArchetypeID;
|
|
22
|
+
/** Number of **enabled** entities, the default-iteration bound. Rows
|
|
23
|
+
* `0..entityCount-1` are enabled. Disabled rows (if any) sit contiguously at
|
|
24
|
+
* `entityCount..totalCount-1`. `forEach` SoA loops read this, so they skip
|
|
25
|
+
* disabled rows for free. Use `totalCount` to span disabled rows too. */
|
|
26
|
+
readonly entityCount: number;
|
|
27
|
+
/** Total live rows, enabled + disabled. Equal to `entityCount` unless
|
|
28
|
+
* some rows are disabled. Use for full-state work (serialization, snapshot,
|
|
29
|
+
* determinism) that must see every entity regardless of enabled state. */
|
|
30
|
+
readonly totalCount: number;
|
|
31
|
+
/** Number of disabled rows = `totalCount - entityCount`. */
|
|
32
|
+
readonly disabledCount: number;
|
|
33
|
+
/** Raw entity ID buffer (packed `EntityID`s). Valid data at indices
|
|
34
|
+
* 0..totalCount-1 (enabled rows first, then disabled). */
|
|
35
|
+
readonly entityIds: ReadonlyEntityIDArray;
|
|
36
|
+
/** True if this archetype's mask includes the given component. */
|
|
37
|
+
hasComponent(id: ComponentID): boolean;
|
|
38
|
+
/** Get a single field's column (read-only). Valid data: indices
|
|
39
|
+
* 0..entityCount-1. `def` must be a term of the iterating query. The
|
|
40
|
+
* bare-`ArchetypeView` default stays permissive. */
|
|
41
|
+
getColumnRead<D extends ComponentDef<any>, K extends string & keyof SchemaOf<D>>(def: D & DeclaredQueryTerm<Defs, D>, field: K): ReadonlyColumn;
|
|
42
|
+
/** Tuple fetch of several of one component's columns,
|
|
43
|
+
* `const [q, r] = arch.getColumnsRead(HexPos, "q", "r")`. One small
|
|
44
|
+
* array allocation per call. See the class doc on `Archetype`. */
|
|
45
|
+
getColumnsRead<D extends ComponentDef<any>, const K extends readonly (string & keyof SchemaOf<D>)[]>(def: D & DeclaredQueryTerm<Defs, D>, ...fields: K): {
|
|
46
|
+
[I in keyof K]: ReadonlyColumn;
|
|
47
|
+
};
|
|
48
|
+
/** Get a single field's column **if this archetype has the component**,
|
|
49
|
+
* else `undefined`, the optional-query fetch-if-present accessor.
|
|
50
|
+
* The absent branch is expected (resolve the column pointer per archetype
|
|
51
|
+
* span: present ⇒ column, absent ⇒ `undefined`), not an error. Same
|
|
52
|
+
* advisory-readonly view and `reads`-access-check as `getColumnRead`. */
|
|
53
|
+
getOptionalColumnRead<S extends ComponentSchema, K extends string & keyof S>(def: ComponentDef<S>, field: K): ReadonlyColumn | undefined;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=archetype_types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"archetype_types.d.ts","sourceRoot":"","sources":["../../../src/core/ecs/archetype_types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;KAaK;AAEL,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,EACX,WAAW,EACX,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,iBAAiB,EACjB,cAAc,EACd,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;AAExD;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,aAAa,CAC7B,GAAG,CAAC,IAAI,SAAS,SAAS,YAAY,CAAC,GAAG,CAAC,EAAE,GAAG,SAAS,YAAY,CAAC,GAAG,CAAC,EAAE;IAE5E;qCACiC;IACjC,QAAQ,CAAC,EAAE,EAAE,WAAW,CAAC;IACzB;;;6EAGyE;IACzE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;8EAE0E;IAC1E,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,4DAA4D;IAC5D,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;8DAC0D;IAC1D,QAAQ,CAAC,SAAS,EAAE,qBAAqB,CAAC;IAC1C,kEAAkE;IAClE,YAAY,CAAC,EAAE,EAAE,WAAW,GAAG,OAAO,CAAC;IACvC;;wDAEoD;IACpD,aAAa,CAAC,CAAC,SAAS,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,QAAQ,CAAC,CAAC,CAAC,EAC9E,GAAG,EAAE,CAAC,GAAG,iBAAiB,CAAC,IAAI,EAAE,CAAC,CAAC,EACnC,KAAK,EAAE,CAAC,GACN,cAAc,CAAC;IAClB;;sEAEkE;IAClE,cAAc,CACb,CAAC,SAAS,YAAY,CAAC,GAAG,CAAC,EAC3B,KAAK,CAAC,CAAC,SAAS,SAAS,CAAC,MAAM,GAAG,MAAM,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,EAEvD,GAAG,EAAE,CAAC,GAAG,iBAAiB,CAAC,IAAI,EAAE,CAAC,CAAC,EACnC,GAAG,MAAM,EAAE,CAAC,GACV;SAAG,CAAC,IAAI,MAAM,CAAC,GAAG,cAAc;KAAE,CAAC;IACtC;;;;6EAIyE;IACzE,qBAAqB,CAAC,CAAC,SAAS,eAAe,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,EAC1E,GAAG,EAAE,YAAY,CAAC,CAAC,CAAC,EACpB,KAAK,EAAE,CAAC,GACN,cAAc,GAAG,SAAS,CAAC;CAC9B"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ArchetypeView } from './archetype_types.cjs';
|
|
2
|
+
import { ComponentHandle } from './component.cjs';
|
|
3
|
+
import { EntityID } from './entity.cjs';
|
|
4
|
+
import { DrainResult, ObservationFlags, StructuralObserverEvents } from './store_types.cjs';
|
|
5
|
+
/** The store's record of what changed, opened to more than one consumer.
|
|
6
|
+
*
|
|
7
|
+
* A plugin asks the store to record a grain, then drains what the store
|
|
8
|
+
* recorded. Several plugins share the feed. The store merges every
|
|
9
|
+
* consumer's ask by OR, and the drains are memoized on their run, so one
|
|
10
|
+
* consumer never takes a record away from another.
|
|
11
|
+
*
|
|
12
|
+
* Two costs a consumer plans around. Asking for the row grain of a component
|
|
13
|
+
* turns on its row tick plane and its dirty list, which every by-id write to
|
|
14
|
+
* that component then pays. Draining hands back store-owned arrays that the
|
|
15
|
+
* next drain reuses, so a consumer copies whatever it keeps past the call. */
|
|
16
|
+
export interface ChangeFeed {
|
|
17
|
+
/** Record what this consumer wants collected for `cid`. `consumer` is the
|
|
18
|
+
* plugin name, and it keys the record the store merges. All-false is
|
|
19
|
+
* the same as never asking. Cold path. */
|
|
20
|
+
configureObservation(consumer: string, cid: number, flags: ObservationFlags): void;
|
|
21
|
+
/** The sparse form: the entity grain of sparse component `sid`, on or off
|
|
22
|
+
* for this consumer. Cold path. */
|
|
23
|
+
configureSparseObservation(consumer: string, sid: number, hasSet: boolean): void;
|
|
24
|
+
/** The rows of `cid` recorded since the last drain. `run` is the change
|
|
25
|
+
* tick of this pass, and it memoizes the drain: two calls at one run give
|
|
26
|
+
* the same object. Once per run per component. */
|
|
27
|
+
drainSet(cid: number, run: number): DrainResult;
|
|
28
|
+
/** The members of sparse component `sid` recorded since the last drain,
|
|
29
|
+
* alive and enabled, in member order. Memoized on `run` like `drainSet`,
|
|
30
|
+
* and the array is store-owned. */
|
|
31
|
+
drainSparseSet(sid: number, run: number): EntityID[];
|
|
32
|
+
/** Visit every non-empty archetype whose `cid` column changed after
|
|
33
|
+
* `baseline`, in canonical order. The archetype grain. Costs one compare
|
|
34
|
+
* per archetype that holds `cid`, and no write path pays for it. */
|
|
35
|
+
forEachChangedArchetype(cid: number, baseline: number, cb: (arch: ArchetypeView) => void): void;
|
|
36
|
+
/** Every live enabled entity that holds `cid`, for a consumer seeding
|
|
37
|
+
* itself with what already exists. Allocates, and walks every row. Cold
|
|
38
|
+
* path. */
|
|
39
|
+
collectEnabledWith(cid: number): EntityID[];
|
|
40
|
+
/** Take one round's structural events. Every hook runs, in install order,
|
|
41
|
+
* on each round of the observed flush. The batch is store-owned scratch
|
|
42
|
+
* that the next round overwrites. Cold path to install, hot per round. */
|
|
43
|
+
addStructuralHook(fn: (ev: StructuralObserverEvents) => void): void;
|
|
44
|
+
/** Tell the store that a component's row ticks changed outside the dirty
|
|
45
|
+
* list, so the next entity-level drain scans the plane. A consumer that
|
|
46
|
+
* stamps a whole archetype at once calls it, because no dirty list saw
|
|
47
|
+
* those rows. */
|
|
48
|
+
noteScan(componentId: number): void;
|
|
49
|
+
isAlive(id: EntityID): boolean;
|
|
50
|
+
isDisabled(id: EntityID): boolean;
|
|
51
|
+
hasComponent(entityId: EntityID, def: ComponentHandle): boolean;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=change_feed.d.ts.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ArchetypeView } from './archetype_types.js';
|
|
2
|
+
import { ComponentHandle } from './component.js';
|
|
3
|
+
import { EntityID } from './entity.js';
|
|
4
|
+
import { DrainResult, ObservationFlags, StructuralObserverEvents } from './store_types.js';
|
|
5
|
+
/** The store's record of what changed, opened to more than one consumer.
|
|
6
|
+
*
|
|
7
|
+
* A plugin asks the store to record a grain, then drains what the store
|
|
8
|
+
* recorded. Several plugins share the feed. The store merges every
|
|
9
|
+
* consumer's ask by OR, and the drains are memoized on their run, so one
|
|
10
|
+
* consumer never takes a record away from another.
|
|
11
|
+
*
|
|
12
|
+
* Two costs a consumer plans around. Asking for the row grain of a component
|
|
13
|
+
* turns on its row tick plane and its dirty list, which every by-id write to
|
|
14
|
+
* that component then pays. Draining hands back store-owned arrays that the
|
|
15
|
+
* next drain reuses, so a consumer copies whatever it keeps past the call. */
|
|
16
|
+
export interface ChangeFeed {
|
|
17
|
+
/** Record what this consumer wants collected for `cid`. `consumer` is the
|
|
18
|
+
* plugin name, and it keys the record the store merges. All-false is
|
|
19
|
+
* the same as never asking. Cold path. */
|
|
20
|
+
configureObservation(consumer: string, cid: number, flags: ObservationFlags): void;
|
|
21
|
+
/** The sparse form: the entity grain of sparse component `sid`, on or off
|
|
22
|
+
* for this consumer. Cold path. */
|
|
23
|
+
configureSparseObservation(consumer: string, sid: number, hasSet: boolean): void;
|
|
24
|
+
/** The rows of `cid` recorded since the last drain. `run` is the change
|
|
25
|
+
* tick of this pass, and it memoizes the drain: two calls at one run give
|
|
26
|
+
* the same object. Once per run per component. */
|
|
27
|
+
drainSet(cid: number, run: number): DrainResult;
|
|
28
|
+
/** The members of sparse component `sid` recorded since the last drain,
|
|
29
|
+
* alive and enabled, in member order. Memoized on `run` like `drainSet`,
|
|
30
|
+
* and the array is store-owned. */
|
|
31
|
+
drainSparseSet(sid: number, run: number): EntityID[];
|
|
32
|
+
/** Visit every non-empty archetype whose `cid` column changed after
|
|
33
|
+
* `baseline`, in canonical order. The archetype grain. Costs one compare
|
|
34
|
+
* per archetype that holds `cid`, and no write path pays for it. */
|
|
35
|
+
forEachChangedArchetype(cid: number, baseline: number, cb: (arch: ArchetypeView) => void): void;
|
|
36
|
+
/** Every live enabled entity that holds `cid`, for a consumer seeding
|
|
37
|
+
* itself with what already exists. Allocates, and walks every row. Cold
|
|
38
|
+
* path. */
|
|
39
|
+
collectEnabledWith(cid: number): EntityID[];
|
|
40
|
+
/** Take one round's structural events. Every hook runs, in install order,
|
|
41
|
+
* on each round of the observed flush. The batch is store-owned scratch
|
|
42
|
+
* that the next round overwrites. Cold path to install, hot per round. */
|
|
43
|
+
addStructuralHook(fn: (ev: StructuralObserverEvents) => void): void;
|
|
44
|
+
/** Tell the store that a component's row ticks changed outside the dirty
|
|
45
|
+
* list, so the next entity-level drain scans the plane. A consumer that
|
|
46
|
+
* stamps a whole archetype at once calls it, because no dirty list saw
|
|
47
|
+
* those rows. */
|
|
48
|
+
noteScan(componentId: number): void;
|
|
49
|
+
isAlive(id: EntityID): boolean;
|
|
50
|
+
isDisabled(id: EntityID): boolean;
|
|
51
|
+
hasComponent(entityId: EntityID, def: ComponentHandle): boolean;
|
|
52
|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