Saxonberg Server API
    Preparing search index...
    • EnvironmentMixin factory. The class form is @Unshadowable only on the privacy-gated methods (setSetting, unsetSetting); other methods remain shadowable for tracing / extension.

      Type Parameters

      Parameters

      Returns {
          _mixinName: string;
          commandContributions: CommandContributions;
          persistentFields: string[];
          prototype: __type<any>;
          settings: SettingsSchemaEntry<unknown>[];
          new (...args: any[]): __type;
      } & TBase

        • new (...args: any[]): __type
        • Parameters

          • ...args: any[]

          Returns __type

      • _mixinName: string
      • commandContributions: CommandContributions

        Player-facing commands that operate on this mixin's stores. Picked up by CommandGiver discovery via the self slot.

      • persistentFields: string[]

        Persistent fields declared by this mixin. The Hydrator uses this list; persistentStore is a plain Record so it round-trips through Mongo without a custom handler.

      • prototype: __type<any>
      • settings: SettingsSchemaEntry<unknown>[]

        Shell-tier settings the substrate owns. The substrate historically declared none (D6); shell.interpolate-vars lives here because it gates a substrate-wide behavior that keys off EnvironmentMixin's presence — declaring it elsewhere would split the contract.