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

Method GetControlType

bwapi/BWScriptEmulator/UnitInfo.cpp:84–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84ControlTypes::Enum UnitWrap::GetControlType() const
85{
86 return pUnit->getClientInfo<ControlTypes::Enum>(UnitInfo::AI_Controller_Type);
87}
88CaptainTypes::Enum UnitWrap::GetCaptainType() const
89{
90 return pUnit->getClientInfo<CaptainTypes::Enum>(UnitInfo::AI_Captain_Type);

Callers 1

DoUnitBehaviourMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected