MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / StartTurnConnection

Method StartTurnConnection

src/network/network_coordinator.cpp:419–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417}
418
419void ClientNetworkCoordinatorSocketHandler::StartTurnConnection(std::string_view token)
420{
421 auto turn_it = this->turn_handlers.find(token);
422 if (turn_it == this->turn_handlers.end()) return;
423
424 turn_it->second->Connect();
425}
426
427void ClientNetworkCoordinatorSocketHandler::Connect()
428{

Callers 2

OnClickMethod · 0.80

Calls 3

findMethod · 0.45
endMethod · 0.45
ConnectMethod · 0.45

Tested by

no test coverage detected