d2tweaks-rnd2k/include/diablo2/d2net.h

18 lines
349 B
C
Raw Normal View History

2024-04-17 03:45:38 +00:00
#pragma once
#include <Windows.h>
#include <cstdint>
namespace diablo2 {
namespace structures {
struct game_server;
}
class d2_net {
public:
static char* get_base();
static int32_t send_to_server(int32_t queue, void* data, size_t size);
static int32_t send_to_client(int32_t queue, int32_t clientId, void* packet, size_t size);
};
}