Dump and read attachment and attachment uniques to and from weapon files

This commit is contained in:
Jan
2021-03-26 15:27:37 +01:00
parent 540e631fd5
commit 055dd5e840
4 changed files with 168 additions and 5 deletions

View File

@ -1031,5 +1031,7 @@ namespace T6
{"customBool0", offsetof(WeaponFullDef, weapDef.customBool0), CSPFT_BOOL},
{"customBool1", offsetof(WeaponFullDef, weapDef.customBool1), CSPFT_BOOL},
{"customBool2", offsetof(WeaponFullDef, weapDef.customBool2), CSPFT_BOOL},
{"attachments", offsetof(WeaponFullDef, attachments), WFT_ATTACHMENTS},
{"attachmentUniques", offsetof(WeaponFullDef, attachmentUniques), WFT_ATTACHMENT_UNIQUES}
};
}