Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
ec8901f9fThis file is pinned to the selected release. Download the original to open it in your design tool.
using Godot;
using Godot.Collections;
namespace OpenScadGraphEditor.Library.IO
{
/// <summary>
/// A saved project.
/// </summary>
public class SavedProject : Resource
{
/// <summary>
/// The functions defined in the project
/// </summary>
[Export] public Array<SavedGraph> Functions = new Array<SavedGraph>();
/// <summary>
/// The modules defined in the project
/// </summary>
[Export] public Array<SavedGraph> Modules = new Array<SavedGraph>();
/// <summary>
/// The main module.
/// </summary>
[Export] public SavedGraph MainModule;
/// <summary>
/// All defined variables.
/// </summary>
[Export] public Array<SavedVariableDescription> Variables = new Array<SavedVariableDescription>();
/// <summary>
/// All references to external files.
/// </summary>
[Export]
public Array<SavedExternalReference> ExternalReferences = new Array<SavedExternalReference>();
/// <summary>
/// The preamble to use for the project.
/// </summary>
[Export] public string Preamble = "";
}
}