Factories for templates and objects, Sztl parsing
This commit is contained in:
@@ -1,14 +1,24 @@
|
||||
using System.Collections.Generic;
|
||||
using SessionZero.Data.Sztl;
|
||||
using Tomlyn.Model;
|
||||
|
||||
namespace SessionZero.Data;
|
||||
|
||||
public class SzTemplate
|
||||
{
|
||||
public string TemplateType { get; set; }
|
||||
public string Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string DataType { get; set; }
|
||||
public string Uuid { get; set; }
|
||||
public string Version { get; set; }
|
||||
public List<string> CompatibleSystems { get; set; }
|
||||
public string Description { get; set; }
|
||||
|
||||
public Dictionary<string, SztlField> Fields { get; set; } = new();
|
||||
public Dictionary<string, SztlFieldGroup> SubGroups { get; set; } = new();
|
||||
|
||||
|
||||
public virtual void ParseAdditionalMetaData(TomlTable table)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user