MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / replay

Method replay

source/network/ODClient.cpp:1041–1055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1039}
1040
1041bool ODClient::replay(const std::string& filename)
1042{
1043 mIsPlayerConfig = false;
1044 // Start the server socket listener as well as the server socket thread
1045 if (ODClient::getSingleton().isConnected())
1046 {
1047 OD_LOG_INF("Couldn't try to launch replay: The client is already connected");
1048 return false;
1049 }
1050
1051 if(!ODSocketClient::replay(filename))
1052 return false;
1053
1054 return true;
1055}
1056
1057void ODClient::queueClientNotification(ClientNotification* n)
1058{

Callers 1

Calls 1

isConnectedMethod · 0.45

Tested by

no test coverage detected