using System.Threading.Tasks; using ColdMint.scripts.map.dateBean; using ColdMint.scripts.map.room; namespace ColdMint.scripts.map.interfaces; /// /// IRoomSlotsMatcher /// 房间插槽匹配器 /// public interface IRoomSlotsMatcher { /// /// Whether the slots of the two rooms can be matched /// 两个房间的插槽是否可匹配 /// /// /// /// Task IsMatch(Room? mainRoom, Room newRoom); /// /// LastMatchedMainSlot /// 最后匹配的主要插槽 /// RoomSlot? LastMatchedMainSlot { get; } /// /// LastMatchedMinorSlot /// 最后匹配的次要插槽 /// RoomSlot? LastMatchedMinorSlot { get; } }