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

Method execute

bwapi/BWScriptEmulator/Scout_With.cpp:8–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6IMPLEMENT(Scout_With);
7
8bool Scout_With::execute(aithread &thread) const
9{
10 // Retrieve parameters
11 WORD wScoutType;
12 thread.readTuple( std::tie(wScoutType) );
13
14 // Do nothing (correct behaviour)
15
16 // Save debug info and return
17 thread.saveDebug(Text::Green, this->getOpcode(), "%s", AISCRIPT::getUnitName(wScoutType) );
18 return true;
19}

Callers

nothing calls this directly

Calls 4

getUnitNameFunction · 0.85
saveDebugMethod · 0.80
getOpcodeMethod · 0.80
readTupleMethod · 0.45

Tested by

no test coverage detected