PKHeX/PKHeX.Core/Editing/PKM/ILegalMoveDisplaySource.cs
Kurt 41578132cf Minor tweaks
Add Get/Set Relearn method to PKM.cs
Alpha Mastered move now indicates incomplete text entry (like moves/relearn)
Split up legal move indication helper class, use DI to allow other implementations of DataSource to be returned (pkhex mobile?).
Remove unused gender refresh method (see previous added UserControl commit)
Add helper method to center control within control
2022-05-02 18:11:31 -07:00

14 lines
428 B
C#

using System.Collections.Generic;
namespace PKHeX.Core;
public interface ILegalMoveDisplaySource<T>
{
void ReloadMoves(LegalMoveInfo info);
void ReloadMoves(IReadOnlyList<T> moves);
bool GetIsMoveBoxOrdered(int index);
void SetIsMoveBoxOrdered(int index, bool value);
/// <summary> Creates a shallow copy of the array reference for use in binding. </summary>
IReadOnlyList<T> DataSource { get; }
}