MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / Reconnect

Method Reconnect

src/openrct2/network/NetworkBase.cpp:169–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167 }
168
169 void NetworkBase::Reconnect()
170 {
171 if (status != Status::none)
172 {
173 Close();
174 }
175 if (_requireClose)
176 {
177 _requireReconnect = true;
178 return;
179 }
180 BeginClient(_host, _port);
181 }
182
183 void NetworkBase::Close()
184 {

Callers 1

ReconnectFunction · 0.80

Calls 2

CloseFunction · 0.85
BeginClientFunction · 0.85

Tested by

no test coverage detected