style: remove deprecated code
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user