| 221 | } |
| 222 | |
| 223 | std::optional<maajs::ValueType> TaskerImpl::get_resource() |
| 224 | { |
| 225 | auto res = MaaTaskerGetResource(tasker); |
| 226 | if (!res) { |
| 227 | return std::nullopt; |
| 228 | } |
| 229 | return ResourceImpl::locate_object(env, res); |
| 230 | } |
| 231 | |
| 232 | void TaskerImpl::set_controller(std::optional<maajs::NativeObject<ControllerImpl>> ctrl) |
| 233 | { |
nothing calls this directly
no test coverage detected