Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
17
bool show_visibility_data;
18
19
void reconnect()
20
{
21
while(!BWAPIClient.connect())
22
{
23
std::this_thread::sleep_for(std::chrono::milliseconds{ 1000 });
24
}
25
}
26
27
int main(int argc, const char* argv[])
28
{
Callers
1
main
Function · 0.70
Calls
1
connect
Method · 0.80
Tested by
no test coverage detected