From 69d7f47795e0c5f171a35661496b7489ff29b534 Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Sun, 5 Jan 2020 02:12:14 -0600 Subject: [PATCH] More documentation --- .../PluginInterfaces/Attributes/PluginAttribute.cs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/IPA.Loader/PluginInterfaces/Attributes/PluginAttribute.cs b/IPA.Loader/PluginInterfaces/Attributes/PluginAttribute.cs index b39ceb22..d44d1044 100644 --- a/IPA.Loader/PluginInterfaces/Attributes/PluginAttribute.cs +++ b/IPA.Loader/PluginInterfaces/Attributes/PluginAttribute.cs @@ -43,16 +43,18 @@ namespace IPA public enum RuntimeOptions { /// + /// /// Indicates that this plugin expects to be initialized and enabled with the game, and disabled with the game. - /// - /// + /// + /// /// With this option set, whether or not the plugin is disabled during a given run is constant for that entire run. - /// + /// + /// SingleStartInit, /// + /// /// Indicates that this plugin supports runtime enabling and disabling. - /// - /// + /// /// /// When this is set, the plugin may be disabled at reasonable points during runtime. As with , /// it will be initialized and enabled with the game if it is enabled on startup, and disabled with the game if it is enabled @@ -66,7 +68,7 @@ namespace IPA /// When a plugin with this set is disabled mid-game, the plugin instance will NOT be destroyed, and will instead be /// re-used for subsequent enables. The plugin is expected to handle this gracefully, and behave in a way that makes sense. /// - /// + /// DynamicInit }