1
Fork 0
mirror of https://github.com/xivdev/EXDSchema.git synced 2025-06-07 16:47:45 +00:00
EXDSchema/SchemaConverter/NewSheetDefinition.cs
2023-09-18 19:55:35 -04:00

41 lines
No EOL
798 B
C#

// ReSharper disable UnusedMember.Global
// ReSharper disable InconsistentNaming
namespace SchemaConverter.New;
public enum FieldType
{
scalar,
array,
icon,
modelId,
color,
}
public class Sheet
{
public string Name { get; set; }
public string? DisplayField { get; set; }
public List<Field> Fields { get; set; }
}
public class Field
{
public string? Name { get; set; }
public int? Count { get; set; }
public string? Comment { get; set; }
public FieldType Type { get; set; }
public List<Field>? Fields { get; set; }
public Link? Link { get; set; }
}
public class Link
{
public List<string> Target { get; set; }
public Condition? Condition { get; set; }
}
public class Condition
{
public string Switch { get; set; }
public Dictionary<int, List<string>> Cases { get; set; }
}