#pragma once #include "DNACommon.hpp" namespace DataSpec::DNAMAPU { struct MAPU : BigDNA { AT_DECL_DNA Value magic; Value version; UniqueID32 hexMapa; Value worldCount; struct Transform : BigDNA { AT_DECL_DNA Value xf[3]; }; struct World : BigDNA { AT_DECL_DNA String<-1> name; UniqueID32 mlvl; Transform transform; Value hexCount; Vector hexTransforms; DNAColor hexColor; }; Vector worlds; static bool Cook(const hecl::blender::MapUniverse& mapu, const hecl::ProjectPath& out); }; template bool ReadMAPUToBlender(hecl::blender::Connection& conn, const MAPU& mapu, const hecl::ProjectPath& outPath, PAKRouter& pakRouter, const typename PAKRouter::EntryType& entry, bool force); }