MCPcopy 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

7namespace 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

mainFunction · 0.45
showPlayersFunction · 0.45
showForcesFunction · 0.45
onStartMethod · 0.45
onStartMethod · 0.45

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by 1

onStartMethod · 0.36