// Vanilla: Path e.g. "/UserMarkers/ShaderMisses/0.435.3 LCM illum" // Displayed: DisplayPath e.g. "/UserMarkers/ShaderMisses/LCM illum" public string[] GetPathLocations(ERDIPathType type) { string[] baseLocations = BasePath.PathLocations(); string[] locations = new string[baseLocations.Length + 1]; baseLocations.CopyTo(locations, 0); switch (type) { case ERDIPathType.Vanilla: if (Name == "") { return(baseLocations); } locations[locations.Length - 1] = Name; break; case ERDIPathType.Displayed: if (DisplayName == "") { return(baseLocations); } locations[locations.Length - 1] = DisplayName; break; } return(locations); }