41 lines
1.0 KiB
C++
Raw Normal View History

2022-09-19 20:03:51 +03:00
#include <std_include.hpp>
2024-01-31 20:00:28 +02:00
#include "../dw_include.hpp"
2022-09-19 20:03:51 +03:00
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());
2024-01-31 20:00:28 +02:00
reply.send();
2022-09-19 20:03:51 +03:00
}
void bdLeague2::readStatsByTeamID(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
2024-01-31 20:00:28 +02:00
reply.send();
2022-09-19 20:03:51 +03:00
}
void bdLeague2::readStatsByRank(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
2024-01-31 20:00:28 +02:00
reply.send();
2022-09-19 20:03:51 +03:00
}
void bdLeague2::readStatsByPivot(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
2024-01-31 20:00:28 +02:00
reply.send();
2022-09-19 20:03:51 +03:00
}
}