Move config props back in.
@@ -15,13 +15,9 @@ namespace FFXIVClientStructs.Common.Configuration
[StructLayout(LayoutKind.Explicit, Size = 0x10)]
public unsafe struct ConfigProperties
{
- [FieldOffset(0x0)] public ConfigProperties_UIntProperties UInt;
- [FieldOffset(0x0)] public ConfigProperties_FloatProperties Float;
- [FieldOffset(0x0)] public ConfigProperties_StringProperties String;
- }
[StructLayout(LayoutKind.Explicit, Size = 0xC)]
- public unsafe struct ConfigProperties_UIntProperties
+ public unsafe struct UIntProperties
{
[FieldOffset(0x0)] public uint DefaultValue;
[FieldOffset(0x4)] public uint MinValue;
@@ -29,7 +25,7 @@ namespace FFXIVClientStructs.Common.Configuration
}
[StructLayout(LayoutKind.Explicit, Size = 0xC)]
- public unsafe struct ConfigProperties_FloatProperties
+ public unsafe struct FloatProperties
{
[FieldOffset(0x0)] public float DefaultValue;
[FieldOffset(0x4)] public float MinValue;
@@ -37,11 +33,17 @@ namespace FFXIVClientStructs.Common.Configuration
}
[StructLayout(LayoutKind.Explicit, Size = 0x8)]
- public unsafe struct ConfigProperties_StringProperties
+ public unsafe struct StringProperties
{
[FieldOffset(0x0)] public FFXIVString* DefaultValue;
}
+ [FieldOffset(0x0)] public UIntProperties UInt;
+ [FieldOffset(0x0)] public FloatProperties Float;
+ [FieldOffset(0x0)] public StringProperties String;
+ }
+
+
[StructLayout(LayoutKind.Explicit, Size = 0x8)]
public unsafe struct ConfigValue
{
