blob: 321c49c6aee9a81800656b9999a47c386fe7104d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
using System;
using System.Collections.Generic;
namespace UVtools.Core.Scripting
{
public sealed class ScriptConfiguration
{
/// <summary>
/// Gets the script name
/// </summary>
public string Name { get; set; } = "Unnamed script";
/// <summary>
/// Gets the script description of what it does
/// </summary>
public string Description { get; set; } = "I don't know my purpose, do not run me!";
/// <summary>
/// Gets the script author name
/// </summary>
public string Author { get; set; } = "Undefined";
/// <summary>
/// Gets the script version
/// </summary>
public Version Version { get; set; } = new(0, 1);
/// <summary>
/// List of user inputs to show on GUI for configuration of the script
/// </summary>
public List<ScriptBaseInput> UserInputs { get; } = new();
}
}
|