implement states until session setup

mod download to be implemented fully
This commit is contained in:
Lion Kortlepel
2024-01-21 22:54:15 +01:00
parent 8eb8a80d54
commit 03dc3e3505
9 changed files with 143 additions and 5 deletions

View File

@@ -31,6 +31,8 @@ private:
void handle_packet(const bmp::Packet& packet);
void handle_identification(const bmp::Packet& packet);
void handle_authentication(const bmp::Packet& packet);
void handle_mod_download(const bmp::Packet& packet);
io_context m_io {};
ip::tcp::socket m_tcp_socket { m_io };
@@ -38,6 +40,8 @@ private:
bmp::State m_state {};
uint64_t m_udp_magic {};
Launcher& m_launcher;
ip::tcp::endpoint m_tcp_ep;