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

Method ctor

source/binding/NodeJS/src/apis/controller.cpp:30–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30ImageJobImpl* ImageJobImpl::ctor(const maajs::CallbackInfo& info)
31{
32 auto job = new ImageJobImpl;
33 job->source = maajs::PersistentObject(info[0].As<maajs::ObjectType>());
34 job->id = maajs::JSConvert<uint64_t>::from_value(info[1]);
35 return job;
36}
37
38void ImageJobImpl::init_proto(maajs::ObjectType proto, maajs::FunctionType)
39{

Callers

nothing calls this directly

Calls 15

moveFunction · 0.85
Utf8ValueMethod · 0.80
NullMethod · 0.80
add_bindMethod · 0.80
PersistentObjectFunction · 0.50
MaaAdbControllerCreateFunction · 0.50
MaaWin32ControllerCreateFunction · 0.50
MaaMacOSControllerCreateFunction · 0.50
MaaDbgControllerCreateFunction · 0.50

Tested by

no test coverage detected