Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bwapi/bwapi
/ getPlayers
Method
getPlayers
bwapi/BWAPILIB/Source/Forceset.cpp:9–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
namespace BWAPI
8
{
9
Playerset Forceset::getPlayers() const
10
{
11
Playerset rset;
12
for (auto &f : *this)
13
{
14
auto players = f->getPlayers();
15
rset.insert(players.begin(), players.end());
16
}
17
return rset;
18
}
19
}
20
Callers
5
main
Function · 0.45
showPlayers
Function · 0.45
showForces
Function · 0.45
onStart
Method · 0.45
onStart
Method · 0.45
Calls
2
begin
Method · 0.80
end
Method · 0.80
Tested by
1
onStart
Method · 0.36