blob: 9c56e5d1d4fd2016e47466d700274827e6d8493f (
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
|
using System;
using KKSG;
using XMainClient.UI;
using XUtliPoolLib;
namespace XMainClient
{
internal class Process_RpcC2M_GoalAwardsGetAwards
{
public static void OnReply(GoalAwardsGetAwards_C2M oArg, GoalAwardsGetAwards_M2C oRes)
{
bool flag = oRes.errorcode > ErrorCode.ERR_SUCCESS;
if (flag)
{
XSingleton<UiUtility>.singleton.ShowSystemTip(oRes.errorcode, "fece00");
}
else
{
XTargetRewardDocument specificDocument = XDocuments.GetSpecificDocument<XTargetRewardDocument>(XTargetRewardDocument.uuID);
specificDocument.OnClaimedAchieve(oArg.goalAwardsID, oRes.gottenAwardsIndex);
}
}
public static void OnTimeout(GoalAwardsGetAwards_C2M oArg)
{
}
}
}
|