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

Function getUnitIdleOrder

bwapi/BWScriptEmulator/ScriptEnum.cpp:379–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377 return pszUnitInfo[t].pszScriptUnitName;
378 }
379 Orders::Enum::Enum getUnitIdleOrder(int iUnitType)
380 {
381 int t = iUnitType;
382 if ( t < 0 || t > BWAPI::UnitTypes::None )
383 t = BWAPI::UnitTypes::None;
384 return pszUnitInfo[t].computerIdleOrder;
385 }
386 int getUnitInternal(int iUnitType)
387 {
388 int t = iUnitType;

Callers 2

aiIdleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected