label demonware services and tasks

This commit is contained in:
Skull 2022-09-09 17:06:54 +03:00
parent 895ce96fde
commit 893f432382
26 changed files with 1153 additions and 205 deletions

View File

@ -16,6 +16,7 @@ namespace demonware
this->register_service<bdDML>();
this->register_service<bdEventLog>();
this->register_service<bdGroups>();
this->register_service<bdTeams>();
this->register_service<bdStats>();
this->register_service<bdStorage>();
this->register_service<bdTitleUtilities>();
@ -23,11 +24,14 @@ namespace demonware
this->register_service<bdRichPresence>();
this->register_service<bdFacebook>();
this->register_service<bdUNK63>();
this->register_service<bdUNK80>();
this->register_service<bdUNK95>();
this->register_service<bdUserGroups>();
this->register_service<bdMarketplace>();
this->register_service<bdLeague>();
this->register_service<bdLeague2>();
this->register_service<bdPublisherVariables>();
this->register_service<bdPresence>();
this->register_service<bdMarketingComms>();
this->register_service<bdMatchMaking2>();
this->register_service<bdMatchMaking>();
this->register_service<bdMarketing>();
};

View File

@ -7,14 +7,13 @@
#include "service.hpp"
#include "servers/service_server.hpp"
//#include "services/bdTeams.hpp" // 3
#include "services/bdTeams.hpp" // 3
#include "services/bdStats.hpp" // 4
//#include "services/bdMessaging.hpp" // 6
#include "services/bdProfiles.hpp" // 8
#include "services/bdStorage.hpp" // 10
#include "services/bdTitleUtilities.hpp" // 12
#include "services/bdBandwidthTest.hpp" // 18
//#include "services/bdMatchMaking.hpp" // 21
#include "services/bdCounters.hpp" // 23
#include "services/bdDML.hpp" // 27
#include "services/bdGroups.hpp" // 28
@ -24,13 +23,17 @@
#include "services/bdContentStreaming.hpp" // 50
//#include "services/bdTags.hpp" // 52
#include "services/bdUNK63.hpp" // 63
#include "services/bdUserGroups.hpp" // 65
#include "services/bdEventLog.hpp" // 67
#include "services/bdRichPresence.hpp" // 68
//#include "services/bdTitleUtilities2.hpp" // 72
#include "services/bdUNK80.hpp"
#include "services/bdUNK95.hpp"
//#include "services/bdTencent.hpp" // 71
//#include "services/bdCodOnlineTeams.hpp" // 72
#include "services/bdMarketplace.hpp" // 80
#include "services/bdLeague.hpp" // 81
#include "services/bdLeague2.hpp" // 82
#include "services/bdPublisherVariables.hpp"// 95
// AccountLinking // 86
#include "services/bdPresence.hpp" //103
#include "services/bdMarketingComms.hpp" //104
#include "services/bdMatchMaking2.hpp" //138
#include "services/bdMatchMaking.hpp" //138
#include "services/bdMarketing.hpp" //139

View File

