#ifndef _DNAMP1_METROIDALPHA_HPP_ #define _DNAMP1_METROIDALPHA_HPP_ #include "../../DNACommon/DNACommon.hpp" #include "IScriptObject.hpp" #include "Parameters.hpp" namespace DataSpec { namespace DNAMP1 { struct MetroidAlpha : IScriptObject { DECL_YAML String<-1> name; Value unknown1; Value location; Value orientation; Value scale; PatternedInfo patternedInfo; ActorParameters actorParameters; DamageVulnerability damageVulnerabilty1; DamageVulnerability damageVulnerabilty2; Value unknown2; Value unknown3; Value unknown4; Value unknown5; Value unknown6; Value unknown7; AnimationParameters animationParameters1; AnimationParameters animationParameters2; AnimationParameters animationParameters3; AnimationParameters animationParameters4; Value unknown8; void addCMDLRigPairs(PAKRouter& pakRouter, std::unordered_map>& addTo) const { actorParameters.addCMDLRigPairs(addTo, patternedInfo.animationParameters.getCINF(pakRouter)); } void nameIDs(PAKRouter& pakRouter) const { patternedInfo.nameIDs(pakRouter, name + "_patterned"); actorParameters.nameIDs(pakRouter, name + "_actp"); animationParameters1.nameANCS(pakRouter, name + "_animp1"); animationParameters2.nameANCS(pakRouter, name + "_animp2"); animationParameters3.nameANCS(pakRouter, name + "_animp3"); animationParameters4.nameANCS(pakRouter, name + "_animp4"); } void gatherDependencies(std::vector &pathsOut) const { patternedInfo.depIDs(pathsOut); actorParameters.depIDs(pathsOut); animationParameters1.depANCS(pathsOut); animationParameters2.depANCS(pathsOut); animationParameters3.depANCS(pathsOut); animationParameters4.depANCS(pathsOut); } void gatherScans(std::vector& scansOut) const { actorParameters.scanIDs(scansOut); } }; } } #endif