MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / task_complete

Method task_complete

daily/sfsy.py:127–133  ·  view source on GitHub ↗

任务完成

(self, task_name: str)

Source from the content-addressed store, hash-verified

125 self.messages.append(msg)
126
127 def task_complete(self, task_name: str):
128 """任务完成"""
129 msg = self._format_msg(self.ICONS['task_complete'], f"[{task_name}] 提交成功")
130 self._safe_print(msg)
131 with self.lock:
132 self.current_account_msg.append(msg)
133 self.messages.append(msg)
134
135 def reward_get(self, task_name: str):
136 """奖励领取成功"""

Callers 1

run_all_tasksMethod · 0.80

Calls 2

_format_msgMethod · 0.95
_safe_printMethod · 0.95

Tested by

no test coverage detected