diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_PvpNowAllData.cs')
| -rw-r--r-- | Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_PvpNowAllData.cs | 34 | 
1 files changed, 34 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_PvpNowAllData.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_PvpNowAllData.cs new file mode 100644 index 00000000..b5d5b82f --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_PvpNowAllData.cs @@ -0,0 +1,34 @@ +using System;
 +using System.Reflection;
 +using KKSG;
 +using XMainClient.UI;
 +using XUtliPoolLib;
 +
 +namespace XMainClient
 +{
 +	internal class Process_RpcC2G_PvpNowAllData
 +	{
 +		public static void OnReply(roArg oArg, PvpNowGameData oRes)
 +		{
 +			bool flag = oRes.errcode == ErrorCode.ERR_INVALID_REQUEST;
 +			if (flag)
 +			{
 +				bool bNoShowLog = oArg.bNoShowLog;
 +				if (bNoShowLog)
 +				{
 +					string fullName = MethodBase.GetCurrentMethod().ReflectedType.FullName;
 +					XSingleton<UiUtility>.singleton.OnGetInvalidRequest(fullName);
 +				}
 +			}
 +			else
 +			{
 +				XBattleCaptainPVPDocument specificDocument = XDocuments.GetSpecificDocument<XBattleCaptainPVPDocument>(XBattleCaptainPVPDocument.uuID);
 +				specificDocument.SetReqBattleCaptainPVPRefreshInfo(oArg, oRes);
 +			}
 +		}
 +
 +		public static void OnTimeout(roArg oArg)
 +		{
 +		}
 +	}
 +}
  | 
