style: remove deprecated code

This commit is contained in:
2026-03-21 23:37:43 -03:00
parent 698ad23963
commit 603627bd33
-38
View File
@@ -302,20 +302,6 @@ void Spoofer::serverResponseHandler(const std::string& url, std::string& body, s
{ {
std::string objectId = item["objectId"]; 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()) if (perkIds.find(objectId) != perkIds.end())
{ {
foundPerks.insert(objectId); 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) for (const std::string& id : perkIds)
{ {
if (foundPerks.find(id) == foundPerks.end()) if (foundPerks.find(id) == foundPerks.end())