Files
SCAPI/src/commands/prod.ros.rockstargames.com/Friends/UnblockCommunications.cpp
T
BugisoftRSG 466edec3a3 Release
2023-08-09 12:43:03 +02:00

24 lines
637 B
C++

#include "../../../command.hpp"
#include <iostream>
class UnblockCommunications : command
{
using command::command;
SERVICE_TYPE get_service_type() { return SERVICE_TYPE::PROD_ROS; }
virtual string execute(const vector<string>& args)
{
cout << "Specify the rockstarId:" << endl;
string rockstarId;
cin >> rockstarId;
map<string, string> map;
map["ticket"] = TICKET;
map["rockstarId"] = rockstarId;
return run("http://gta5-prod.ros.rockstargames.com/gta5/11/gameservices/Friends.asmx/Unblock", map); // Missleading name, dont have to be a friend
}
};
UnblockCommunications g_unblock_communications("unblockcoms");