2022-08-21 08:39:16 +00:00
|
|
|
using System.Collections.Generic;
|
2022-05-03 01:11:31 +00:00
|
|
|
|
|
|
|
namespace PKHeX.Core;
|
|
|
|
|
2022-08-21 08:39:16 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Source that stores move display state.
|
|
|
|
/// </summary>
|
|
|
|
/// <typeparam name="T"></typeparam>
|
2022-05-03 01:11:31 +00:00
|
|
|
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; }
|
|
|
|
}
|