2022-06-18 18:04:24 +00:00
|
|
|
|
namespace PKHeX.Core;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Simple interface representing a Save File viewer.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface ISaveFileProvider
|
2018-05-13 19:49:26 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-06-18 18:04:24 +00:00
|
|
|
|
/// Retrieves the save file the <see cref="ISaveFileProvider"/> has control over.
|
2018-05-13 19:49:26 +00:00
|
|
|
|
/// </summary>
|
2022-06-18 18:04:24 +00:00
|
|
|
|
SaveFile SAV { get; }
|
2018-05-13 19:49:26 +00:00
|
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Retrieves the current box the <see cref="ISaveFileProvider"/> has control over.
|
|
|
|
|
/// </summary>
|
|
|
|
|
int CurrentBox { get; }
|
2018-05-13 19:49:26 +00:00
|
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Triggers a refresh of any individual <see cref="PKM"/> view slots.
|
|
|
|
|
/// </summary>
|
|
|
|
|
void ReloadSlots();
|
2018-05-13 19:49:26 +00:00
|
|
|
|
}
|