PKHeX/PKHeX.Core/Editing/ISaveFileProvider.cs
Kurt 857919bd28 Add basic plugin sys
reference PKHeX.Core, main window loads assemblies & initializes
providing an ISaveProvider and the menustrip control (to insert controls
into)

pretty rough but should allow for inserting external control buttons &
allowing it to edit the UI a little

example: https://github.com/kwsch/PKHeXPluginExample
feedback is appreciated
2018-05-13 12:49:29 -07:00

23 lines
662 B
C#

namespace PKHeX.Core
{
/// <summary>
/// Simple interface representing a Save File viewer.
/// </summary>
public interface ISaveFileProvider
{
/// <summary>
/// Retrieves the save file the <see cref="ISaveFileProvider"/> has control over.
/// </summary>
SaveFile SAV { get; }
/// <summary>
/// Retrieves the current box the <see cref="ISaveFileProvider"/> has control over.
/// </summary>
int CurrentBox { get; }
/// <summary>
/// Triggers a refresh of any individual <see cref="PKM"/> view slots.
/// </summary>
void ReloadSlots();
}
}