Add missing DW services
This commit is contained in:
parent
652121b06e
commit
0d8542366a
@ -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>();
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
17
src/client/game/demonware/services/bdDDL.cpp
Normal file
17
src/client/game/demonware/services/bdDDL.cpp
Normal 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();
|
||||
}
|
||||
}
|
13
src/client/game/demonware/services/bdDDL.hpp
Normal file
13
src/client/game/demonware/services/bdDDL.hpp
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user