MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / MaaTaskerSetOption

Function MaaTaskerSetOption

source/Common/MaaTasker.cpp:80–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80MaaBool MaaTaskerSetOption(MaaTasker* tasker, MaaTaskerOption key, MaaOptionValue value, MaaOptionValueSize val_size)
81{
82 LogFunc << VAR_VOIDP(tasker) << VAR(key) << VAR_VOIDP(value) << VAR(val_size);
83
84 if (!tasker) {
85 LogError << "handle is null";
86 return false;
87 }
88
89 return tasker->set_option(key, value, val_size);
90}
91
92MaaBool MaaTaskerBindResource(MaaTasker* tasker, MaaResource* res)
93{

Callers

nothing calls this directly

Calls 1

set_optionMethod · 0.45

Tested by

no test coverage detected