#ifndef __DNAMP1_SCRIPTOBJECT_HPP #define __DNAMP1_SCRIPTOBJECT_HPP #include "../../DNACommon/DNACommon.hpp" #include "../DNAMP1.hpp" #include "../SAVW.hpp" #include "zeus/CAABox.hpp" #include namespace DataSpec { namespace DNAMP1 { zeus::CTransform ConvertEditorEulerToTransform4f(const zeus::CVector3f& scale, const zeus::CVector3f& orientation, const zeus::CVector3f& position); struct IScriptObject : BigYAML { DECL_YAML atUint32 type; Value id; struct Connection : BigYAML { DECL_YAML Value state; Value msg; Value target; }; Value connectionCount; Vector connections; Value propertyCount; virtual ~IScriptObject() = default; virtual void addCMDLRigPairs(PAKRouter&, std::unordered_map>&) const {} virtual void nameIDs(PAKRouter& pakRouter) const {} virtual void gatherDependencies(std::vector& pathsOut) const {} virtual void gatherScans(std::vector& scansOut) const {} virtual zeus::CAABox getVISIAABB(hecl::BlenderToken& btok) const { return {}; } }; } } #endif