From 34e50a95811b1e7b8dc5b9ecab7aa2cf61e27718 Mon Sep 17 00:00:00 2001 From: nikitalita <69168929+nikitalita@users.noreply.github.com> Date: Fri, 27 Oct 2023 14:48:23 -0700 Subject: [PATCH] fix: fix ValueResponse (#207) Value Response had incorrect members and size --- CommonLibSF/include/RE/D/DebuggerMessages.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CommonLibSF/include/RE/D/DebuggerMessages.h b/CommonLibSF/include/RE/D/DebuggerMessages.h index 1ae662ca..cd552acd 100644 --- a/CommonLibSF/include/RE/D/DebuggerMessages.h +++ b/CommonLibSF/include/RE/D/DebuggerMessages.h @@ -313,9 +313,11 @@ namespace RE::GameScript virtual void SerializeBody(Json::Value& r_val) override; // 03 // members - Variable value; // 78 + std::string value; // 78 + std::string type; // 98 + bool compound; // B8 }; - static_assert(sizeof(ValueResponse) == 0xE0); + static_assert(sizeof(ValueResponse) == 0xC0); struct VariablesResponse : public Response {