Laying down the groundwork for data

This commit is contained in:
2025-11-29 23:22:04 -06:00
parent c749434d07
commit 7c98bc3a89
8 changed files with 97 additions and 0 deletions

View File

@@ -6,6 +6,17 @@ public class SztlField
{
public required string Id { get; set; }
public required SztlFieldType FieldType { get; set; }
public object? Value { get; set; } = null;
public bool TrySetValue()
{
throw new NotImplementedException();
}
public T TryGetValue<T>()
{
throw new NotImplementedException();
}
}
public enum SztlFieldType

View File

@@ -0,0 +1,9 @@
using System.Collections.Generic;
namespace SessionZero.Data.Sztl;
public class SztlFieldGroup
{
public List<SztlField> Fields { get; set; } = [];
public List<SztlFieldGroup> SubGroups { get; set; } = [];
}

View File

@@ -0,0 +1,7 @@
namespace SessionZero.Data.Sztl;
public class SztlTemplate
{
}

View File

@@ -0,0 +1,9 @@
namespace SessionZero.Data.Sztl;
public class SztlTokenizer
{
enum TokenType
{
// TODO: Add token types
}
}