test(upserver): 归档存档迁移与玩法闭环回归工具

This commit is contained in:
Liubing\LB
2026-09-28 18:16:14 +08:00
parent c4ae02def9
commit a6f5e107f8
232 changed files with 12903 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
--- Client/Assets/Scripts/Stages/PFLoginAct.cs (reviewed baseline)
+++ Client/Assets/Scripts/Stages/PFLoginAct.cs
@@ -71,6 +71,9 @@
loginToken.ThrowIfCancellationRequested();
UpdateLoadingInfo();
var configCustomId = config.Get<string>("CustomID", string.Empty);
+#if UNITY_EDITOR && !SERVICE_HOST
+ if(game.PlayerDataStorage.PlayerKVGameplayLoop.Enabled) configCustomId=game.PlayerDataStorage.PlayerKVGameplayLoop.Permit.PlayerId;
+#endif
if (configCustomId == @"{{input}}")
{
LoadingScreen.HideProgressBar();
@@ -93,6 +96,9 @@
loginToken.ThrowIfCancellationRequested();
if (step != ELoginStep.Done)
{
+#if UNITY_EDITOR && !SERVICE_HOST
+ if(game.PlayerDataStorage.PlayerKVGameplayLoop.Enabled) throw game.PlayerDataStorage.PlayerKVGameplayLoop.Stop("Login failed; restart the Unity process before another attempt.");
+#endif
//source.Cancel();
//source.Dispose();
await ReytryDialog(userService.Login, LocalizationMgr.GetText("subtitle_loginfailed")