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

Method canUpgrade

bwapi/Shared/UnitShared.cpp:753–756  ·  view source on GitHub ↗

--------------------------------------------- CAN UPGRADE ------------------------------------------------

Source from the content-addressed store, hash-verified

751 }
752 //--------------------------------------------- CAN UPGRADE ------------------------------------------------
753 bool UnitImpl::canUpgrade(bool checkCommandibility) const
754 {
755 return Templates::canUpgrade(const_cast<UnitImpl*>(this), checkCommandibility);
756 }
757 bool UnitImpl::canUpgrade(UpgradeType type, bool checkCanIssueCommandType) const
758 {
759 return Templates::canUpgrade(const_cast<UnitImpl*>(this), type, checkCanIssueCommandType);

Callers 2

canIssueCommandFunction · 0.45
onStartMethod · 0.45

Calls 1

canUpgradeFunction · 0.85

Tested by 1

onStartMethod · 0.36