public void CreateNew(Vector3S size, string filePath, string mapName) { _cwMap = new Classicworld(size.X, size.Z, size.Y) { MapName = mapName, GeneratingSoftware = "Hypercube", GeneratorName = "Blank", CreatingUsername = "******", CreatingService = "Classicube", SpawnX = (short)(size.X / 2), SpawnY = (short)(size.Z / 2), SpawnZ = (short)(size.Y / 2), }; _currentFilePath = filePath; _cwMap.Save(filePath); }
public bool Save(string filePath) { _cwMap.Save(filePath); return(true); }