Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

PluginFactory

PluginFactory<Args, Made> = FactoryCall<Args, Made> & PluginFactoryHandles<Made>

A plugin’s factory, which definePlugin makes and which carries the plugin’s handles: behaviours, whose call a game lists and whose behaviours.systems name its systems.

Type Parameter Default type
Args extends unknown[] never[]
Made extends Plugin Plugin