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

Method addUnitCommand

bwapi/BWAPIClient/Source/GameImpl.cpp:59–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 return data->commandCount++;
58 }
59 int GameImpl::addUnitCommand(BWAPIC::UnitCommand& c)
60 {
61 assert(data->unitCommandCount < GameData::MAX_UNIT_COMMANDS);
62 data->unitCommands[data->unitCommandCount] = c;
63 return data->unitCommandCount++;
64 }
65 Unit GameImpl::_unitFromIndex(int index)
66 {
67 return this->getUnit(index);

Callers 1

issueCommandMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected