2024-05-08 10:22:04 +00:00
|
|
|
|
namespace ColdMint.scripts.map.interfaces;
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
2024-05-10 14:56:27 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>Room provider</para>
|
|
|
|
|
/// <para>房间提供者</para>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <remarks>
|
|
|
|
|
///<para>Responsible for providing room templates for map generator.</para>
|
|
|
|
|
///<para>负责为地图生成器提供房间模板。</para>
|
|
|
|
|
/// </remarks>
|
2024-04-28 13:55:19 +00:00
|
|
|
|
public interface IRoomProvider
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>Initial room</para>
|
|
|
|
|
/// <para>初始房间</para>
|
|
|
|
|
/// </summary>
|
2024-05-08 10:22:04 +00:00
|
|
|
|
IRoomTemplate? InitialRoom { get; set; }
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>Acquire room assets</para>
|
|
|
|
|
/// <para>获取房间资产</para>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="index"></param>
|
|
|
|
|
/// <param name="config"></param>
|
|
|
|
|
/// <returns></returns>
|
2024-05-08 10:22:04 +00:00
|
|
|
|
IRoomTemplate? GetRoomRes(int index, IMapGeneratorConfig config);
|
2024-04-28 13:55:19 +00:00
|
|
|
|
}
|