|
@@ -26,7 +26,8 @@ namespace GFGGame
|
|
else if (errorCode == ET.ErrorCode.ERR_ClientVersionError)
|
|
else if (errorCode == ET.ErrorCode.ERR_ClientVersionError)
|
|
{
|
|
{
|
|
Alert.Show("版本已更新,请联系研发获取最新版本")
|
|
Alert.Show("版本已更新,请联系研发获取最新版本")
|
|
- .SetLeftButton(true, "知道了", (data) => {
|
|
|
|
|
|
+ .SetLeftButton(true, "知道了", (data) =>
|
|
|
|
+ {
|
|
Application.Quit();
|
|
Application.Quit();
|
|
});
|
|
});
|
|
}
|
|
}
|
|
@@ -39,6 +40,12 @@ namespace GFGGame
|
|
|
|
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
+ else if (ErrorCodeCfgArray.Instance.GetCfg(errorCode) != null)
|
|
|
|
+ {
|
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt("errorCode " + errorCode.ToString() + ErrorCodeCfgArray.Instance.GetCfg(errorCode));
|
|
|
|
+ ET.Log.Error("errorCode" + errorCode.ToString());
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
else
|
|
else
|
|
{
|
|
{
|
|
PromptController.Instance.ShowFloatTextPrompt("errorCode " + errorCode.ToString());
|
|
PromptController.Instance.ShowFloatTextPrompt("errorCode " + errorCode.ToString());
|