mirror of
https://github.com/xivdev/EXDSchema.git
synced 2025-06-07 16:47:45 +00:00
41 lines
No EOL
798 B
C#
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; }
|
|
} |