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

Method completedUnitCount

bwapi/Shared/PlayerShared.cpp:99–102  ·  view source on GitHub ↗

--------------------------------------------- COMPLETED UNIT COUNT ---------------------------------------

Source from the content-addressed store, hash-verified

97 }
98 //--------------------------------------------- COMPLETED UNIT COUNT ---------------------------------------
99 int PlayerImpl::completedUnitCount(UnitType unit) const
100 {
101 return (unit >= 0 && unit < UnitTypes::Enum::MAX) ? self->completedUnitCount[unit] : 0;
102 }
103 //--------------------------------------------- DEAD UNIT COUNT --------------------------------------------
104 int PlayerImpl::deadUnitCount(UnitType unit) const
105 {

Callers 15

GetTerranRushScoreFunction · 0.80
GetZergGroundRushScoreFunction · 0.80
GetZergAirRushScoreFunction · 0.80
GetProtossAirRushScoreFunction · 0.80
executeMethod · 0.80
GetStandardUnitCountFunction · 0.80
incompleteUnitCountMethod · 0.80
startMethod · 0.80
startMethod · 0.80
startMethod · 0.80
onStartMethod · 0.80

Calls

no outgoing calls

Tested by 15

startMethod · 0.64
startMethod · 0.64
startMethod · 0.64
onStartMethod · 0.64
onFrameMethod · 0.64
startMethod · 0.64
startMethod · 0.64
startMethod · 0.64
startMethod · 0.64
updateMethod · 0.64
startMethod · 0.64
startMethod · 0.64