| 7 | Default_Build defaultbuild_off_impl(AISCRIPT::Enum::DEFAULTBUILD_OFF); |
| 8 | |
| 9 | bool Default_Build::execute(aithread &thread) const |
| 10 | { |
| 11 | if ( this->getOpcode() == AISCRIPT::Enum::DEFAULTBUILD_OFF ) // off |
| 12 | MainController.setFlags(CONTROLLER_DEFAULT_BUILD_OFF); |
| 13 | else // on |
| 14 | MainController.clearFlags(CONTROLLER_DEFAULT_BUILD_OFF); |
| 15 | |
| 16 | // Debug and return |
| 17 | thread.saveDebug(Text::Green, this->getOpcode()); |
| 18 | return true; |
| 19 | } |
nothing calls this directly
no test coverage detected