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

Method SetWorkerTask

bwapi/BWScriptEmulator/UnitInfo.cpp:149–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 pUnit->setClientInfo(type, UnitInfo::AI_Captain_Type);
148}
149void UnitWrap::SetWorkerTask(int type)
150{
151 pUnit->setClientInfo(type, UnitInfo::Worker_Task);
152}
153
154void UnitWrap::SetGuardReturnPosition(Position pos)
155{

Callers

nothing calls this directly

Calls 1

setClientInfoMethod · 0.45

Tested by

no test coverage detected