#pragma once #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 override { if (message.isValid()) { PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(message); ent->name = name + "_message"; } } void gatherDependencies(std::vector& pathsOut, std::vector& lazyOut) const override { g_curSpec->flattenDependencies(message, pathsOut); } }; } // namespace DataSpec::DNAMP1