module; #include #include #include #include #include #include #include export module eu07.network.manager; import eu07.network.network; import eu07.input.command; export { namespace network { class server_manager { private: std::vector> servers; std::shared_ptr backbuffer; public: server_manager(); void push_delta(double render_dt, double dt, double sync, const command_queue::commands_map &commands); command_queue::commands_map pop_commands(); void create_server(const std::string &backend, const std::string &conf); }; class manager { public: manager(); std::optional servers; std::shared_ptr client; void create_server(const std::string &backend, const std::string &conf); void connect(const std::string &backend, const std::string &conf); void update(); }; } } // export