#pragma once #include "../../DNACommon/DNACommon.hpp" #include "IScriptObject.hpp" #include "Parameters.hpp" namespace DataSpec::DNAMP1 { struct MetroidAlpha : IScriptObject { AT_DECL_DNA_YAML AT_DECL_DNAV 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, CharacterAssociations& charAssoc) const { actorParameters.addCMDLRigPairs(pakRouter, charAssoc, patternedInfo.animationParameters); } 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, std::vector& lazyOut) const { patternedInfo.depIDs(pathsOut); actorParameters.depIDs(pathsOut, lazyOut); animationParameters1.depANCS(pathsOut); animationParameters2.depANCS(pathsOut); animationParameters3.depANCS(pathsOut); animationParameters4.depANCS(pathsOut); } void gatherScans(std::vector& scansOut) const { actorParameters.scanIDs(scansOut); } }; }