don't write dw debug stuff

This commit is contained in:
quaK 2022-09-21 02:59:31 +03:00
parent bb9b64d2fb
commit f13eea4d61
2 changed files with 0 additions and 26 deletions

View File

@ -3,8 +3,6 @@
#include "game/game.hpp" #include "game/game.hpp"
#include <utils/io.hpp>
namespace demonware namespace demonware
{ {
bdMarketingComms::bdMarketingComms() : service(104, "bdMarketingComms") bdMarketingComms::bdMarketingComms() : service(104, "bdMarketingComms")
@ -30,10 +28,6 @@ namespace demonware
void bdMarketingComms::unk6(service_server* server, byte_buffer* buffer) const void bdMarketingComms::unk6(service_server* server, byte_buffer* buffer) const
{ {
#ifdef DEBUG
utils::io::write_file("demonware/bdMarketingComms/unk6", buffer->get_buffer());
#endif
server->create_reply(this->task_id(), game::BD_NO_FILE)->send(); server->create_reply(this->task_id(), game::BD_NO_FILE)->send();
} }
} }

View File

@ -66,10 +66,6 @@ namespace demonware
void bdStorage::list_publisher_files(service_server* server, byte_buffer* buffer) void bdStorage::list_publisher_files(service_server* server, byte_buffer* buffer)
{ {
#ifdef DEBUG
utils::io::write_file("demonware/bdStorage/list_publisher_files", buffer->get_buffer());
#endif
uint32_t date; uint32_t date;
uint16_t num_results, offset; uint16_t num_results, offset;
std::string unk, filename, data; std::string unk, filename, data;
@ -107,10 +103,6 @@ namespace demonware
void bdStorage::get_publisher_file(service_server* server, byte_buffer* buffer) void bdStorage::get_publisher_file(service_server* server, byte_buffer* buffer)
{ {
#ifdef DEBUG
utils::io::write_file("demonware/bdStorage/get_publisher_file", buffer->get_buffer());
#endif
std::string unk, filename; std::string unk, filename;
buffer->read_string(&unk); buffer->read_string(&unk);
buffer->read_string(&filename); buffer->read_string(&filename);
@ -144,10 +136,6 @@ namespace demonware
void bdStorage::set_user_file(service_server* server, byte_buffer* buffer) const void bdStorage::set_user_file(service_server* server, byte_buffer* buffer) const
{ {
#ifdef DEBUG
utils::io::write_file("demonware/bdStorage/set_user_file", buffer->get_buffer());
#endif
uint64_t owner; uint64_t owner;
uint32_t numfiles; uint32_t numfiles;
std::string game, platform; std::string game, platform;
@ -196,10 +184,6 @@ namespace demonware
void bdStorage::get_user_file(service_server* server, byte_buffer* buffer) const void bdStorage::get_user_file(service_server* server, byte_buffer* buffer) const
{ {
#ifdef DEBUG
utils::io::write_file("demonware/bdStorage/get_user_file", buffer->get_buffer());
#endif
std::string platform; std::string platform;
uint32_t numunk; uint32_t numunk;
uint32_t numfiles; uint32_t numfiles;
@ -254,10 +238,6 @@ namespace demonware
void bdStorage::unk12(service_server* server, byte_buffer* buffer) const void bdStorage::unk12(service_server* server, byte_buffer* buffer) const
{ {
#ifdef DEBUG
utils::io::write_file("demonware/bdStorage/unk12", buffer->get_buffer());
#endif
// TODO: // TODO:
auto reply = server->create_reply(this->task_id()); auto reply = server->create_reply(this->task_id());
reply->send(); reply->send();