summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2M_JoinLeagueEleBattle.cs
blob: 7920b8bfdd7fd677ed2f2e778e67ddaaa5a08c1b (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 XUtliPoolLib;

namespace XMainClient
{
	internal class Process_RpcC2M_JoinLeagueEleBattle
	{
		public static void OnReply(JoinLeagueEleBattleArg oArg, JoinLeagueEleBattleRes oRes)
		{
			bool flag = oRes == null;
			if (flag)
			{
				XSingleton<UiUtility>.singleton.ShowSystemTip(ErrorCode.ERR_FAILED, "fece00");
			}
			else
			{
				bool flag2 = oRes.result == ErrorCode.ERR_SUCCESS;
				if (!flag2)
				{
					XSingleton<UiUtility>.singleton.ShowSystemTip(XStringDefineProxy.GetString(oRes.result), "fece00");
				}
			}
		}

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