|
@@ -264,7 +264,12 @@ namespace GFGGame
|
|
int errorCode = await LoginHelper.EnterGame(GameGlobal.zoneScene);
|
|
int errorCode = await LoginHelper.EnterGame(GameGlobal.zoneScene);
|
|
if (errorCode != ErrorCode.ERR_Success)
|
|
if (errorCode != ErrorCode.ERR_Success)
|
|
{
|
|
{
|
|
- ErrorCodeController.Handler(errorCode);
|
|
|
|
|
|
+ AlertSystem.Show("与服务器失去连接,请重新进入游戏。")
|
|
|
|
+ .SetRightButton(true, "好的", (object data) =>
|
|
|
|
+ {
|
|
|
|
+ Application.Quit();
|
|
|
|
+ });
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
EventAgent.DispatchEvent(ConstMessage.NUMERIC_CHANGE, NumericType.All);
|
|
EventAgent.DispatchEvent(ConstMessage.NUMERIC_CHANGE, NumericType.All);
|
|
//重连成功请求邮件和公告等离线后会变更的数据
|
|
//重连成功请求邮件和公告等离线后会变更的数据
|