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

Method SetControlType

bwapi/BWScriptEmulator/UnitInfo.cpp:141–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void UnitWrap::SetControlType(int type)
142{
143 pUnit->setClientInfo(type, UnitInfo::AI_Controller_Type);
144}
145void UnitWrap::SetCaptainType(int type)
146{
147 pUnit->setClientInfo(type, UnitInfo::AI_Captain_Type);

Callers 2

onUnitCreateMethod · 0.80
AddUnitMethod · 0.80

Calls 1

setClientInfoMethod · 0.45

Tested by

no test coverage detected