2018-09-02 18:31:34 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
2021-12-10 02:58:30 +00:00
|
|
|
|
namespace PKHeX.Core;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Base interface for all box manipulation actions.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IBoxManip
|
2018-09-02 18:31:34 +00:00
|
|
|
|
{
|
2021-12-10 02:58:30 +00:00
|
|
|
|
BoxManipType Type { get; }
|
|
|
|
|
Func<SaveFile, bool> Usable { get; }
|
2018-09-02 18:31:34 +00:00
|
|
|
|
|
2021-12-10 02:58:30 +00:00
|
|
|
|
string GetPrompt(bool all);
|
|
|
|
|
string GetFail(bool all);
|
|
|
|
|
string GetSuccess(bool all);
|
2018-09-02 18:31:34 +00:00
|
|
|
|
|
2021-12-10 02:58:30 +00:00
|
|
|
|
int Execute(SaveFile sav, BoxManipParam param);
|
|
|
|
|
}
|