namespace Misaki.GraphView { public interface ISlotContainer { /// /// Add the slot to the container. /// /// The slot want to add public void AddSlot(Slot slot); /// /// Remove the slot from the container. /// /// The slot want to remove public void RemoveSlot(Slot slot); /// /// Get the slot by the index and direction. /// /// Index of the slot /// Direction of the slot /// The slot that matches the index and direction public Slot GetSlot(int index, SlotDirection direction); /// /// Unlink all the slots of the node. /// public void UnlinkAllSlots(); } }