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

Method research

bwapi/BWAPILIB/UnitCommand.cpp:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 return c;
61 }
62 UnitCommand UnitCommand::research(Unit unit, TechType tech)
63 {
64 UnitCommand c{ unit, UnitCommandTypes::Research };
65 c.extra = tech;
66 return c;
67 }
68 UnitCommand UnitCommand::upgrade(Unit unit, UpgradeType upgrade)
69 {
70 UnitCommand c{ unit, UnitCommandTypes::Upgrade };

Callers 2

startMethod · 0.45
startMethod · 0.45

Calls

no outgoing calls

Tested by 2

startMethod · 0.36
startMethod · 0.36