mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 10:10:45 +08:00
perf: 公开 wpfgui 的自定义任务
This commit is contained in:
@@ -505,6 +505,8 @@ The primary instance is 0, and other instances are the numbers after the version
|
||||
<system:String x:Key="Mission">Collect Rewards</system:String>
|
||||
<system:String x:Key="AutoRoguelike">Auto I.S.</system:String>
|
||||
<system:String x:Key="Reclamation">Reclamation Algorithm</system:String>
|
||||
<system:String x:Key="Custom">CustomTask</system:String>
|
||||
<system:String x:Key="CustomWarning">Don't use this function unless you know what you are doing</system:String>
|
||||
<system:String x:Key="ReclamationTheme">Reclamation Algorithm Theme</system:String>
|
||||
<system:String x:Key="ReclamationThemeFire">Fire Within the Sand</system:String>
|
||||
<system:String x:Key="ReclamationThemeTales">Tales Within the Sand</system:String>
|
||||
|
||||
@@ -505,6 +505,8 @@ C:\\leidian\\LDPlayer9
|
||||
<system:String x:Key="Mission">報酬受取</system:String>
|
||||
<system:String x:Key="AutoRoguelike">自動ローグ</system:String>
|
||||
<system:String x:Key="Reclamation">生息演算</system:String>
|
||||
<system:String x:Key="Custom">カスタムタスク</system:String>
|
||||
<system:String x:Key="CustomWarning">この機能は、何をしているのか分からない限り使用しないでください</system:String>
|
||||
<system:String x:Key="ReclamationTheme">主題</system:String>
|
||||
<system:String x:Key="ReclamationThemeFire">砂中の火</system:String>
|
||||
<system:String x:Key="ReclamationThemeTales">熱砂秘聞</system:String>
|
||||
|
||||
@@ -506,6 +506,8 @@ C:\\leidian\\LDPlayer9
|
||||
<system:String x:Key="Mission">보상 수령</system:String>
|
||||
<system:String x:Key="AutoRoguelike">통합전략</system:String>
|
||||
<system:String x:Key="Reclamation">생존연산</system:String>
|
||||
<system:String x:Key="Custom">사용자 지정 작업</system:String>
|
||||
<system:String x:Key="CustomWarning">무엇을 하고 있는지 모른다면 이 기능을 사용하지 마세요</system:String>
|
||||
<system:String x:Key="ReclamationTheme">생존연산 테마</system:String>
|
||||
<system:String x:Key="ReclamationThemeFire">모래 속의 불</system:String>
|
||||
<system:String x:Key="ReclamationThemeTales">사막 이야기</system:String>
|
||||
|
||||
@@ -505,7 +505,8 @@ C:\\leidian\\LDPlayer9。\n
|
||||
<system:String x:Key="Mission">领取奖励</system:String>
|
||||
<system:String x:Key="AutoRoguelike">自动肉鸽</system:String>
|
||||
<system:String x:Key="Reclamation">生息演算</system:String>
|
||||
<system:String x:Key="Custom">Debug</system:String>
|
||||
<system:String x:Key="Custom">自定义任务</system:String>
|
||||
<system:String x:Key="CustomWarning">请勿启用这个任务,除非你知道你正在做什么</system:String>
|
||||
<system:String x:Key="ReclamationTheme">生息演算主题</system:String>
|
||||
<system:String x:Key="ReclamationThemeFire">沙中之火</system:String>
|
||||
<system:String x:Key="ReclamationThemeTales">沙洲遗闻</system:String>
|
||||
|
||||
@@ -505,6 +505,8 @@ C:\\leidian\\LDPlayer9。\n
|
||||
<system:String x:Key="Mission">領取獎勵</system:String>
|
||||
<system:String x:Key="AutoRoguelike">自動肉鴿</system:String>
|
||||
<system:String x:Key="Reclamation">生息演算</system:String>
|
||||
<system:String x:Key="Custom">自定義任務</system:String>
|
||||
<system:String x:Key="CustomWarning">請勿啟用此功能,除非您知道自己在做什麼</system:String>
|
||||
<system:String x:Key="ReclamationTheme">生息演算主題</system:String>
|
||||
<system:String x:Key="ReclamationThemeFire">沙中之火</system:String>
|
||||
<system:String x:Key="ReclamationThemeTales">沙洲遺聞</system:String>
|
||||
|
||||
@@ -679,14 +679,10 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
"Mall",
|
||||
"Mission",
|
||||
"AutoRoguelike",
|
||||
"Reclamation"
|
||||
"Reclamation",
|
||||
"Custom"
|
||||
];
|
||||
|
||||
if (Instances.VersionUpdateViewModel.IsDebugVersion() || File.Exists("DEBUG") || File.Exists("DEBUG.txt"))
|
||||
{
|
||||
taskList.Add("Custom");
|
||||
}
|
||||
|
||||
var tempOrderList = new List<DragItemViewModel>(new DragItemViewModel[taskList.Count]);
|
||||
var nonOrderList = new List<DragItemViewModel>();
|
||||
for (int i = 0; i != taskList.Count; ++i)
|
||||
|
||||
@@ -24,11 +24,18 @@
|
||||
Margin="0,10"
|
||||
Text="{Binding FormattedTaskNames}"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBlock
|
||||
xml:space="preserve"
|
||||
FontSize="14"
|
||||
Foreground="{DynamicResource PrimaryTextBrush}"
|
||||
Text="{DynamicResource CustomWarning}"
|
||||
TextAlignment="Left"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBlock
|
||||
xml:space="preserve"
|
||||
FontSize="12"
|
||||
Foreground="{DynamicResource TraceLogBrush}"
|
||||
Text="Input Rules: • Comma "," separated list: Executes first matching task. • Semicolon ";" separated groups: Executes each group sequentially. Examples: • 'TaskA, TaskB' → Runs TaskA (or TaskB if TaskA doesn't match) • 'TaskA; TaskB' → Runs both TaskA and TaskB • 'TaskA, TaskB; TaskC' → First runs TaskA/TaskB, then TaskC"
|
||||
Text=" Input Rules: • Comma "," separated list: Executes first matching task. • Semicolon ";" separated groups: Executes each group sequentially. Examples: • 'TaskA, TaskB' → Runs TaskA (or TaskB if TaskA doesn't match) • 'TaskA; TaskB' → Runs both TaskA and TaskB • 'TaskA, TaskB; TaskC' → First runs TaskA/TaskB, then TaskC"
|
||||
TextAlignment="Left"
|
||||
TextWrapping="Wrap" />
|
||||
</StackPanel>
|
||||
|
||||
Reference in New Issue
Block a user