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

Method deadUnitCount

bwapi/Shared/PlayerShared.cpp:104–107  ·  view source on GitHub ↗

--------------------------------------------- DEAD UNIT COUNT --------------------------------------------

Source from the content-addressed store, hash-verified

102 }
103 //--------------------------------------------- DEAD UNIT COUNT --------------------------------------------
104 int PlayerImpl::deadUnitCount(UnitType unit) const
105 {
106 return (unit >= 0 && unit < UnitTypes::Enum::MAX) ? self->deadUnitCount[unit] : 0;
107 }
108 //--------------------------------------------- KILLED UNIT COUNT ------------------------------------------
109 int PlayerImpl::killedUnitCount(UnitType unit) const
110 {

Callers 1

onStartMethod · 0.80

Calls

no outgoing calls

Tested by 1

onStartMethod · 0.64