@ -0,0 +1,97 @@
#include <std_include.hpp>
#include "../services.hpp"
namespace demonware
{
bdLeague::bdLeague() : service(81, "bdLeague")
{
this->register_task(1, &bdLeague::getTeamID);
this->register_task(2, &bdLeague::getTeamIDsForUser);
this->register_task(3, &bdLeague::getTeamSubdivisions);
this->register_task(4, &bdLeague::setTeamName);
this->register_task(5, &bdLeague::setTeamIcon);
this->register_task(6, &bdLeague::getTeamInfos);
this->register_task(7, &bdLeague::getTeamLeaguesAndSubdivisions);
this->register_task(8, &bdLeague::getTeamMemberInfos);
this->register_task(10, &bdLeague::incrementGamesPlayedCount);
this->register_task(20, &bdLeague::getSubdivisionInfos);
this->register_task(21, &bdLeague::getTeamSubdivisionHistory);
}
void bdLeague::getTeamID(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdLeague::getTeamIDsForUser(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdLeague::getTeamSubdivisions(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdLeague::setTeamName(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdLeague::setTeamIcon(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdLeague::getTeamInfos(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdLeague::getTeamLeaguesAndSubdivisions(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdLeague::getTeamMemberInfos(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdLeague::incrementGamesPlayedCount(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdLeague::getSubdivisionInfos(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdLeague::getTeamSubdivisionHistory(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
}

View File

@ -0,0 +1,23 @@
#pragma once
namespace demonware
{
class bdLeague final : public service
{
public:
bdLeague();
private:
void getTeamID(service_server* server, byte_buffer* buffer) const;
void getTeamIDsForUser(service_server* server, byte_buffer* buffer) const;
void getTeamSubdivisions(service_server* server, byte_buffer* buffer) const;
void setTeamName(service_server* server, byte_buffer* buffer) const;
void setTeamIcon(service_server* server, byte_buffer* buffer) const;
void getTeamInfos(service_server* server, byte_buffer* buffer) const;
void getTeamLeaguesAndSubdivisions(service_server* server, byte_buffer* buffer) const;
void getTeamMemberInfos(service_server* server, byte_buffer* buffer) const;
void incrementGamesPlayedCount(service_server* server, byte_buffer* buffer) const;
void getSubdivisionInfos(service_server* server, byte_buffer* buffer) const;
void getTeamSubdivisionHistory(service_server* server, byte_buffer* buffer) const;
};
}

View File

@ -0,0 +1,41 @@
#include <std_include.hpp>
#include "../services.hpp"
namespace demonware
{
bdLeague2::bdLeague2() : service(82, "bdLeague")
{
this->register_task(1, &bdLeague2::writeStats);
this->register_task(2, &bdLeague2::readStatsByTeamID);
this->register_task(3, &bdLeague2::readStatsByRank);
this->register_task(4, &bdLeague2::readStatsByPivot);
}
void bdLeague2::writeStats(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdLeague2::readStatsByTeamID(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdLeague2::readStatsByRank(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdLeague2::readStatsByPivot(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
}

View File

@ -0,0 +1,16 @@
#pragma once
namespace demonware
{
class bdLeague2 final : public service
{
public:
bdLeague2();
private:
void writeStats(service_server* server, byte_buffer* buffer) const;
void readStatsByTeamID(service_server* server, byte_buffer* buffer) const;
void readStatsByRank(service_server* server, byte_buffer* buffer) const;
void readStatsByPivot(service_server* server, byte_buffer* buffer) const;
};
}

View File

@ -5,10 +5,18 @@ namespace demonware
{
bdMarketingComms::bdMarketingComms() : service(104, "bdMarketingComms")
{
this->register_task(1, &bdMarketingComms::get_messages);
this->register_task(1, &bdMarketingComms::getMessages);
this->register_task(4, &bdMarketingComms::reportFullMessagesViewed);
}
void bdMarketingComms::get_messages(service_server* server, byte_buffer* /*buffer*/) const
void bdMarketingComms::getMessages(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMarketingComms::reportFullMessagesViewed(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());

View File

@ -8,6 +8,7 @@ namespace demonware
bdMarketingComms();
private:
void get_messages(service_server* server, byte_buffer* buffer) const;
void getMessages(service_server* server, byte_buffer* buffer) const;
void reportFullMessagesViewed(service_server* server, byte_buffer* buffer) const;
};
}

View File

@ -0,0 +1,84 @@
#include <std_include.hpp>
#include "../services.hpp"
#include <utils/io.hpp>
namespace demonware
{
bdMarketplace::bdMarketplace() : service(80, "bdMarketplace")
{
this->register_task(42, &bdMarketplace::startExchangeTransaction); // COD POINTS purchase ?
//this->register_task(43, &bdMarketplace::purchaseOnSteamInitialize); // COD POINTS purchase ?
this->register_task(49, &bdMarketplace::getExpiredInventoryItems);
this->register_task(60, &bdMarketplace::steamProcessDurable);
this->register_task(122, &bdMarketplace::purchaseSkus);
this->register_task(130, &bdMarketplace::getBalance);
this->register_task(165, &bdMarketplace::getInventoryPaginated);
this->register_task(193, &bdMarketplace::putPlayersInventoryItems);
this->register_task(232, &bdMarketplace::getEntitlements);
}
void bdMarketplace::startExchangeTransaction(service_server* server, byte_buffer* buffer) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMarketplace::purchaseOnSteamInitialize(service_server* server, byte_buffer* buffer) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMarketplace::getExpiredInventoryItems(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMarketplace::steamProcessDurable(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMarketplace::purchaseSkus(service_server* server, byte_buffer* buffer) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMarketplace::getBalance(service_server* server, byte_buffer* buffer) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMarketplace::getInventoryPaginated(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMarketplace::putPlayersInventoryItems(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMarketplace::getEntitlements(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
}

View File

@ -0,0 +1,21 @@
#pragma once
namespace demonware
{
class bdMarketplace final : public service
{
public:
bdMarketplace();
private:
void startExchangeTransaction(service_server* server, byte_buffer* buffer) const;
void purchaseOnSteamInitialize(service_server* server, byte_buffer* buffer) const;
void getExpiredInventoryItems(service_server* server, byte_buffer* buffer) const;
void steamProcessDurable(service_server* server, byte_buffer* buffer) const;
void purchaseSkus(service_server* server, byte_buffer* buffer) const;
void getBalance(service_server* server, byte_buffer* buffer) const;
void getInventoryPaginated(service_server* server, byte_buffer* buffer) const;
void putPlayersInventoryItems(service_server* server, byte_buffer* buffer) const;
void getEntitlements(service_server* server, byte_buffer* buffer) const;
};
}

View File

@ -0,0 +1,129 @@
#include <std_include.hpp>
#include "../services.hpp"
namespace demonware
{
bdMatchMaking::bdMatchMaking() : service(138, "bdMatchMaking")
{
this->register_task(1, &bdMatchMaking::createSession);
this->register_task(2, &bdMatchMaking::updateSession);
this->register_task(3, &bdMatchMaking::deleteSession);
this->register_task(4, &bdMatchMaking::findSessionFromID);
this->register_task(5, &bdMatchMaking::findSessions);
this->register_task(6, &bdMatchMaking::notifyJoin);
this->register_task(8, &bdMatchMaking::inviteToSession);
this->register_task(9, &bdMatchMaking::submitPerformance);
this->register_task(10, &bdMatchMaking::getPerformanceValues);
this->register_task(11, &bdMatchMaking::getSessionInvites);
this->register_task(12, &bdMatchMaking::updateSessionPlayers);
this->register_task(13, &bdMatchMaking::findSessionsPaged);
this->register_task(14, &bdMatchMaking::findSessionsByEntityIDs);
this->register_task(15, &bdMatchMaking::findSessionsFromIDs);
this->register_task(16, &bdMatchMaking::findSessionsTwoPass);
}
void bdMatchMaking::createSession(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking::updateSession(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking::deleteSession(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking::findSessionFromID(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking::findSessions(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking::getPerformanceValues(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking::getSessionInvites(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking::updateSessionPlayers(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking::submitPerformance(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking::notifyJoin(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking::inviteToSession(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking::findSessionsPaged(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking::findSessionsByEntityIDs(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking::findSessionsFromIDs(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking::findSessionsTwoPass(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
}

View File

@ -0,0 +1,27 @@
#pragma once
namespace demonware
{
class bdMatchMaking final : public service
{
public:
bdMatchMaking();
private:
void createSession(service_server* server, byte_buffer* buffer) const;
void updateSession(service_server* server, byte_buffer* buffer) const;
void deleteSession(service_server* server, byte_buffer* buffer) const;
void findSessionFromID(service_server* server, byte_buffer* buffer) const;
void findSessions(service_server* server, byte_buffer* buffer) const;
void inviteToSession(service_server* server, byte_buffer* buffer) const;
void submitPerformance(service_server* server, byte_buffer* buffer) const;
void notifyJoin(service_server* server, byte_buffer* buffer) const;
void getPerformanceValues(service_server* server, byte_buffer* buffer) const;
void getSessionInvites(service_server* server, byte_buffer* buffer) const;
void updateSessionPlayers(service_server* server, byte_buffer* buffer) const;
void findSessionsPaged(service_server* server, byte_buffer* buffer) const;
void findSessionsByEntityIDs(service_server* server, byte_buffer* buffer) const;
void findSessionsFromIDs(service_server* server, byte_buffer* buffer) const;
void findSessionsTwoPass(service_server* server, byte_buffer* buffer) const;
};
}

View File

@ -1,57 +0,0 @@
#include <std_include.hpp>
#include "../services.hpp"
namespace demonware
{
bdMatchMaking2::bdMatchMaking2() : service(138, "bdMatchMaking2")
{
this->register_task(1, &bdMatchMaking2::unk1);
this->register_task(2, &bdMatchMaking2::unk2);
this->register_task(3, &bdMatchMaking2::unk3);
this->register_task(5, &bdMatchMaking2::unk5);
this->register_task(10, &bdMatchMaking2::unk10);
this->register_task(16, &bdMatchMaking2::unk16);
}
void bdMatchMaking2::unk1(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking2::unk2(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking2::unk3(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking2::unk5(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking2::unk10(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdMatchMaking2::unk16(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
}

View File

@ -1,18 +0,0 @@
#pragma once
namespace demonware
{
class bdMatchMaking2 final : public service
{
public:
bdMatchMaking2();
private:
void unk1(service_server* server, byte_buffer* buffer) const;
void unk2(service_server* server, byte_buffer* buffer) const;
void unk3(service_server* server, byte_buffer* buffer) const;
void unk5(service_server* server, byte_buffer* buffer) const;
void unk10(service_server* server, byte_buffer* buffer) const;
void unk16(service_server* server, byte_buffer* buffer) const;
};
}

View File

@ -5,10 +5,66 @@ namespace demonware
{
bdProfiles::bdProfiles() : service(8, "bdProfiles")
{
this->register_task(3, &bdProfiles::unk3);
this->register_task(1, &bdProfiles::getPublicInfos);
this->register_task(2, &bdProfiles::getPrivateInfo);
this->register_task(3, &bdProfiles::setPublicInfo);
this->register_task(4, &bdProfiles::setPrivateInfo);
this->register_task(5, &bdProfiles::deleteProfile);
this->register_task(6, &bdProfiles::setPrivateInfoByUserID);
this->register_task(7, &bdProfiles::getPrivateInfoByUserID);
this->register_task(8, &bdProfiles::setPublicInfoByUserID);
}
void bdProfiles::unk3(service_server* server, byte_buffer* /*buffer*/) const
void bdProfiles::getPublicInfos(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdProfiles::setPublicInfo(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdProfiles::getPrivateInfo(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdProfiles::setPrivateInfo(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdProfiles::deleteProfile(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdProfiles::setPrivateInfoByUserID(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdProfiles::getPrivateInfoByUserID(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdProfiles::setPublicInfoByUserID(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());

View File

@ -8,6 +8,13 @@ namespace demonware
bdProfiles();
private:
void unk3(service_server* server, byte_buffer* buffer) const;
void getPublicInfos(service_server* server, byte_buffer* buffer) const;
void getPrivateInfo(service_server* server, byte_buffer* buffer) const;
void setPublicInfo(service_server* server, byte_buffer* buffer) const;
void setPrivateInfo(service_server* server, byte_buffer* buffer) const;
void deleteProfile(service_server* server, byte_buffer* buffer) const;
void setPrivateInfoByUserID(service_server* server, byte_buffer* buffer) const;
void getPrivateInfoByUserID(service_server* server, byte_buffer* buffer) const;
void setPublicInfoByUserID(service_server* server, byte_buffer* buffer) const;
};
}

View File

@ -0,0 +1,17 @@
#include <std_include.hpp>
#include "../services.hpp"
namespace demonware
{
bdPublisherVariables::bdPublisherVariables() : service(95, "bdPublisherVariables")
{
this->register_task(1, &bdPublisherVariables::retrievePublisherVariables);
}
void bdPublisherVariables::retrievePublisherVariables(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
}

View File

@ -0,0 +1,13 @@
#pragma once
namespace demonware
{
class bdPublisherVariables final : public service
{
public:
bdPublisherVariables();
private:
void retrievePublisherVariables(service_server* server, byte_buffer* buffer) const;
};
}

View File

@ -0,0 +1,409 @@
#include <std_include.hpp>
#include "../services.hpp"
namespace demonware
{
bdTeams::bdTeams() : service(3, "bdTeams")
{
this->register_task(30, &bdTeams::createTeam);
this->register_task(31, &bdTeams::updateTeamName);
this->register_task(32, &bdTeams::promoteMember);
this->register_task(33, &bdTeams::kickMember);
this->register_task(34, &bdTeams::leaveTeam);
this->register_task(35, &bdTeams::proposeMembership);
this->register_task(36, &bdTeams::rejectMembership);
this->register_task(37, &bdTeams::acceptMembership);
this->register_task(38, &bdTeams::getPublicProfiles);
this->register_task(39, &bdTeams::getPrivateProfile);
this->register_task(40, &bdTeams::getPublicMemberProfiles);
this->register_task(41, &bdTeams::getPrivateMemberProfiles);
this->register_task(42, &bdTeams::setPublicProfile);
this->register_task(43, &bdTeams::setPrivateProfile);
this->register_task(44, &bdTeams::setPublicMemberProfile);
this->register_task(45, &bdTeams::setPrivateMemberProfile);
this->register_task(46, &bdTeams::getMemberships);
this->register_task(47, &bdTeams::getMembers);
this->register_task(48, &bdTeams::getOutgoingProposals);
this->register_task(49, &bdTeams::withdrawProposal);
this->register_task(50, &bdTeams::demoteMember);
this->register_task(51, &bdTeams::promoteMemberToOwner);
this->register_task(52, &bdTeams::getTeamInfo);
this->register_task(53, &bdTeams::getIncomingProposals);
this->register_task(54, &bdTeams::sendInstantMessage);
this->register_task(56, &bdTeams::getMembershipsUser);
this->register_task(57, &bdTeams::sendInstantMessageToTeam);
this->register_task(58, &bdTeams::searchPublicTeamProfiles);
this->register_task(63, &bdTeams::addApplication);
this->register_task(64, &bdTeams::getApplicationsByTeam);
this->register_task(65, &bdTeams::acceptApplication);
this->register_task(66, &bdTeams::rejectApplication);
this->register_task(68, &bdTeams::autoJoinTeam);
this->register_task(70, &bdTeams::createTeamWithProfiles);
this->register_task(73, &bdTeams::banMember);
this->register_task(74, &bdTeams::unbanMember);
this->register_task(76, &bdTeams::blockApplication);
this->register_task(78, &bdTeams::unblockApplication);
this->register_task(80, &bdTeams::updateTeamType);
this->register_task(82, &bdTeams::setOnline);
this->register_task(83, &bdTeams::getMembershipsWithCounts);
this->register_task(84, &bdTeams::getMembershipsWithCountsUser);
this->register_task(85, &bdTeams::searchTeams);
this->register_task(86, &bdTeams::createTeamWithProfilesAndTeamType);
this->register_task(87, &bdTeams::getMembershipsWithCountsAndTeamTypeUser);
this->register_task(88, &bdTeams::getMembershipsWithCountsAndTeamType);
this->register_task(89, &bdTeams::getTeamInfoWithTeamType);
this->register_task(91, &bdTeams::setTeamAutoJoin);
this->register_task(92, &bdTeams::getTeamAutoJoin);
this->register_task(94, &bdTeams::getMembersAndPrivileges);
}
void bdTeams::createTeam(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::updateTeamName(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::promoteMember(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::kickMember(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::leaveTeam(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::proposeMembership(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::rejectMembership(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::acceptMembership(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getPublicProfiles(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getPrivateProfile(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getPublicMemberProfiles(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getPrivateMemberProfiles(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::setPublicProfile(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::setPrivateProfile(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::setPublicMemberProfile(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::setPrivateMemberProfile(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getMemberships(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getMembers(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getOutgoingProposals(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::withdrawProposal(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::demoteMember(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::promoteMemberToOwner(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getTeamInfo(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getIncomingProposals(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::sendInstantMessage(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getMembershipsUser(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::sendInstantMessageToTeam(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::searchPublicTeamProfiles(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::addApplication(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getApplicationsByTeam(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::acceptApplication(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::rejectApplication(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::autoJoinTeam(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::createTeamWithProfiles(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::banMember(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::unbanMember(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::blockApplication(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::unblockApplication(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::updateTeamType(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::setOnline(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getMembershipsWithCounts(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getMembershipsWithCountsUser(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::searchTeams(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::createTeamWithProfilesAndTeamType(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getMembershipsWithCountsAndTeamTypeUser(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getMembershipsWithCountsAndTeamType(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getTeamInfoWithTeamType(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::setTeamAutoJoin(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getTeamAutoJoin(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdTeams::getMembersAndPrivileges(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
}

View File

@ -0,0 +1,62 @@
#pragma once
namespace demonware
{
class bdTeams final : public service
{
public:
bdTeams();
private:
void createTeam(service_server* server, byte_buffer* buffer) const;
void updateTeamName(service_server* server, byte_buffer* buffer) const;
void promoteMember(service_server* server, byte_buffer* buffer) const;
void kickMember(service_server* server, byte_buffer* buffer) const;
void leaveTeam(service_server* server, byte_buffer* buffer) const;
void proposeMembership(service_server* server, byte_buffer* buffer) const;
void rejectMembership(service_server* server, byte_buffer* buffer) const;
void acceptMembership(service_server* server, byte_buffer* buffer) const;
void getPublicProfiles(service_server* server, byte_buffer* buffer) const;
void getPrivateProfile(service_server* server, byte_buffer* buffer) const;
void getPublicMemberProfiles(service_server* server, byte_buffer* buffer) const;
void getPrivateMemberProfiles(service_server* server, byte_buffer* buffer) const;
void setPublicProfile(service_server* server, byte_buffer* buffer) const;
void setPrivateProfile(service_server* server, byte_buffer* buffer) const;
void setPublicMemberProfile(service_server* server, byte_buffer* buffer) const;
void setPrivateMemberProfile(service_server* server, byte_buffer* buffer) const;
void getMemberships(service_server* server, byte_buffer* buffer) const;
void getMembers(service_server* server, byte_buffer* buffer) const;
void getOutgoingProposals(service_server* server, byte_buffer* buffer) const;
void withdrawProposal(service_server* server, byte_buffer* buffer) const;
void demoteMember(service_server* server, byte_buffer* buffer) const;
void promoteMemberToOwner(service_server* server, byte_buffer* buffer) const;
void getTeamInfo(service_server* server, byte_buffer* buffer) const;
void getIncomingProposals(service_server* server, byte_buffer* buffer) const;
void sendInstantMessage(service_server* server, byte_buffer* buffer) const;
void getMembershipsUser(service_server* server, byte_buffer* buffer) const;
void sendInstantMessageToTeam(service_server* server, byte_buffer* buffer) const;
void searchPublicTeamProfiles(service_server* server, byte_buffer* buffer) const;
void addApplication(service_server* server, byte_buffer* buffer) const;
void getApplicationsByTeam(service_server* server, byte_buffer* buffer) const;
void acceptApplication(service_server* server, byte_buffer* buffer) const;
void rejectApplication(service_server* server, byte_buffer* buffer) const;
void autoJoinTeam(service_server* server, byte_buffer* buffer) const;
void createTeamWithProfiles(service_server* server, byte_buffer* buffer) const;
void banMember(service_server* server, byte_buffer* buffer) const;
void unbanMember(service_server* server, byte_buffer* buffer) const;
void blockApplication(service_server* server, byte_buffer* buffer) const;
void unblockApplication(service_server* server, byte_buffer* buffer) const;
void updateTeamType(service_server* server, byte_buffer* buffer) const;
void setOnline(service_server* server, byte_buffer* buffer) const;
void getMembershipsWithCounts(service_server* server, byte_buffer* buffer) const;
void getMembershipsWithCountsUser(service_server* server, byte_buffer* buffer) const;
void searchTeams(service_server* server, byte_buffer* buffer) const;
void createTeamWithProfilesAndTeamType(service_server* server, byte_buffer* buffer) const;
void getMembershipsWithCountsAndTeamTypeUser(service_server* server, byte_buffer* buffer) const;
void getMembershipsWithCountsAndTeamType(service_server* server, byte_buffer* buffer) const;
void getTeamInfoWithTeamType(service_server* server, byte_buffer* buffer) const;
void setTeamAutoJoin(service_server* server, byte_buffer* buffer) const;
void getTeamAutoJoin(service_server* server, byte_buffer* buffer) const;
void getMembersAndPrivileges(service_server* server, byte_buffer* buffer) const;
};
}

View File

@ -1,66 +0,0 @@
#include <std_include.hpp>
#include "../services.hpp"
namespace demonware
{
bdUNK80::bdUNK80() : service(80, "bdUNK80")
{
this->register_task(42, &bdUNK80::unk42); // COD POINTS purchase ?
// this->register_task(43, &bdUNK80::unk43); COD POINTS purchase ?
this->register_task(49, &bdUNK80::unk49);
this->register_task(60, &bdUNK80::unk60);
this->register_task(130, &bdUNK80::unk130);
this->register_task(165, &bdUNK80::unk165);
this->register_task(193, &bdUNK80::unk193);
this->register_task(232, &bdUNK80::unk232);
}
void bdUNK80::unk42(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUNK80::unk49(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUNK80::unk60(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUNK80::unk130(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUNK80::unk165(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUNK80::unk193(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUNK80::unk232(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
}

View File

@ -1,19 +0,0 @@
#pragma once
namespace demonware
{
class bdUNK80 final : public service
{
public:
bdUNK80();
private:
void unk42(service_server* server, byte_buffer* buffer) const;
void unk49(service_server* server, byte_buffer* buffer) const;
void unk60(service_server* server, byte_buffer* buffer) const;
void unk130(service_server* server, byte_buffer* buffer) const;
void unk165(service_server* server, byte_buffer* buffer) const;
void unk193(service_server* server, byte_buffer* buffer) const;
void unk232(service_server* server, byte_buffer* buffer) const;
};
}

View File

@ -1,17 +0,0 @@
#include <std_include.hpp>
#include "../services.hpp"
namespace demonware
{
bdUNK95::bdUNK95() : service(95, "bdUNK95")
{
this->register_task(1, &bdUNK95::unk1);
}
void bdUNK95::unk1(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
}

View File

@ -1,13 +0,0 @@
#pragma once
namespace demonware
{
class bdUNK95 final : public service
{
public:
bdUNK95();
private:
void unk1(service_server* server, byte_buffer* buffer) const;
};
}

View File

@ -0,0 +1,97 @@
#include <std_include.hpp>
#include "../services.hpp"
namespace demonware
{
bdUserGroups::bdUserGroups() : service(65, "bdUserGroups")
{
this->register_task(1, &bdUserGroups::createGroup);
this->register_task(2, &bdUserGroups::deleteGroup);
this->register_task(3, &bdUserGroups::joinGroup);
this->register_task(4, &bdUserGroups::leaveGroup);
this->register_task(5, &bdUserGroups::getMembershipInfo);
this->register_task(6, &bdUserGroups::changeMemberType);
this->register_task(7, &bdUserGroups::getNumMembers);
this->register_task(8, &bdUserGroups::getMembers);
this->register_task(9, &bdUserGroups::getMemberships);
this->register_task(10, &bdUserGroups::readStatsByRank);
this->register_task(11, &bdUserGroups::getGroupLists);
}
void bdUserGroups::createGroup(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUserGroups::deleteGroup(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUserGroups::joinGroup(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUserGroups::leaveGroup(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUserGroups::getMembershipInfo(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUserGroups::changeMemberType(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUserGroups::getNumMembers(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUserGroups::getMembers(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUserGroups::getMemberships(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUserGroups::readStatsByRank(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdUserGroups::getGroupLists(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
reply->send();
}
}

View File

@ -0,0 +1,23 @@
#pragma once
namespace demonware
{
class bdUserGroups final : public service
{
public:
bdUserGroups();
private:
void createGroup(service_server* server, byte_buffer* buffer) const;
void deleteGroup(service_server* server, byte_buffer* buffer) const;
void joinGroup(service_server* server, byte_buffer* buffer) const;
void leaveGroup(service_server* server, byte_buffer* buffer) const;
void getMembershipInfo(service_server* server, byte_buffer* buffer) const;
void changeMemberType(service_server* server, byte_buffer* buffer) const;
void getNumMembers(service_server* server, byte_buffer* buffer) const;
void getMembers(service_server* server, byte_buffer* buffer) const;
void getMemberships(service_server* server, byte_buffer* buffer) const;
void readStatsByRank(service_server* server, byte_buffer* buffer) const;
void getGroupLists(service_server* server, byte_buffer* buffer) const;
};
}