Skip to content

Commit 03204a0

Browse files
committed
Update PublicContentOccultCrescent.cs
1 parent a275d83 commit 03204a0

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

FFXIVClientStructs/FFXIV/Client/Game/InstanceContent/PublicContentOccultCrescent.cs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,22 @@ public unsafe partial struct PublicContentOccultCrescent {
4444
public static partial bool ChangeSupportJob(byte id);
4545
}
4646

47+
[GenerateInterop]
4748
[StructLayout(LayoutKind.Explicit, Size = 0x24)]
48-
public struct OccultCrescentMKDData {
49+
public partial struct OccultCrescentMKDData {
4950
[FieldOffset(0x00), CExporterExcelBegin("MKDData")] public uint QuestId;
5051
[FieldOffset(0x04)] public uint ZoneNameId; // Addon RowId
51-
[FieldOffset(0x08), FixedSizeArray] internal FixedSizeArray2<uint> _currencyItemIds;
52-
[FieldOffset(0x10)] public uint CipherItemId;
53-
[FieldOffset(0x14), FixedSizeArray] internal FixedSizeArray2<uint> _currencyNameIds; // Addon RowIds
54-
[FieldOffset(0x1C)] public int CipherNameId;
52+
[FieldOffset(0x08), FixedSizeArray] internal FixedSizeArray3<uint> _currencyItemIds;
53+
[FieldOffset(0x10), Obsolete("Use CurrencyItemIds[2] instead")] public uint CipherItemId;
54+
[FieldOffset(0x14), FixedSizeArray] internal FixedSizeArray3<uint> _currencyNameIds; // Addon RowIds
55+
[FieldOffset(0x1C), Obsolete("Use CurrencyNameIds[2] instead")] public int CipherNameId;
5556
[FieldOffset(0x20)] public byte Unknown8; // Minimum Knowledge Level?
5657
[FieldOffset(0x21), CExporterExcelEnd] public byte Unknown9;
5758
}
5859

60+
[GenerateInterop]
5961
[StructLayout(LayoutKind.Explicit, Size = 0x5A)] // unsure how long
60-
public struct OccultCrescentState {
62+
public partial struct OccultCrescentState {
6163
[FieldOffset(0x00), FixedSizeArray] internal FixedSizeArray13<uint> _supportJobExperience;
6264
[FieldOffset(0x34)] public uint CurrentKnowledge;
6365
[FieldOffset(0x38)] public uint NeededKnowledge;

0 commit comments

Comments
 (0)