/// <summary> /// Gets the short name for the world /// </summary> /// <returns>The short world name</returns> public override string GetShortWorldName(R1_World world) { switch (world) { case R1_World.Jungle: return("JUN"); case R1_World.Music: return("MUS"); case R1_World.Mountain: return("MON"); case R1_World.Image: return("IMG"); case R1_World.Cave: return("CAV"); case R1_World.Cake: return("CAK"); default: throw new ArgumentOutOfRangeException(nameof(world), world, null); } }
/// <summary> /// Gets the folder path for the specified world /// </summary> /// <param name="world">The world</param> /// <returns>The world folder path</returns> public string GetWorldFolderPath(R1_World world) => GetWorldName(world) + "/";
public string GetEventManfiestFilePath(R1_World world) => GetWorldFolderPath(world) + $"EVE.MLT";
/// <summary> /// Gets the folder path for the specified world /// </summary> /// <param name="world">The world</param> /// <returns>The world folder path</returns> public virtual string GetWorldFolderPath(R1_World world) => GetDataPath() + GetWorldName(world) + "/";
/// <summary> /// Gets the name for the world /// </summary> /// <returns>The world name</returns> public override string GetWorldName(R1_World world) => base.GetWorldName(world).Substring(1);
/// <summary> /// Gets the folder path for the specified world /// </summary> /// <param name="world">The world</param> /// <returns>The world folder path</returns> public override string GetWorldFolderPath(R1_World world) => String.Empty;