mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-30 15:59:13 +00:00
857919bd28
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
23 lines
662 B
C#
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();
|
|
}
|
|
}
|