MCPcopy Create free account
hub / github.com/bwapi/bwapi / reconnect

Function reconnect

bwapi/ExampleAIClient/Source/ExampleAIClient.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17bool show_visibility_data;
18
19void reconnect()
20{
21 while(!BWAPIClient.connect())
22 {
23 std::this_thread::sleep_for(std::chrono::milliseconds{ 1000 });
24 }
25}
26
27int main(int argc, const char* argv[])
28{

Callers 1

mainFunction · 0.70

Calls 1

connectMethod · 0.80

Tested by

no test coverage detected