コード例 #1
0
 public string GenerateObjectDataPath(Episode1Map map, int basemap, int variation)
 {
     return(Path.Combine(RootPath, $"{GenerateDataFileName(map, basemap, variation)}o{Extension}"));
 }
コード例 #2
0
 //TODO: Refactor/doc
 /// <summary>
 /// Builds the file name path for the n.rel (n.bytes now) that contains
 /// section information.
 /// </summary>
 /// <param name="map"></param>
 /// <param name="basemap"></param>
 /// <returns></returns>
 public string GenerateSectionDataPath(Episode1Map map, int basemap)
 {
     return(Path.Combine(RootPath, $"map_{map.ToString().ToLower()}_{basemap:00}n{Extension}"));
 }
コード例 #3
0
 //TODO: Should we make generic? Should we add overloads?
 public string GenerateDataFileName(Episode1Map map, int basemap, int variation)
 {
     return($"map_{map.ToString().ToLower()}_{basemap:00}_{variation:00}");
 }