Refactored login-server clif to structs (#8058)

Communication between the login-server and the client is now done with structs.
Moved the definition of the global reusable packet buffer to socket.hpp
This commit is contained in:
Lemongrass3110
2023-12-29 22:04:42 +01:00
committed by GitHub
parent 0fe2d0a0fe
commit 7999ccb215
9 changed files with 512 additions and 222 deletions

View File

@@ -30,10 +30,6 @@
using namespace rathena;
// Reuseable global packet buffer to prevent too many allocations
// Take socket.cpp::socket_max_client_packet into consideration
static int8 packet_buffer[UINT16_MAX];
std::vector<struct s_point_str> accessible_maps{
s_point_str{ MAP_PRONTERA, 273, 354 },
s_point_str{ MAP_GEFFEN, 120, 100 },