summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_RefreshSweepReward.cs
blob: 42ebf87c5dc236635da6de0e63127a6a5622e4e0 (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
using System;
using KKSG;
using XMainClient.UI;
using XUtliPoolLib;

namespace XMainClient
{
	internal class Process_RpcC2G_RefreshSweepReward
	{
		public static void OnReply(RefreshSweepRewardArg oArg, RefreshSweepRewardRes oRes)
		{
			bool flag = oRes.error > ErrorCode.ERR_SUCCESS;
			if (flag)
			{
				XSingleton<UiUtility>.singleton.ShowSystemTip(oRes.error, "fece00");
			}
			XExpeditionDocument specificDocument = XDocuments.GetSpecificDocument<XExpeditionDocument>(XExpeditionDocument.uuID);
			specificDocument.RefreshSingleSweepRewardRes(oRes.error, oRes.refreshResult);
		}

		public static void OnTimeout(RefreshSweepRewardArg oArg)
		{
		}
	}
}