mirror of
https://github.com/BugisoftRSG/SCAPI.git
synced 2026-10-10 12:13:14 +08:00
24 lines
637 B
C++
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"); |