Saxonberg Server API
    Preparing search index...

    Public shape provided by SpawnerMixin.

    interface Spawner {
        getSpawned(): ReadonlySet<Stuff & Spawned>;
        hasSpawned(spawned: Stuff & Spawned): boolean;
        trackSpawn(spawned: Stuff & Spawned): void;
        untrackSpawn(spawned: Stuff & Spawned): boolean;
    }
    Index

    Methods

    • Drop spawned from this Spawner's runtime collection. Returns true if it was present. Used by Spawned.cleanupOnDestruct for R2.4 symmetric cleanup; also callable by content code that wants to transfer ownership of a spawn elsewhere.

      Parameters

      Returns boolean