MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / hasTimedOut

Method hasTimedOut

src/OpenLoco/src/Network/NetworkClient.cpp:123–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123bool NetworkClient::hasTimedOut() const
124{
125 if (_serverConnection != nullptr)
126 {
127 return _serverConnection->hasTimedOut();
128 }
129 return false;
130}
131
132void NetworkClient::onReceivePacket([[maybe_unused]] IUdpSocket& socket, std::unique_ptr<INetworkEndpoint> endpoint, const Packet& packet)
133{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected