mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-24 11:23:11 +00:00
41578132cf
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
14 lines
428 B
C#
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; }
|
|
}
|