#pragma once #include "ParticleCommon.hpp" #include "PAK.hpp" #include "athena/FileWriter.hpp" #include "optional.hpp" namespace DataSpec::DNAParticle { template struct CRSM : BigDNA { AT_DECL_EXPLICIT_DNA_YAML AT_SUBDECL_DNA std::unordered_map> x0_generators; std::unordered_map x10_sfx; std::unordered_map> x20_decals; float x30_RNGE; float x34_FOFF; CRSM(); void gatherDependencies(std::vector&) const; }; template bool ExtractCRSM(PAKEntryReadStream& rs, const hecl::ProjectPath& outPath); template bool WriteCRSM(const CRSM& crsm, const hecl::ProjectPath& outPath); }