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

Method isTraining

bwapi/Shared/UnitShared.cpp:588–591  ·  view source on GitHub ↗

--------------------------------------------- IS TRAINING ------------------------------------------------

Source from the content-addressed store, hash-verified

586 }
587 //--------------------------------------------- IS TRAINING ------------------------------------------------
588 bool UnitImpl::isTraining() const
589 {
590 return self->isTraining;
591 }
592 //--------------------------------------------- IS UNDER ATTACK --------------------------------------------
593 bool UnitImpl::isUnderAttack() const
594 {

Callers 15

canCancelTrainFunction · 0.80
canCancelTrainSlotFunction · 0.80
augmentUnitDataMethod · 0.80
Filters.cppFile · 0.80
onStartMethod · 0.80
onFrameMethod · 0.80
startMethod · 0.80
updateMethod · 0.80
stopMethod · 0.80
updateMethod · 0.80
startMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by 15

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