resolveSystem

function resolveSystem
universe/src/galaxy.ts:379
resolveSystem(galaxySeed: Seed, catalog: StarCatalog, id: SystemId) → SystemStub | undefined

Resolve any system id to its stub without a global index.

Catalog ids hit the table; procedural ids decode to a cell and regenerate it. Either way the answer does not depend on what is currently loaded, which is what lets a save file reference a system nobody has visited.

galaxySeedSeed
Undocumented
catalogStarCatalog
Undocumented
idSystemId
Undocumented
ReturnsSystemStub | undefined