mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 10:32:19 +08:00
update vs solution
This commit is contained in:
24
Tools/Test/main.cpp
Normal file
24
Tools/Test/main.cpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#include "Assistance.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
using namespace MeoAssistance;
|
||||
|
||||
Assistance ass;
|
||||
if (!ass.setSimulatorType(SimulatorType::BlueStacks)) {
|
||||
std::cerr << "failed" << std::endl;
|
||||
return -1;
|
||||
}
|
||||
|
||||
std::cout << "start" << std::endl;
|
||||
ass.start();
|
||||
|
||||
getchar();
|
||||
|
||||
std::cout << "stop" << std::endl;
|
||||
ass.stop();
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user