test(upserver): 归档存档迁移与玩法闭环回归工具
This commit is contained in:
@@ -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")
|
||||
Reference in New Issue
Block a user