Files
MaaAssistantArknights/include/AsstCaller.h
2021-12-02 01:01:42 +08:00

38 lines
1.6 KiB
C

#pragma once
#include "AsstPort.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef void (MEO_CALL* AsstCallback)(int msg, const char* detail_json, void* custom_arg);
MEOAPI_PORT void* MEO_CALL AsstCreate();
MEOAPI_PORT void* MEO_CALL AsstCreateEx(AsstCallback callback, void* custom_arg);
void MEOAPI AsstDestory(void* p_asst);
bool MEOAPI AsstCatchDefault(void* p_asst);
bool MEOAPI AsstCatchEmulator(void* p_asst);
bool MEOAPI AsstCatchCustom(void* p_asst);
bool MEOAPI AsstCatchFake(void* p_asst);
bool MEOAPI AsstAppendFight(void* p_asst, int max_mecidine, int max_stone, int max_times);
bool MEOAPI AsstAppendAward(void* p_asst);
bool MEOAPI AsstAppendVisit(void* p_asst);
bool MEOAPI AsstAppendMall(void* p_asst, bool with_shopping);
//bool MEOAPI AsstAppendProcessTask(void* p_asst, const char* task);
bool MEOAPI AsstAppendInfrast(void* p_asst, int work_mode, const char** order, int order_size, int uses_of_drones, double dorm_threshold);
bool MEOAPI AsstAppendRecruit(void* p_asst, int max_times, const int required_level[], int required_len, const int confirm_level[], int confirm_len);
bool MEOAPI AsstAppendDebug(void* p_asst);
bool MEOAPI AsstStartRecruitCalc(void* p_asst, const int required_level[], int required_len, bool set_time);
bool MEOAPI AsstStart(void* p_asst);
bool MEOAPI AsstStop(void* p_asst);
bool MEOAPI AsstSetPenguinId(void* p_asst, const char* id);
//bool MEOAPI AsstSetParam(void* p_asst, const char* type, const char* param, const char* value);
MEOAPI_PORT const char* MEO_CALL AsstGetVersion();
#ifdef __cplusplus
}
#endif