Laying down the groundwork for data
This commit is contained in:
@@ -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
|
||||
|
||||
9
SessionZero/Data/Sztl/SztlFieldGroup.cs
Normal file
9
SessionZero/Data/Sztl/SztlFieldGroup.cs
Normal 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; } = [];
|
||||
}
|
||||
7
SessionZero/Data/Sztl/SztlTemplate.cs
Normal file
7
SessionZero/Data/Sztl/SztlTemplate.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace SessionZero.Data.Sztl;
|
||||
|
||||
public class SztlTemplate
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
9
SessionZero/Data/Sztl/SztlTokenizer.cs
Normal file
9
SessionZero/Data/Sztl/SztlTokenizer.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace SessionZero.Data.Sztl;
|
||||
|
||||
public class SztlTokenizer
|
||||
{
|
||||
enum TokenType
|
||||
{
|
||||
// TODO: Add token types
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user