private string GetSpawnGroupKey(SpawnGroup spawnGroup, MonumentInfo[] monuments, Dictionary <SpawnGroup, int> indexes) { if (!indexes.ContainsKey(spawnGroup)) { return("unkown"); } var index = indexes[spawnGroup]; return($"{GetSpawnGroupId(spawnGroup, monuments)}{(index > 0 ? $"_{index}" : string.Empty)}"); }
private string GetSpawnGroupKey(SpawnGroup spawnGroup, MonumentInfo[] monuments, Dictionary <SpawnGroup, int> indexes) { var index = indexes[spawnGroup]; return($"{GetSpawnGroupId(spawnGroup, monuments)}{(index > 0 ? $"_{index}" : string.Empty)}"); }