#pragma once #include "DataSpec/DNACommon/DNACommon.hpp" #include "ScriptObjects/IScriptObject.hpp" #include "DNAMP1.hpp" namespace DataSpec::DNAMP1 { struct SCLY : BigDNA { AT_DECL_EXPLICIT_DNA_YAML Value fourCC; Value version; Value layerCount; Vector layerSizes; struct ScriptLayer : BigDNA { AT_DECL_EXPLICIT_DNA_YAML Value unknown; Value objectCount; Vector, AT_DNA_COUNT(objectCount)> objects; void addCMDLRigPairs(PAKRouter& pakRouter, CharacterAssociations& charAssoc) const; void nameIDs(PAKRouter& pakRouter) const; }; Vector layers; void exportToLayerDirectories(const PAK::Entry&, PAKRouter&, bool) const; void addCMDLRigPairs(PAKRouter& pakRouter, CharacterAssociations& charAssoc) const; void nameIDs(PAKRouter& pakRouter) const; }; } // namespace DataSpec::DNAMP1