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.

Members

Variables

config
Storage config;

Plugin JSON Config file

custom
Variant[string] custom;

Custom state data stored by the plugin

options
PluginOptions options;

PluginOptions struct

storage
Storage storage;

Plugin JSON Storage file (for data)

Meta