diff --git a/src/MeoAssistant/Assistant.cpp b/src/MeoAssistant/Assistant.cpp index 49ce1f5488..2fe7d9cfc0 100644 --- a/src/MeoAssistant/Assistant.cpp +++ b/src/MeoAssistant/Assistant.cpp @@ -1,6 +1,5 @@ #include "Assistant.h" -#include #include #include diff --git a/src/Python/interface.py b/src/Python/interface.py index 87a6d301b2..d3401a690b 100644 --- a/src/Python/interface.py +++ b/src/Python/interface.py @@ -52,6 +52,12 @@ class Asst: return self.__lib.AsstConnect(self.__ptr, adb_path.encode('utf-8'), address.encode('utf-8'), config.encode('utf-8')) + def append_start_up(self) -> bool: + """ + 添加开始唤醒任务 + """ + return self.__lib.AsstAppendStartUp(self.__ptr) + def append_fight(self, stage: str, max_medicine: int, max_stone: int, max_times: int) -> bool: """ 添加刷理智任务 @@ -214,6 +220,9 @@ class Asst: self.__lib.AsstConnect.argtypes = ( ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p,) + self.__lib.AsstAppendStartUp.restype = ctypes.c_bool + self.__lib.AsstAppendStartUp.argtypes = (ctypes.c_void_p,) + self.__lib.AsstAppendFight.restype = ctypes.c_bool self.__lib.AsstAppendFight.argtypes = ( ctypes.c_void_p, ctypes.c_char_p, ctypes.c_int, ctypes.c_int, ctypes.c_int,)