#ifndef __DNAMP2_MAPU_HPP__ #define __DNAMP2_MAPU_HPP__ #include #include "../DNACommon/PAK.hpp" #include "../DNACommon/MAPU.hpp" #include "DNAMP2.hpp" namespace DataSpec { namespace DNAMP2 { struct MAPU : DNAMAPU::MAPU { static bool Extract(const SpecBase& dataSpec, PAKEntryReadStream& rs, const hecl::ProjectPath& outPath, PAKRouter& pakRouter, const DNAMP1::PAK::Entry& entry, bool force, hecl::BlenderToken& btok, std::function fileChanged) { MAPU mapu; mapu.read(rs); hecl::BlenderConnection& conn = btok.getBlenderConnection(); return DNAMAPU::ReadMAPUToBlender(conn, mapu, outPath, pakRouter, entry, force); } }; } } #endif