#ifndef _DNAMP1_HUDMEMO_HPP_ #define _DNAMP1_HUDMEMO_HPP_ #include "../../DNACommon/DNACommon.hpp" #include "IScriptObject.hpp" #include "Parameters.hpp" namespace DataSpec::DNAMP1 { struct HUDMemo : IScriptObject { AT_DECL_DNA_YAML AT_DECL_DNAV String<-1> name; Value firstMessageTimer; Value unknown1; Value memoType; UniqueID32 message; Value active; void nameIDs(PAKRouter& pakRouter) const { if (message) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(message); ent->name = name + "_message"; } } void gatherDependencies(std::vector &pathsOut) const { g_curSpec->flattenDependencies(message, pathsOut); } }; } #endif