#ifndef _DNAMP1_HUDMEMO_HPP_ #define _DNAMP1_HUDMEMO_HPP_ #include "../../DNACommon/DNACommon.hpp" #include "IScriptObject.hpp" #include "Parameters.hpp" namespace DataSpec { namespace DNAMP1 { struct HUDMemo : IScriptObject { DECL_YAML 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