SavePlugin
Defined in: packages/save/src/SavePlugin.ts:18
Registers a Save instance under SaveServiceKey so components can resolve it
via this.use(SaveServiceKey) for in-game persistence.
Implements
Section titled “Implements”Plugin
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SavePlugin(
options):SavePlugin
Defined in: packages/save/src/SavePlugin.ts:24
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”SavePlugin
Properties
Section titled “Properties”
readonlyname:"save"="save"
Defined in: packages/save/src/SavePlugin.ts:19
Unique plugin name.
Implementation of
Section titled “Implementation of”Plugin.name
version
Section titled “version”
readonlyversion:"1.0.0"="1.0.0"
Defined in: packages/save/src/SavePlugin.ts:20
Semantic version string.
Implementation of
Section titled “Implementation of”Plugin.version
Methods
Section titled “Methods”install()
Section titled “install()”install(
context):void
Defined in: packages/save/src/SavePlugin.ts:28
Install services into the engine context. Called in topological order.
Parameters
Section titled “Parameters”context
Section titled “context”EngineContext
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Plugin.install