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

Method buildAddon

bwapi/BWAPILIB/UnitCommand.cpp:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 return c;
43 }
44 UnitCommand UnitCommand::buildAddon(Unit unit, UnitType type)
45 {
46 UnitCommand c{ unit, UnitCommandTypes::Build_Addon };
47 c.extra = type;
48 return c;
49 }
50 UnitCommand UnitCommand::train(Unit unit, UnitType type)
51 {
52 UnitCommand c{ unit, UnitCommandTypes::Train };

Callers 2

startMethod · 0.45
startMethod · 0.45

Calls

no outgoing calls

Tested by 2

startMethod · 0.36
startMethod · 0.36