MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / SetConnection

Method SetConnection

PanzerChasm/client/client.cpp:173–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173void Client::SetConnection( IConnectionPtr connection )
174{
175 if( connection == nullptr )
176 {
177 connection_info_= nullptr;
178 StopMap();
179 }
180 else
181 connection_info_.reset( new ConnectionInfo( connection ) );
182}
183
184bool Client::Disconnected() const
185{

Callers 5

ConnectToServerMethod · 0.80
StartServerMethod · 0.80
DoRunLevelMethod · 0.80
DoLoadMethod · 0.80
ClearBeforeGameStartMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected