#ifndef _DNAMP1_SCLY_HPP_ #define _DNAMP1_SCLY_HPP_ #include "../DNACommon/DNACommon.hpp" #include "ScriptObjects/IScriptObject.hpp" #include "DNAMP1.hpp" namespace DataSpec { namespace DNAMP1 { struct SCLY : BigYAML { DECL_EXPLICIT_YAML Delete _d; Value fourCC; Value version; Value layerCount; Vector layerSizes; struct ScriptLayer : BigYAML { DECL_EXPLICIT_YAML Delete _d; Value unknown; Value objectCount; Vector, DNA_COUNT(objectCount)> objects; void read(Athena::io::IStreamReader &rs); void write(Athena::io::IStreamWriter &ws) const; size_t binarySize(size_t __isz) const; void addCMDLRigPairs(PAKRouter& pakRouter, std::unordered_map>& addTo) const; void nameIDs(PAKRouter& pakRouter) const; }; Vector layers; void read(Athena::io::IStreamReader &rs); void write(Athena::io::IStreamWriter &ws) const; size_t binarySize(size_t __isz) const; void exportToLayerDirectories(const PAK::Entry &, PAKRouter&, bool) const; void addCMDLRigPairs(PAKRouter& pakRouter, std::unordered_map>& addTo) const; void nameIDs(PAKRouter& pakRouter) const; }; } } #endif