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

Function MaaTaskerBindResource

source/Common/MaaTasker.cpp:92–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92MaaBool MaaTaskerBindResource(MaaTasker* tasker, MaaResource* res)
93{
94 LogFunc << VAR_VOIDP(tasker) << VAR_VOIDP(res);
95
96 if (!tasker || !res) {
97 LogError << "handle is null";
98 return false;
99 }
100
101 return tasker->bind_resource(res);
102}
103
104MaaBool MaaTaskerBindController(MaaTasker* tasker, MaaController* ctrl)
105{

Callers 7

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
set_resourceMethod · 0.85
runMaaTestFunction · 0.85
pipeline_smokingFunction · 0.85
run_without_fileFunction · 0.85

Calls 1

bind_resourceMethod · 0.45

Tested by

no test coverage detected