Suspending Plugin Container
class SuspendingPluginContainer
Content copied to clipboard
When injecting this class into one instance of your plugin, the instance of your plugin automatically becomes a suspending listener, so you can append suspend to any of your startup methods.
Constructors
SuspendingPluginContainer
Link copied to clipboard
fun SuspendingPluginContainer()
Content copied to clipboard
Functions
on Game Initialize Event
Link copied to clipboard
At the earliest possible moment at the earliest game construction event the plugin instance is swapped with a suspending listener.
set Container
Link copied to clipboard
Registers this instance as a listener.
Properties
pluginContainer
Link copied to clipboard