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

Function getUnitInternal

bwapi/BWScriptEmulator/ScriptEnum.cpp:386–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384 return pszUnitInfo[t].computerIdleOrder;
385 }
386 int getUnitInternal(int iUnitType)
387 {
388 int t = iUnitType;
389 if ( t > BWAPI::UnitTypes::None || t < 0 )
390 t = BWAPI::UnitTypes::None;
391 return pszUnitInfo[t].iComputerInternal;
392 }
393
394}

Callers 1

aiFlagMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected