MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / msg

Method msg

ruilanCar.js:452–479  ·  view source on GitHub ↗
(s = t, e = "", i = "", o)

Source from the content-addressed store, hash-verified

450 return t;
451 }
452 msg(s = t, e = "", i = "", o) {
453 const h = (t) =>
454 !t || (!this.isLoon() && this.isSurge())
455 ? t
456 : "string" == typeof t
457 ? this.isLoon()
458 ? t
459 : this.isQuanX()
460 ? { "open-url": t }
461 : void 0
462 : "object" == typeof t && (t["open-url"] || t["media-url"])
463 ? this.isLoon()
464 ? t["open-url"]
465 : this.isQuanX()
466 ? t
467 : void 0
468 : void 0;
469 this.isMute ||
470 (this.isSurge() || this.isLoon()
471 ? $notification.post(s, e, i, h(o))
472 : this.isQuanX() && $notify(s, e, i, h(o)));
473 let logs = ['', '==============📣系统通知📣=============='];
474 logs.push(t);
475 e ? logs.push(e) : '';
476 i ? logs.push(i) : '';
477 console.log(logs.join('\n'));
478 this.logs = this.logs.concat(logs);
479 }
480 log(...t) {
481 t.length > 0 && (this.logs = [...this.logs, ...t]),
482 console.log(t.join(this.logSeparator));

Callers 1

sendMsgMethod · 0.45

Calls 6

hFunction · 0.70
isSurgeMethod · 0.45
isLoonMethod · 0.45
postMethod · 0.45
isQuanXMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected