blob: 87a2324787fba2ea71439aec63446565a5c8dc32 (
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
32
33
34
35
|
using System;
using KKSG;
using XMainClient.UI;
using XUtliPoolLib;
namespace XMainClient
{
internal class Process_RpcC2G_GetCompeteDragonInfo
{
public static void OnReply(GetCompeteDragonInfoArg oArg, GetCompeteDragonInfoRes oRes)
{
bool flag = oRes.error > ErrorCode.ERR_SUCCESS;
if (flag)
{
XSingleton<UiUtility>.singleton.ShowErrorCode(oRes.error);
}
else
{
bool flag2 = oArg.opArg == CompeteDragonOpArg.CompeteDragon_GetInfo;
if (flag2)
{
XCompeteDocument.Doc.OnGetCompeteDragonInfo(oRes);
}
else
{
XCompeteDocument.Doc.OnFetchReward(oRes);
}
}
}
public static void OnTimeout(GetCompeteDragonInfoArg oArg)
{
}
}
}
|