Add project files.

This commit is contained in:
k0t9i
2023-01-16 15:33:32 +04:00
parent 0f6fb75cff
commit 3c20df7683
130 changed files with 7756 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
#pragma once
#include "Domain/Transports/TransportInterface.h"
#include <Windows.h>
#include <thread>
using namespace L2Bot::Domain;
class DebugViewTransport : public Transports::TransportInterface
{
public:
const bool Connect() override
{
return true;
}
const bool IsConnected() const
{
return true;
}
const void Send(std::string data) override
{
OutputDebugStringA(data.c_str());
}
const std::string Receive() override
{
// delay imitation
std::this_thread::sleep_for(std::chrono::milliseconds(50));
return "";
}
DebugViewTransport() = default;
virtual ~DebugViewTransport() = default;
};