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

Method getHitPoints

bwapi/Shared/UnitShared.cpp:71–74  ·  view source on GitHub ↗

--------------------------------------------- GET HIT POINTS ---------------------------------------------

Source from the content-addressed store, hash-verified

69 }
70 //--------------------------------------------- GET HIT POINTS ---------------------------------------------
71 int UnitImpl::getHitPoints() const
72 {
73 return self->hitPoints;
74 }
75 //--------------------------------------------- GET SHIELDS ------------------------------------------------
76 int UnitImpl::getShields() const
77 {

Callers 12

canAttackUnitGroupedFunction · 0.80
canRepairFunction · 0.80
canUseTechUnitFunction · 0.80
Military.cppFile · 0.80
DoUnitBehaviourMethod · 0.80
Filters.cppFile · 0.80
onFrameMethod · 0.80
startMethod · 0.80
updateMethod · 0.80
startMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by 6

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