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

Function MaaGlobalLoadPlugin

source/MaaFramework/API/MaaFramework.cpp:376–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374}
375
376MaaBool MaaGlobalLoadPlugin(const char* library_path)
377{
378 LogFunc << VAR(library_path);
379
380 if (!library_path) {
381 LogError << "library_path is null";
382 return false;
383 }
384
385 return MAA_GLOBAL_NS::PluginMgr::get_instance().load(MAA_NS::path(library_path));
386}
387
388MaaBool MaaSetGlobalOption(MaaGlobalOption key, MaaOptionValue value, MaaOptionValueSize val_size)
389{

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected