* Show a modal confirmation window with "no" / "yes, once" / "yes, always" buttons. * @param server_connection_string The game server we want to connect to. * @param relay_connection_string The relay server we want to connect to. * @param token The token for this connection. */
| 2229 | * @param token The token for this connection. |
| 2230 | */ |
| 2231 | void ShowNetworkAskRelay(std::string_view server_connection_string, std::string &&relay_connection_string, std::string &&token) |
| 2232 | { |
| 2233 | CloseWindowByClass(WC_NETWORK_ASK_RELAY, NRWCD_HANDLED); |
| 2234 | |
| 2235 | Window *parent = GetMainWindow(); |
| 2236 | new NetworkAskRelayWindow(_network_ask_relay_desc, parent, server_connection_string, std::move(relay_connection_string), std::move(token)); |
| 2237 | } |
| 2238 | |
| 2239 | /** |
| 2240 | * Window used for asking if the user wants to participate in the automated survey. |
no test coverage detected