Generates the list of manually added hosts from NetworkGame and * dumps them into the array _network_host_list. This array is needed * by the function that generates the config file. */
| 732 | * dumps them into the array _network_host_list. This array is needed |
| 733 | * by the function that generates the config file. */ |
| 734 | void NetworkRebuildHostList() |
| 735 | { |
| 736 | _network_host_list.clear(); |
| 737 | |
| 738 | for (const auto &item : _network_game_list) { |
| 739 | if (item->manually) _network_host_list.emplace_back(item->connection_string); |
| 740 | } |
| 741 | } |
| 742 | |
| 743 | /** Non blocking connection create to actually connect to servers */ |
| 744 | class TCPClientConnecter : public TCPServerConnecter { |
no test coverage detected