mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
chore: 化动编队日志输出
This commit is contained in:
@@ -1425,15 +1425,21 @@ namespace MaaWpfGui.Main
|
||||
|
||||
case "PenguinId":
|
||||
{
|
||||
string id = subTaskDetails!["id"]?.ToString();
|
||||
string id = subTaskDetails!["id"]?.ToString() ?? string.Empty;
|
||||
Instances.SettingsViewModel.PenguinId = id;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case "BattleFormation":
|
||||
Instances.CopilotViewModel.AddLog(LocalizationHelper.GetString("BattleFormation") + "\n[" +
|
||||
string.Join(", ", subTaskDetails!["formation"]?.ToObject<List<string>>().Select(oper => DataHelper.GetLocalizedCharacterName(oper))) + "]");
|
||||
Instances.CopilotViewModel.AddLog(
|
||||
LocalizationHelper.GetString("BattleFormation") +
|
||||
"\n[" +
|
||||
string.Join(
|
||||
", ",
|
||||
(subTaskDetails!["formation"]?.ToObject<List<string?>>() ?? [])
|
||||
.Select(oper => DataHelper.GetLocalizedCharacterName(oper))
|
||||
.Where(oper => !string.IsNullOrEmpty(oper))) + "]");
|
||||
break;
|
||||
|
||||
case "BattleFormationSelected":
|
||||
|
||||
Reference in New Issue
Block a user