add client network

This commit is contained in:
Lion Kortlepel
2024-03-02 17:10:21 +01:00
parent 23cf2483e7
commit c5a6fc711f
9 changed files with 249 additions and 672 deletions

View File

@@ -10,7 +10,7 @@ class Launcher;
class ServerNetwork {
public:
ServerNetwork(Launcher& launcher, const ip::tcp::endpoint& ep);
ServerNetwork(const ip::tcp::endpoint& ep);
~ServerNetwork();
/// Starts and runs the connection to the server.
@@ -44,8 +44,6 @@ private:
uint64_t m_udp_magic {};
Launcher& m_launcher;
ip::tcp::endpoint m_tcp_ep;
ip::udp::endpoint m_udp_ep;
};