/* Copyright 2020-2021 Katy Coe - http://www.djkaty.com - https://github.com/djkaty All rights reserved. */ using System.Collections.Generic; namespace Il2CppInspector.PluginAPI.V100 { /// /// Core interface that all plugins must implement /// public partial interface IPlugin { /// /// Plugin name for CLI and unique ID /// public string Id { get; } /// /// Human-readable plugin name /// public string Name { get; } /// /// Nickname of the plugiin author /// public string Author { get; } /// /// Human-readable version string for the plugin /// Always use lexical order: version string may be used for updates /// public string Version { get; } /// /// Description of the plugin /// public string Description { get; } /// /// Plugin options with their current values (or default values on startup where applicable) /// public List Options { get; } /// /// 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 /// void OptionsChanged(PluginOptionsChangedEventInfo e) { } } }