浏览代码

添加维护提示

guodong 3 年之前
父节点
当前提交
90c8e8e9c3
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      GameClient/Assets/Game/HotUpdate/ETCodes/Hotfix/App/Account/A2C_DisconnectHandler.cs

+ 7 - 0
GameClient/Assets/Game/HotUpdate/ETCodes/Hotfix/App/Account/A2C_DisconnectHandler.cs

@@ -24,6 +24,13 @@ namespace ET
                             GameController.QuitToLoginView(true);
                         });
                     break;
+                case ErrorCode.Err_ServerMaintain:
+                    Alert.Show("服务器维护中!")
+                        .SetLeftButton(true, "返回登录", (obj) =>
+                        {
+                            GameController.QuitToLoginView(true);
+                        });
+                    break;
                 default:
                     if(string.IsNullOrEmpty(message.Message))
                     {