public EcoBlueprint(float version, string ecoVersion, AuthorInformation author, List <WorldEditBlock> blocks, List <WorldEditBlock> plants, List <WorldEditBlock> objects) { this.Version = version; this.EcoVersion = ecoVersion; this.Blocks = blocks; this.Plants = plants; this.Objects = objects; this.Author = author ?? AuthorInformation.Unowned(); }
public static EcoBlueprint Create(List <WorldEditBlock> blocks, List <WorldEditBlock> plants, List <WorldEditBlock> worldObjects, AuthorInformation author) { EcoBlueprint schematic = new EcoBlueprint(); schematic.Version = WorldEditSerializer.CurrentVersion; schematic.EcoVersion = Shared.EcoVersion.VersionNumber; schematic.Blocks = blocks; schematic.Plants = plants; schematic.Objects = worldObjects; schematic.Author = author; return(schematic); }
public EcoBlueprintInfo(float version, string ecoVersion, AuthorInformation author) : this() { this.Version = version; this.EcoVersion = ecoVersion; this.Author = author ?? AuthorInformation.Unowned(); }