mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 18:47:55 +08:00
Merge pull request #743 from lhhxxxxx/feat/startup
[Done] [New Feature] 自动启动方舟
This commit is contained in:
@@ -257,7 +257,7 @@ namespace MeoAsstGui
|
||||
}
|
||||
else if (item.Name == "开始唤醒")
|
||||
{
|
||||
ret &= asstProxy.AsstAppendStartUp();
|
||||
ret &= appendStart();
|
||||
}
|
||||
else if (item.Name == "刷理智")
|
||||
{
|
||||
@@ -334,6 +334,15 @@ namespace MeoAsstGui
|
||||
ViewStatusStorage.Set("MainFunction.TimesLimited.Quantity", MaxTimes);
|
||||
}
|
||||
|
||||
private bool appendStart()
|
||||
{
|
||||
var settings = _container.Get<SettingsViewModel>();
|
||||
var asstProxy = _container.Get<AsstProxy>();
|
||||
var mode = settings.ServerType;
|
||||
var enable = settings.StartGameEnable;
|
||||
return asstProxy.AsstAppendStartUp(mode, enable);
|
||||
}
|
||||
|
||||
private bool appendFight()
|
||||
{
|
||||
int medicine = 0;
|
||||
|
||||
Reference in New Issue
Block a user