From 603627bd33864e0cc83ffad33769f2a1c9616b33 Mon Sep 17 00:00:00 2001 From: neru Date: Sat, 21 Mar 2026 23:37:43 -0300 Subject: [PATCH] style: remove deprecated code --- src/unlocker/spoofing.cpp | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/src/unlocker/spoofing.cpp b/src/unlocker/spoofing.cpp index afc3553..83ccad7 100644 --- a/src/unlocker/spoofing.cpp +++ b/src/unlocker/spoofing.cpp @@ -302,20 +302,6 @@ void Spoofer::serverResponseHandler(const std::string& url, std::string& body, s { std::string objectId = item["objectId"]; - /*if (objectIds.find(objectId) != objectIds.end()) - { - foundObjects.insert(objectId); - item["quantity"] = 100; - continue; - } - - if (addonIds.find(objectId) != addonIds.end()) - { - foundAddons.insert(objectId); - item["quantity"] = 100; - continue; - }*/ - if (perkIds.find(objectId) != perkIds.end()) { foundPerks.insert(objectId); @@ -337,30 +323,6 @@ void Spoofer::serverResponseHandler(const std::string& url, std::string& body, s } } - /*for (const std::string& id : objectIds) - { - if (foundObjects.find(id) == foundObjects.end()) - { - itemsArr.push_back({ - {"objectId", id}, - {"quantity", 100}, - {"lastUpdateAt", std::time(nullptr)}, - }); - } - } - - for (const std::string& id : addonIds) - { - if (foundAddons.find(id) == foundAddons.end()) - { - itemsArr.push_back({ - {"objectId", id}, - {"quantity", 100}, - {"lastUpdateAt", std::time(nullptr)}, - }); - } - }*/ - for (const std::string& id : perkIds) { if (foundPerks.find(id) == foundPerks.end())