Remove Map requirement from IMapGeneratorInfo.GetSettings.

This commit is contained in:
Paul Chote
2025-03-02 08:50:13 +00:00
committed by Gustas Kažukauskas
parent 23b7b56c28
commit e022744b0a
6 changed files with 17 additions and 15 deletions

View File

@@ -975,10 +975,10 @@ namespace OpenRA.Mods.Common.Traits
string Name { get; }
/// <summary>
/// Get the generator settings available for this map.
/// Returns null if not compatible with the given map.
/// Get the generator settings available for this tileset.
/// Returns null if not compatible with the given tileset.
/// </summary>
MapGeneratorSettings GetSettings(Map map);
MapGeneratorSettings GetSettings(ITerrainInfo terrainInfo);
/// <summary>
/// Generate or manipulate a supplied map in-place.