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

Method execute

bwapi/BWScriptEmulator/Start_Campaign.cpp:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8IMPLEMENT(Start_Campaign);
9
10bool Start_Campaign::execute(aithread &thread) const
11{
12 // Set campaign flag
13 MainController.setFlags(CONTROLLER_IS_CAMPAIGN);
14
15 // Save debug info and return
16 thread.saveDebug(Text::Green, this->getOpcode());
17 return true;
18}

Callers

nothing calls this directly

Calls 3

saveDebugMethod · 0.80
getOpcodeMethod · 0.80
setFlagsMethod · 0.45

Tested by

no test coverage detected