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

Method SetCaptainType

bwapi/BWScriptEmulator/UnitInfo.cpp:145–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 pUnit->setClientInfo(type, UnitInfo::AI_Controller_Type);
144}
145void UnitWrap::SetCaptainType(int type)
146{
147 pUnit->setClientInfo(type, UnitInfo::AI_Captain_Type);
148}
149void UnitWrap::SetWorkerTask(int type)
150{
151 pUnit->setClientInfo(type, UnitInfo::Worker_Task);

Callers

nothing calls this directly

Calls 1

setClientInfoMethod · 0.45

Tested by

no test coverage detected