#ifndef _DNAMP3_CSKR_HPP_ #define _DNAMP3_CSKR_HPP_ #include "../DNACommon/DNACommon.hpp" #include "CINF.hpp" #include "../DNAMP2/CSKR.hpp" namespace DataSpec::DNAMP3 { struct CSKR : BigDNA { AT_DECL_DNA DNAFourCC magic; Value version; DNAMP2::CSKR data; Value matrixCount; struct MatrixBindings : BigDNA { AT_DECL_DNA Value mtxs[10]; }; Vector mtxBindings; Value unkCount1; Vector unk1; Value unkCount2; Vector unk2; Value unkCount3; Vector unk3; Value unkCount4; Vector unk4; Value unkCount5; Vector unk5; const atInt16* getMatrixBank(size_t idx) const { return mtxBindings.at(idx).mtxs; } void weightVertex(hecl::blender::PyOutStream& os, const CINF& cinf, atInt16 skinIdx) const; }; } #endif // _DNAMP3_CSKR_HPP_