using System.Collections.Generic; namespace PKHeX.Core; /// /// Slot Viewer that shows many slots of data. /// /// Object that displays the slot. public interface ISlotViewer { /// /// Current index the viewer is viewing. /// int ViewIndex { get; } /// /// Notification that the slot is no longer the last interacted slot. /// /// Last interacted slot void NotifySlotOld(ISlotInfo previous); /// /// Notification that the has just been interacted with. /// /// Last interacted slot /// Last interacted slot interaction type /// Last interacted slot interaction data void NotifySlotChanged(ISlotInfo slot, SlotTouchType type, PKM pk); /// /// Gets the information for the requested slot's view picture. /// /// ISlotInfo GetSlotData(T view); /// /// Gets the index of the view within the 's list of slots. /// /// int GetViewIndex(ISlotInfo slot); /// /// List of views the is showing. /// IList SlotPictureBoxes { get; } /// /// Save data the is showing data from. /// SaveFile SAV { get; } }