mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 06:34:19 +00:00
18 lines
534 B
C#
18 lines
534 B
C#
using System.Collections.Generic;
|
|
|
|
namespace PKHeX.Core;
|
|
|
|
/// <summary>
|
|
/// Source that stores move display state.
|
|
/// </summary>
|
|
/// <typeparam name="T"></typeparam>
|
|
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; }
|
|
}
|