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

Method getForce

bwapi/BWAPI/Source/BWAPI/Server.cpp:695–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693 return forceLookup[force];
694 }
695 Force Server::getForce(int id) const
696 {
697 if (forceVector.size() <= static_cast<unsigned>(id))
698 return nullptr;
699 return forceVector[id];
700 }
701 int Server::getPlayerID(Player player)
702 {
703 if ( !player )

Callers 2

onMatchStartMethod · 0.45
showPlayersFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected