using System; namespace PKHeX.Core; /// /// Base class for defining a manipulation of box data. /// public abstract class BoxManipBase : IBoxManip { public BoxManipType Type { get; } public Func Usable { get; } protected BoxManipBase(BoxManipType type, Func usable) { Type = type; Usable = usable; } public abstract string GetPrompt(bool all); public abstract string GetFail(bool all); public abstract string GetSuccess(bool all); public abstract int Execute(SaveFile sav, BoxManipParam param); }