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

Method execute

bwapi/BWScriptEmulator/Stop.cpp:8–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6IMPLEMENT(Stop);
7
8bool Stop::execute(aithread &thread) const
9{
10 // Stop script execution on the current thread
11 thread.killThread();
12
13 // Debug and return
14 thread.saveDebug(Text::Green, this->getOpcode());
15 thread.noretry();
16 return false;
17}

Callers

nothing calls this directly

Calls 4

killThreadMethod · 0.80
saveDebugMethod · 0.80
getOpcodeMethod · 0.80
noretryMethod · 0.80

Tested by

no test coverage detected