diff --git a/MegaMixATSync/Mod.cpp b/MegaMixATSync/Mod.cpp index 837cd0b..af45d02 100644 --- a/MegaMixATSync/Mod.cpp +++ b/MegaMixATSync/Mod.cpp @@ -102,9 +102,12 @@ void Mod::OnFrame(wchar_t* dllDirectory) long MultiHold = READ_MEMORY(0x1416E2D60, int_fast32_t); long Slide = READ_MEMORY(0x1416E2D6C, int_fast32_t); + int songId = READ_MEMORY(0x1412B6350, uint32_t); + std::stringstream json; json << "{"; json << "\"$type\":\"com.wicwafren.at.megamixatsync.songplay\","; + json << "\"songId\":" << songId << ","; json << "\"title\":\"" << song_name << "\","; json << "\"difficulty\":" << (diff + exExt) << ","; json << "\"stars\":\"" << star << "\","; diff --git a/lexicons/com/wicwafren/at/megamixatsync/songplay.json b/lexicons/com/wicwafren/at/megamixatsync/songplay.json index 18158c5..037a95c 100644 --- a/lexicons/com/wicwafren/at/megamixatsync/songplay.json +++ b/lexicons/com/wicwafren/at/megamixatsync/songplay.json @@ -8,6 +8,9 @@ "record": { "type": "object", "properties": { + "songId": { + "type": "integer" + }, "title": { "type": "string" },