@@ -41,6 +41,7 @@ public unsafe partial struct PublicContentOccultCrescent {
4141[ GenerateInterop ]
4242[ StructLayout ( LayoutKind . Explicit , Size = 0x24 ) ]
4343public partial struct OccultCrescentMKDData {
44+ // TODO: this needs updating, sheet changed
4445 [ FieldOffset ( 0x00 ) , CExporterExcelBegin ( "MKDData" ) ] public uint QuestId ;
4546 [ FieldOffset ( 0x04 ) ] public uint ZoneNameId ; // Addon RowId
4647 [ FieldOffset ( 0x08 ) , FixedSizeArray ] internal FixedSizeArray3 < uint > _currencyItemIds ;
@@ -50,21 +51,22 @@ public partial struct OccultCrescentMKDData {
5051}
5152
5253[ GenerateInterop ]
53- [ StructLayout ( LayoutKind . Explicit , Size = 0x69 ) ] // unsure how long
54+ [ StructLayout ( LayoutKind . Explicit , Size = 0x9C ) ] // unsure how long
5455public partial struct OccultCrescentState {
55- [ FieldOffset ( 0x00 ) , FixedSizeArray ] internal FixedSizeArray16 < uint > _supportJobExperience ;
56- [ FieldOffset ( 0x40 ) ] public uint CurrentKnowledge ;
57- [ FieldOffset ( 0x44 ) ] public uint NeededKnowledge ;
58- [ FieldOffset ( 0x48 ) ] public uint NeededJobExperience ;
59- [ FieldOffset ( 0x4C ) ] public ushort Silver ;
60- [ FieldOffset ( 0x4E ) ] public ushort Gold ;
61- [ FieldOffset ( 0x50 ) , FixedSizeArray ] internal FixedSizeArray16 < byte > _supportJobLevels ;
62- [ FieldOffset ( 0x60 ) , FixedSizeArray ] internal FixedSizeArray2 < byte > _unlockedTeleportBitmask ; // for TelepotTown
63- [ FieldOffset ( 0x62 ) ] public byte CurrentSupportJob ; // MKDSupportJob RowId
64- [ FieldOffset ( 0x63 ) ] public byte KnowledgeLevelSync ;
65- [ FieldOffset ( 0x64 ) ] private byte Unk64 ;
66- [ FieldOffset ( 0x65 ) ] private byte Unk65 ; // related to Sanguine Cipher item count, cur?
67- [ FieldOffset ( 0x66 ) ] private byte Unk66 ; // related to Sanguine Cipher item count, max?
68- [ FieldOffset ( 0x67 ) ] private byte Unk67 ;
69- [ FieldOffset ( 0x68 ) ] private byte Unk68 ; // flags
56+ [ FieldOffset ( 0x00 ) , FixedSizeArray ] internal FixedSizeArray24 < uint > _supportJobExperience ;
57+ [ FieldOffset ( 0x60 ) ] public uint CurrentKnowledge ;
58+ [ FieldOffset ( 0x64 ) ] public uint NeededKnowledge ;
59+ [ FieldOffset ( 0x68 ) ] public uint NeededJobExperience ;
60+ [ FieldOffset ( 0x6C ) ] public ushort Silver ;
61+ [ FieldOffset ( 0x6E ) ] public ushort Gold ;
62+ [ FieldOffset ( 0x70 ) , FixedSizeArray ] internal FixedSizeArray24 < byte > _supportJobLevels ;
63+
64+ [ FieldOffset ( 0x8E ) , FixedSizeArray ] internal FixedSizeArray3 < byte > _unlockedTeleportBitmask ; // for TelepotTown
65+ [ FieldOffset ( 0x91 ) ] public byte CurrentSupportJob ; // MKDSupportJob RowId
66+ [ FieldOffset ( 0x92 ) ] public byte KnowledgeLevelSync ;
67+ [ FieldOffset ( 0x93 ) ] private byte Unk93 ;
68+ [ FieldOffset ( 0x94 ) ] private byte Unk94 ; // related to Sanguine Cipher item count, cur?
69+ [ FieldOffset ( 0x95 ) ] private byte Unk95 ; // related to Sanguine Cipher item count, max?
70+ [ FieldOffset ( 0x96 ) ] private byte Unk96 ;
71+ [ FieldOffset ( 0x97 ) ] private byte Unk97 ; // flags
7072}
0 commit comments