| 646 | TCPQueryConnecter(std::string_view connection_string) : TCPServerConnecter(connection_string, NETWORK_DEFAULT_PORT), connection_string(connection_string) {} |
| 647 | |
| 648 | void OnFailure() override |
| 649 | { |
| 650 | Debug(net, 9, "Query::OnFailure(): connection_string={}", this->connection_string); |
| 651 | |
| 652 | NetworkGame *item = NetworkGameListAddItem(connection_string); |
| 653 | item->status = NGLS_OFFLINE; |
| 654 | item->refreshing = false; |
| 655 | |
| 656 | UpdateNetworkGameWindow(); |
| 657 | } |
| 658 | |
| 659 | void OnConnect(SOCKET s) override |
| 660 | { |
nothing calls this directly
no test coverage detected