namespace PKHeX.Core
{
///
/// Tuple containing data for a and the originating
///
///
public sealed class SlotViewInfo
{
public ISlotInfo Slot;
public ISlotViewer View;
public PKM ReadCurrent() => Slot.Read(View.SAV);
public bool CanWriteTo() => Slot.CanWriteTo(View.SAV);
public WriteBlockedMessage CanWriteTo(PKM pkm) => Slot.CanWriteTo(View.SAV, pkm);
}
}