SuspendingPluginContainer

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

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val pluginContainer: <Error class: unknown class>

Gets the plugin container.

Functions

Link copied to clipboard
fun onGameInitializeEvent(event: <Error class: unknown class>)

At the earliest possible moment at the earliest game construction event the plugin instance is swapped with a suspending listener.

Link copied to clipboard
fun setContainer(pluginContainer: <Error class: unknown class>)

Registers this instance as a listener.