label some more
This commit is contained in:
parent
893f432382
commit
990e64af85
@ -32,7 +32,7 @@ namespace demonware
|
||||
this->register_service<bdPresence>();
|
||||
this->register_service<bdMarketingComms>();
|
||||
this->register_service<bdMatchMaking>();
|
||||
this->register_service<bdMarketing>();
|
||||
this->register_service<bdReward>();
|
||||
};
|
||||
|
||||
void lobby_server::send_reply(reply* data)
|
||||
|
@ -36,4 +36,4 @@
|
||||
#include "services/bdPresence.hpp" //103
|
||||
#include "services/bdMarketingComms.hpp" //104
|
||||
#include "services/bdMatchMaking.hpp" //138
|
||||
#include "services/bdMarketing.hpp" //139
|
||||
#include "services/bdReward.hpp" //139
|
||||
|
@ -1,25 +0,0 @@
|
||||
#include <std_include.hpp>
|
||||
#include "../services.hpp"
|
||||
|
||||
namespace demonware
|
||||
{
|
||||
bdMarketing::bdMarketing() : service(139, "bdMarketing")
|
||||
{
|
||||
this->register_task(2, &bdMarketing::unk2);
|
||||
this->register_task(3, &bdMarketing::unk3);
|
||||
}
|
||||
|
||||
void bdMarketing::unk2(service_server* server, byte_buffer* /*buffer*/) const
|
||||
{
|
||||
// TODO:
|
||||
auto reply = server->create_reply(this->task_id());
|
||||
reply->send();
|
||||
}
|
||||
|
||||
void bdMarketing::unk3(service_server* server, byte_buffer* /*buffer*/) const
|
||||
{
|
||||
// TODO:
|
||||
auto reply = server->create_reply(this->task_id());
|
||||
reply->send();
|
||||
}
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
namespace demonware
|
||||
{
|
||||
class bdMarketing final : public service
|
||||
{
|
||||
public:
|
||||
bdMarketing();
|
||||
|
||||
private:
|
||||
void unk2(service_server* server, byte_buffer* buffer) const;
|
||||
void unk3(service_server* server, byte_buffer* buffer) const;
|
||||
};
|
||||
}
|
41
src/client/game/demonware/services/bdReward.cpp
Normal file
41
src/client/game/demonware/services/bdReward.cpp
Normal file
@ -0,0 +1,41 @@
|
||||
#include <std_include.hpp>
|
||||
#include "../services.hpp"
|
||||
|
||||
namespace demonware
|
||||
{
|
||||
bdReward::bdReward() : service(139, "bdReward")
|
||||
{
|
||||
this->register_task(1, &bdReward::incrementTime);
|
||||
this->register_task(2, &bdReward::claimRewardRoll);
|
||||
this->register_task(3, &bdReward::claimClientAchievements);
|
||||
this->register_task(4, &bdReward::reportRewardEvents);
|
||||
}
|
||||
|
||||
void bdReward::incrementTime(service_server* server, byte_buffer* /*buffer*/) const
|
||||
{
|
||||
// TODO:
|
||||
auto reply = server->create_reply(this->task_id());
|
||||
reply->send();
|
||||
}
|
||||
|
||||
void bdReward::claimRewardRoll(service_server* server, byte_buffer* /*buffer*/) const
|
||||
{
|
||||
// TODO:
|
||||
auto reply = server->create_reply(this->task_id());
|
||||
reply->send();
|
||||
}
|
||||
|
||||
void bdReward::claimClientAchievements(service_server* server, byte_buffer* /*buffer*/) const
|
||||
{
|
||||
// TODO:
|
||||
auto reply = server->create_reply(this->task_id());
|
||||
reply->send();
|
||||
}
|
||||
|
||||
void bdReward::reportRewardEvents(service_server* server, byte_buffer* /*buffer*/) const
|
||||
{
|
||||
// TODO:
|
||||
auto reply = server->create_reply(this->task_id());
|
||||
reply->send();
|
||||
}
|
||||
}
|
16
src/client/game/demonware/services/bdReward.hpp
Normal file
16
src/client/game/demonware/services/bdReward.hpp
Normal file
@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
namespace demonware
|
||||
{
|
||||
class bdReward final : public service
|
||||
{
|
||||
public:
|
||||
bdReward();
|
||||
|
||||
private:
|
||||
void incrementTime(service_server* server, byte_buffer* buffer) const;
|
||||
void claimRewardRoll(service_server* server, byte_buffer* buffer) const;
|
||||
void claimClientAchievements(service_server* server, byte_buffer* buffer) const;
|
||||
void reportRewardEvents(service_server* server, byte_buffer* buffer) const;
|
||||
};
|
||||
}
|
@ -5,18 +5,18 @@ namespace demonware
|
||||
{
|
||||
bdRichPresence::bdRichPresence() : service(68, "bdRichPresence")
|
||||
{
|
||||
this->register_task(1, &bdRichPresence::unk1);
|
||||
this->register_task(2, &bdRichPresence::unk2);
|
||||
this->register_task(1, &bdRichPresence::setInfo);
|
||||
this->register_task(2, &bdRichPresence::getInfo);
|
||||
}
|
||||
|
||||
void bdRichPresence::unk1(service_server* server, byte_buffer* /*buffer*/) const
|
||||
void bdRichPresence::setInfo(service_server* server, byte_buffer* /*buffer*/) const
|
||||
{
|
||||
// TODO:
|
||||
auto reply = server->create_reply(this->task_id());
|
||||
reply->send();
|
||||
}
|
||||
|
||||
void bdRichPresence::unk2(service_server* server, byte_buffer* /*buffer*/) const
|
||||
void bdRichPresence::getInfo(service_server* server, byte_buffer* /*buffer*/) const
|
||||
{
|
||||
// TODO:
|
||||
auto reply = server->create_reply(this->task_id());
|
||||
|
@ -8,7 +8,7 @@ namespace demonware
|
||||
bdRichPresence();
|
||||
|
||||
private:
|
||||
void unk1(service_server* server, byte_buffer* buffer) const;
|
||||
void unk2(service_server* server, byte_buffer* buffer) const;
|
||||
void setInfo(service_server* server, byte_buffer* buffer) const;
|
||||
void getInfo(service_server* server, byte_buffer* buffer) const;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user