mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 10:32:19 +08:00
feat. 彩蛋框架
This commit is contained in:
@@ -382,7 +382,10 @@
|
||||
<system:String x:Key="Level1Tip">If checked, will be skip Recruit with 1 ★. If not checked, the entry with 1 ★ will be ignored</system:String>
|
||||
<!-- AutoRecruitSettings -->
|
||||
|
||||
<!-- EasterEggs -->
|
||||
<system:String x:Key="Burping">Ugh... Ehem</system:String>
|
||||
<system:String x:Key="DrunkAndStaggering">Ah, doctor. Why do you sway, so much in your movement today?</system:String>
|
||||
<system:String x:Key="Hangover">I must not drink, drink so much next time...</system:String>
|
||||
<system:String x:Key="HelloWorld">Hello World!</system:String>
|
||||
<!-- EasterEggs -->
|
||||
</ResourceDictionary>
|
||||
@@ -382,7 +382,10 @@
|
||||
<system:String x:Key="Level1Tip">チェックの際に星1タグが特定された場合、募集はスキップされ、チェックされていない場合、星1タグは無視されます。</system:String>
|
||||
<!-- AutoRecruitSettings -->
|
||||
|
||||
<!-- EasterEggs -->
|
||||
<system:String x:Key="Burping">うぅ……オエッ、つ</system:String>
|
||||
<system:String x:Key="DrunkAndStaggering">あれ、ドクター。どうしてそんなフラフラと歩いておられるのですか?</system:String>
|
||||
<system:String x:Key="Hangover">次は飲みすぎないようにしないと……</system:String>
|
||||
<system:String x:Key="HelloWorld">Hello World!</system:String>
|
||||
<!-- EasterEggs -->
|
||||
</ResourceDictionary>
|
||||
@@ -382,7 +382,10 @@
|
||||
<system:String x:Key="Level1Tip">체크되면, ★ 1 태그를 인식할 때 이번 모집을 건너뜁니다. 체크되지 않면, ★ 1 태그를 무시합니다</system:String>
|
||||
<!-- AutoRecruitSettings -->
|
||||
|
||||
<!-- EasterEggs -->
|
||||
<system:String x:Key="Burping">으…… 우웁……</system:String>
|
||||
<system:String x:Key="DrunkAndStaggering">어머, 박사님. 왜 그렇게 비틀비틀 걷고 계시나요?</system:String>
|
||||
<system:String x:Key="Hangover">다, 다음엔 적당히 마셔야지……</system:String>
|
||||
<system:String x:Key="HelloWorld">Hello World!</system:String>
|
||||
<!-- EasterEggs -->
|
||||
</ResourceDictionary>
|
||||
@@ -382,7 +382,10 @@
|
||||
<system:String x:Key="Level1Tip">🍸🍻💃🍸🍻💃🍻🍸🍻🕺🍺💃🍺🍷💃🕺🍸</system:String>
|
||||
<!-- AutoRecruitSettings -->
|
||||
|
||||
<!-- EasterEggs -->
|
||||
<system:String x:Key="Burping">🕺💃</system:String>
|
||||
<system:String x:Key="DrunkAndStaggering">🍻🍻🍻🍻🍻🍻🍻🍻🍻🍻</system:String>
|
||||
<system:String x:Key="Hangover">🍻🍻🍻🍻🍻🍻🍻🍻🍻🍻</system:String>
|
||||
<system:String x:Key="HelloWorld">🍻🍻🍻🍻🍻🍻🍻🍻🍻🍻</system:String>
|
||||
<!-- EasterEggs -->
|
||||
</ResourceDictionary>
|
||||
@@ -382,7 +382,10 @@
|
||||
<system:String x:Key="Level1Tip">勾选时识别到 1 星词条时跳过该次招募,未勾选时将忽略 1 星词条</system:String>
|
||||
<!-- AutoRecruitSettings -->
|
||||
|
||||
<!-- EasterEggs -->
|
||||
<system:String x:Key="Burping">呃......咳嗯</system:String>
|
||||
<system:String x:Key="DrunkAndStaggering">呀,博士。你今天走起路来,怎么看着摇摇晃晃的?</system:String>
|
||||
<system:String x:Key="Hangover">下次不能喝、喝这么多了......</system:String>
|
||||
<system:String x:Key="HelloWorld">Hello World!</system:String>
|
||||
<!-- EasterEggs -->
|
||||
</ResourceDictionary>
|
||||
@@ -382,7 +382,10 @@
|
||||
<system:String x:Key="Level1Tip">勾選時辨識到 1 星詞條時跳過該次招募,未勾選時將忽略 1 星詞條</system:String>
|
||||
<!-- AutoRecruitSettings -->
|
||||
|
||||
<!-- EasterEggs -->
|
||||
<system:String x:Key="Burping">呃......咳嗯</system:String>
|
||||
<system:String x:Key="DrunkAndStaggering">呀,博士。你今天走起路來,怎麼看著搖搖晃晃的?</system:String>
|
||||
<system:String x:Key="Hangover">下次不能喝、喝這麼多了......</system:String>
|
||||
<system:String x:Key="HelloWorld">Hello World!</system:String>
|
||||
<!-- EasterEggs -->
|
||||
</ResourceDictionary>
|
||||
@@ -162,6 +162,11 @@ namespace MeoAsstGui
|
||||
int.TryParse(copilotIdStr, out int copilotID);
|
||||
jsonStr = RequestCopilotServer(copilotID);
|
||||
}
|
||||
else
|
||||
{
|
||||
EasterEgg(filename);
|
||||
return;
|
||||
}
|
||||
|
||||
if (jsonStr != string.Empty)
|
||||
{
|
||||
@@ -501,5 +506,15 @@ namespace MeoAsstGui
|
||||
FocusManager.SetFocusedElement(scope, element);
|
||||
Keyboard.ClearFocus();
|
||||
}
|
||||
|
||||
private void EasterEgg(string text)
|
||||
{
|
||||
switch (text)
|
||||
{
|
||||
case "/help":
|
||||
AddLog(Localization.GetString("HelloWorld"), LogColor.Message);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user