diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2N_LoginReconnectReq.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2N_LoginReconnectReq.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2N_LoginReconnectReq.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2N_LoginReconnectReq.cs new file mode 100644 index 00000000..912c1955 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2N_LoginReconnectReq.cs @@ -0,0 +1,31 @@ +using System;
+using KKSG;
+using XMainClient.UI;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class Process_RpcC2N_LoginReconnectReq
+ {
+ public static void OnReply(LoginReconnectReqArg oArg, LoginReconnectReqRes oRes)
+ {
+ XSingleton<XLoginDocument>.singleton.SetBlockUIVisable(false);
+ bool flag = oRes.result == ErrorCode.ERR_SUCCESS;
+ if (flag)
+ {
+ DlgBase<ModalDlg, ModalDlgBehaviour>.singleton.SetVisible(false, true);
+ }
+ else
+ {
+ XSingleton<UiUtility>.singleton.ShowSystemTip(oRes.result, "fece00");
+ XSingleton<XLoginDocument>.singleton.FromLogining();
+ }
+ }
+
+ public static void OnTimeout(LoginReconnectReqArg oArg)
+ {
+ XSingleton<XLoginDocument>.singleton.SetBlockUIVisable(false);
+ }
+ }
+}
|