Scripting Feature Request: Expose more of the MVRPluginManager interface

JayJayWon

Well-known member
Featured Contributor
Messages
567
Reactions
1,754
Points
93
Patreon
JayJayWon
Most of the methods and attributes of this class are currently protected which makes it difficult to add or remove plugins by script. Ideally we would have access to CreatePlugin, RemovePlugin, RemoveAllPlugins and the plugins List.

I suspect this may have been locked down on purpose, but various workarounds have already been identified by the community by using the LastRestoreFromJSON method (which is still public). The disadvantage of these workarounds is that it always forces all plugins to reload when you add or remove a single plugin (which can result in the other plugin losing their internal state).
 
Back
Top Bottom