blob: 912c19553ffb8289fdce6051ec7f6c45a99ef6f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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);
}
}
}
|