#ifndef _DNAMP3_HINT_HPP_ #define _DNAMP3_HINT_HPP_ #include "../DNACommon/DNACommon.hpp" #include "PAK.hpp" namespace DataSpec::DNAMP3 { struct HINT : BigDNA { AT_DECL_DNA_YAML Value magic; Value version; struct Hint : BigDNA { AT_DECL_DNA_YAML String<-1> name; Value unknown1; Value fadeInTime; UniqueID64 stringID; Value unknown2; struct Location : BigDNA { AT_DECL_DNA_YAML UniqueID64 worldAssetID; UniqueID64 areaAssetID; Value areaID; UniqueID64 stringID; Value unknown[3]; }; Value locationCount; Vector locations; }; Value hintCount; Vector hints; static bool Extract(PAKEntryReadStream& rs, const hecl::ProjectPath& outPath) { HINT hint; hint.read(rs); athena::io::FileWriter writer(outPath.getAbsolutePath()); athena::io::ToYAMLStream(hint, writer); return true; } }; } #endif // _DNAMP1_HINT_HPP_