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

Method handle_inserted_request

source/MaaAgentClient/Client/AgentClient.cpp:247–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247bool AgentClient::handle_inserted_request(const json::value& j)
248{
249 // LogFunc << VAR(j) << VAR(ipc_addr_);
250
251 if (handle_image_header(j)) {
252 return true;
253 }
254 else if (handle_image_encoded_header(j)) {
255 return true;
256 }
257
258 else if (handle_context_run_task(j)) {
259 return true;
260 }
261 else if (handle_context_run_recognition(j)) {
262 return true;
263 }
264 else if (handle_context_run_action(j)) {
265 return true;
266 }
267 else if (handle_context_run_recognition_direct(j)) {
268 return true;
269 }
270 else if (handle_context_run_action_direct(j)) {
271 return true;
272 }
273 else if (handle_context_override_pipeline(j)) {
274 return true;
275 }
276 else if (handle_context_override_next(j)) {
277 return true;
278 }
279 else if (handle_context_override_image(j)) {
280 return true;
281 }
282 else if (handle_context_get_node_data(j)) {
283 return true;
284 }
285 else if (handle_context_clone(j)) {
286 return true;
287 }
288 else if (handle_context_task_id(j)) {
289 return true;
290 }
291 else if (handle_context_tasker(j)) {
292 return true;
293 }
294 else if (handle_context_set_anchor(j)) {
295 return true;
296 }
297 else if (handle_context_get_anchor(j)) {
298 return true;
299 }
300 else if (handle_context_get_hit_count(j)) {
301 return true;
302 }
303 else if (handle_context_clear_hit_count(j)) {
304 return true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected