Skip to content

GameboardInteropSnapshotIndex

Defined in: src/interop/interop.ts:418

Indexes for fast relation and entity lookup from an interop snapshot.

entitiesById: ReadonlyMap<string, GameboardInteropEntity>

Defined in: src/interop/interop.ts:420

Entities keyed by id.


relations: readonly GameboardEcsRelation[]

Defined in: src/interop/interop.ts:422

All relations.


relationsByName: ReadonlyMap<GameboardEcsRelationName, readonly GameboardEcsRelation[]>

Defined in: src/interop/interop.ts:424

Relations grouped by relation name.


relationsFromId: ReadonlyMap<string, readonly GameboardEcsRelation[]>

Defined in: src/interop/interop.ts:426

Relations grouped by source id.


relationsToId: ReadonlyMap<string, readonly GameboardEcsRelation[]>

Defined in: src/interop/interop.ts:428

Relations grouped by target id.