namespace PKHeX.Core
{
///
/// Plugin interface used by an editor to notify third-party code providers.
///
public interface IPlugin
{
///
/// Plugin Name.
///
string Name { get; }
///
/// Plugin Loading Priority (lowest is initialized first).
///
int Priority { get; }
///
/// Entrypoint for the parent to initialize the plugin with provided arguments.
///
/// Arguments containing objects useful for initializing the plugin.
void Initialize(params object[] args);
///
/// Notifies the plugin that a save file was just loaded.
///
void NotifySaveLoaded();
///
/// Attempts to load a file using the plugin.
///
/// Path to file to be loaded.
///
bool TryLoadFile(string filePath);
///
/// Retrieves the object which can provide a .
///
ISaveFileProvider SaveFileEditor { get; }
}
}