PluginState

PluginState is a class the encapsulates all run-time state required for a plugin to exist. It's purpose is to allow for hot-reloading and replacing of plugin code, without destroy/rebuilding run-time data.

Constructors

this
this(Plugin plugin, PluginOptions opts)
Undocumented in source.

Members

Variables

config
Storage config;

Plugin JSON Config file

options
PluginOptions options;

PluginOptions struct *

storage
Storage storage;

Plugin JSON Storage file (for data)

Meta