| 84 | } |
| 85 | |
| 86 | MaaBool ChildCustomActionInnerCallback( |
| 87 | MaaContext* context, |
| 88 | MaaTaskId task_id, |
| 89 | const char* node_name, |
| 90 | const char* custom_action_name, |
| 91 | const char* custom_action_param, |
| 92 | MaaRecoId reco_id, |
| 93 | const MaaRect* box, |
| 94 | void* trans_arg) |
| 95 | { |
| 96 | std::cout << "at ChildCustomActionInnerCallback" << std::endl; |
| 97 | |
| 98 | auto buffer = MaaStringBufferCreate(); |
| 99 | MaaContextGetNodeData(context, node_name, buffer); |
| 100 | const char* detail = MaaStringBufferGet(buffer); |
| 101 | bool b = MaaContextOverridePipeline(context, detail); |
| 102 | MaaStringBufferDestroy(buffer); |
| 103 | return true; |
| 104 | } |
| 105 | |
| 106 | MaaBool ChildCustomRecognitionCallback( |
| 107 | MaaContext* context, |
nothing calls this directly
no test coverage detected