Template StateSyncable

The StateSyncable template is an implementation which handles the syncing of member attributes into are PluginState.custom store during plugin load/unload. This allows plugin developers to simply attach the @Synced UDA to any attributes they wish to be stored, and then call stateLoad and stateUnload in the plugin load/unload functions.

Arguments

template StateSyncable();

Functions

Function name Description
stateLoad Loads all custom attribute state from a PluginState.
stateUnload Unloads all custom attributes into a PluginState.