mirror of
https://gitlab.com/hashborgir/d2tweaks-rnd2k.git
synced 2024-12-02 21:55:58 +00:00
18 lines
349 B
C
18 lines
349 B
C
|
#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);
|
||
|
};
|
||
|
}
|