mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
36 lines
588 B
C++
36 lines
588 B
C++
#include "AsstCaller.h"
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
void* ptr = AsstCreate();
|
|
auto ret = AsstCatchEmulator(ptr);
|
|
if (!ret) {
|
|
getchar();
|
|
if (ptr) {
|
|
AsstDestory(ptr);
|
|
ptr = nullptr;
|
|
}
|
|
return -1;
|
|
}
|
|
|
|
char ch = 0;
|
|
while (ch != 'q') {
|
|
//AsstStartIndertifyOpers(ptr);
|
|
AsstStartInfrast(ptr);
|
|
//AsstStartDebugTask(ptr);
|
|
//{
|
|
// const int required[] = { 3, 4, 5, 6 };
|
|
// AsstStartOpenRecruit(ptr, required, sizeof(required)/sizeof(int), true);
|
|
//}
|
|
|
|
ch = getchar();
|
|
}
|
|
|
|
if (ptr) {
|
|
AsstDestory(ptr);
|
|
ptr = nullptr;
|
|
}
|
|
|
|
return 0;
|
|
} |