#pragma once #include "../../DNACommon/DNACommon.hpp" #include "../DNAMP1.hpp" #include "../SAVW.hpp" #include "zeus/CAABox.hpp" #include namespace DataSpec::DNAMP1 { zeus::CTransform ConvertEditorEulerToTransform4f(const zeus::CVector3f& scale, const zeus::CVector3f& orientation, const zeus::CVector3f& position); struct IScriptObject : BigDNAVYaml { AT_DECL_DNA_YAMLV atUint32 type; Value id; struct Connection : BigDNA { AT_DECL_DNA_YAML Value state; Value msg; Value target; }; Value connectionCount; Vector connections; Value propertyCount; ~IScriptObject() override = default; virtual void addCMDLRigPairs(PAKRouter&, CharacterAssociations& charAssoc) const {} virtual void nameIDs(PAKRouter& pakRouter) const {} virtual void gatherDependencies(std::vector& pathsOut, std::vector& lazyOut) const {} virtual void gatherScans(std::vector& scansOut) const {} virtual zeus::CAABox getVISIAABB(hecl::blender::Token& btok) const { return {}; } }; } // namespace DataSpec::DNAMP1