#ifndef __DNAMP1_SCRIPTOBJECT_HPP #define __DNAMP1_SCRIPTOBJECT_HPP #include "../../DNACommon/DNACommon.hpp" #include "../DNAMP1.hpp" #include namespace Retro { namespace DNAMP1 { struct IScriptObject : BigYAML { DECL_YAML IScriptObject() {} atUint32 type; Value id; struct Connection : BigYAML { DECL_YAML Value state; Value msg; Value target; }; Value connectionCount; Vector connections; Value propertyCount; virtual ~IScriptObject() { } virtual void addCMDLRigPairs(PAKRouter&, std::unordered_map>&) const {} virtual void nameIDs(PAKRouter& pakRouter) const {} }; } } #endif