Plugins: Refactor existing interfaces into ILoadPipeline
This commit is contained in:
@@ -40,8 +40,16 @@ namespace Il2CppInspector.PluginAPI.V100
|
||||
public string Description { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Plugin options
|
||||
/// Plugin options with their current values (or default values on startup where applicable)
|
||||
/// </summary>
|
||||
public List<IPluginOption> Options { get; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Executes when the plugin's options are updated by the user
|
||||
/// Not called on first load (with the default, possibly incomplete options provided by the plugin author)
|
||||
/// Do not perform any long-running operations here
|
||||
/// Implementation is optional. The default is to do nothing
|
||||
/// </summary>
|
||||
void OptionsChanged(PluginOptionsChangedEventInfo e) { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user