using System.ComponentModel;
using FlatSharp.Attributes;
// ReSharper disable UnusedAutoPropertyAccessor.Global
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable UnusedType.Global
// ReSharper disable UnusedMember.Global

namespace pkNX.Structures.FlatBuffers;

[FlatBufferTable, TypeConverter(typeof(ExpandableObjectConverter))]
public class PlacementZone8TrainerTipHolder
{
    [FlatBufferItem(00)] public PlacementZoneTrainerTip Field_00 { get; set; } = new();
}

[FlatBufferTable, TypeConverter(typeof(ExpandableObjectConverter))]
public class PlacementZoneTrainerTip
{
    [FlatBufferItem(00)] public PlacementZoneMetaTripleXYZ8 Field_00 { get; set; } = new();
    [FlatBufferItem(01)] public float Field_01 { get; set; }
    [FlatBufferItem(02)] public float Field_02 { get; set; }
    [FlatBufferItem(03)] public float Field_03 { get; set; }
    [FlatBufferItem(04)] public float Field_04 { get; set; }
    [FlatBufferItem(05)] public ulong Field_05 { get; set; }
    [FlatBufferItem(06)] public PlacementZone8_F09 Field_06 { get; set; } = new();
    [FlatBufferItem(07)] public PlacementZone8_F09_Union Field_07 { get; set; } = new();
}

[FlatBufferTable, TypeConverter(typeof(ExpandableObjectConverter))]
public class PlacementZone8_F09
{
    [FlatBufferItem(00)] public uint Field_00 { get; set; }
    [FlatBufferItem(01)] public float Field_01 { get; set; }
    [FlatBufferItem(02)] public float Field_02 { get; set; }
    [FlatBufferItem(03)] public float Field_03 { get; set; }
    [FlatBufferItem(04)] public float Field_04 { get; set; }
    [FlatBufferItem(05)] public float Field_05 { get; set; }
    [FlatBufferItem(06)] public float Field_06 { get; set; }
    [FlatBufferItem(07)] public float Field_07 { get; set; }
    [FlatBufferItem(08)] public float Field_08 { get; set; }
    [FlatBufferItem(09)] public float Field_09 { get; set; }
    [FlatBufferItem(10)] public float Field_10 { get; set; }
}

// union?
[FlatBufferTable, TypeConverter(typeof(ExpandableObjectConverter))]
public class PlacementZone8_F09_Union
{
    [FlatBufferItem(00)] public byte Field_00 { get; set; }
    [FlatBufferItem(01)] public PlacementZone8_F09_Sub Field_06 { get; set; } = new();
}

[FlatBufferTable, TypeConverter(typeof(ExpandableObjectConverter))]
public class PlacementZone8_F09_Sub
{
    [FlatBufferItem(0)] public float Field_00 { get; set; }
    [FlatBufferItem(1)] public float Field_01 { get; set; }
}
