| 59 | } |
| 60 | |
| 61 | MaaBool ChildCustomActionCallback( |
| 62 | MaaContext* context, |
| 63 | MaaTaskId task_id, |
| 64 | const char* node_name, |
| 65 | const char* custom_action_name, |
| 66 | const char* custom_action_param, |
| 67 | MaaRecoId reco_id, |
| 68 | const MaaRect* box, |
| 69 | void* trans_arg) |
| 70 | { |
| 71 | std::cout << "at ChildCustomActionCallback" << std::endl; |
| 72 | |
| 73 | MaaContextRunTask( |
| 74 | context, |
| 75 | "ChildCustomActionInner", |
| 76 | R"({ |
| 77 | "ChildCustomActionInner": { |
| 78 | "action": "Custom", |
| 79 | "custom_action": "ChildCustomActionInner" |
| 80 | } |
| 81 | })"); |
| 82 | |
| 83 | return true; |
| 84 | } |
| 85 | |
| 86 | MaaBool ChildCustomActionInnerCallback( |
| 87 | MaaContext* context, |
nothing calls this directly
no test coverage detected