using System.Threading.Tasks; using Godot; namespace ColdMint.scripts.map.interfaces; /// /// Room injection processor /// 房间注入处理器 /// public interface IRoomInjectionProcessor { /// /// The room injection processor has an ID /// 房间注入处理器有一个ID /// /// public string GetId(); /// /// Whether it can be placed on the map /// 是否能够被放置到地图内 /// /// ///Random probability generator based on world seed ///根据世界种子确定的随机概率生成器 /// /// ///Inject data into the processor ///注入处理器的数据 /// /// public Task CanBePlaced(RandomNumberGenerator randomNumberGenerator, string? yamlConfigData); }