InstallationScope

Encapsulates the scope provided to an EnginePlugin during the install event, allowing plugins to access the lifecycle and configuration during installation.

Properties

Link copied to clipboard

The general configuration scope, used for retrieving installed plugins, as well as installing additional ones. Generic engine options can also be updated through this property.

Link copied to clipboard

The lifecycle for the engine being configured. Use this to receive specific events while the plugin instance is attached to the engine.

Functions

Link copied to clipboard
abstract fun deferred(block: () -> Unit)

Register a deferred block which runs after all other plugin init tasks.

Link copied to clipboard
abstract fun registerBundle(resource: URL)

Register a VFS bundle which should be made available when this plug-in is operational.

Link copied to clipboard
abstract fun registeredBundles(): List<URL>

Return the current list of resources which should be made available for this plug-in; the resulting list is a read-only copy.