Add missing DW services

This commit is contained in:
momo5502 2022-09-24 15:42:01 +02:00
parent 652121b06e
commit 0d8542366a
6 changed files with 41 additions and 0 deletions

View File

@ -32,6 +32,7 @@ namespace demonware
this->register_service<bdLeague>();
this->register_service<bdLeague2>();
this->register_service<bdPublisherVariables>();
this->register_service<bdDDL>();
this->register_service<bdPresence>();
this->register_service<bdMarketingComms>();
this->register_service<bdMatchMaking>();

View File

@ -34,6 +34,7 @@
#include "services/bdLeague2.hpp" // 82
#include "services/bdStats3.hpp" // 91
#include "services/bdPublisherVariables.hpp"// 95
#include "services/bdDDL.hpp" // 96
// AccountLinking // 86
#include "services/bdPresence.hpp" //103
#include "services/bdMarketingComms.hpp" //104

View File

@ -9,6 +9,7 @@ namespace demonware
this->register_task(3, &bdAnticheat::reportConsoleID);
this->register_task(4, &bdAnticheat::reportConsoleDetails);
this->register_task(5, &bdAnticheat::answerTOTPChallenge);
this->register_task(6, &bdAnticheat::idk);
}
void bdAnticheat::answerChallenges(service_server* server, byte_buffer* /*buffer*/) const
@ -38,4 +39,11 @@ namespace demonware
auto reply = server->create_reply(this->task_id());
reply->send();
}
void bdAnticheat::idk(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO: Read data as soon as needed
auto reply = server->create_reply(this->task_id());
reply->send();
}
}

View File

@ -12,5 +12,6 @@ namespace demonware
void reportConsoleID(service_server* server, byte_buffer* buffer) const;
void reportConsoleDetails(service_server* server, byte_buffer* buffer) const;
void answerTOTPChallenge(service_server* server, byte_buffer* buffer) const;
void idk(service_server* server, byte_buffer* buffer) const;
};
}

View File

@ -0,0 +1,17 @@
#include <std_include.hpp>
#include "../services.hpp"
namespace demonware
{
bdDDL::bdDDL() : service(96, "bdDDL")
{
this->register_task(1, &bdDDL::idk);
}
void bdDDL::idk(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO: Read data as soon as needed
auto reply = server->create_reply(this->task_id());
reply->send();
}
}

View File

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