#ifndef _DNAMP1_SCLY_HPP_ #define _DNAMP1_SCLY_HPP_ #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, std::unordered_map>& addTo) const; void nameIDs(PAKRouter& pakRouter) const; }; Vector layers; void exportToLayerDirectories(const PAK::Entry &, PAKRouter&, bool) const; void addCMDLRigPairs(PAKRouter& pakRouter, std::unordered_map>& addTo) const; void nameIDs(PAKRouter& pakRouter) const; }; } #endif