summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_AskForCheckInBonus.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_AskForCheckInBonus.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_AskForCheckInBonus.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_AskForCheckInBonus.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_AskForCheckInBonus.cs
new file mode 100644
index 00000000..9f2f73ec
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_AskForCheckInBonus.cs
@@ -0,0 +1,30 @@
+using System;
+using System.Reflection;
+using KKSG;
+using XMainClient.UI;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class Process_RpcC2G_AskForCheckInBonus
+ {
+ public static void OnReply(AskForCheckInBonusArg oArg, AskForCheckInBonusRes oRes)
+ {
+ bool flag = oRes.errorcode == ErrorCode.ERR_INVALID_REQUEST;
+ if (flag)
+ {
+ string fullName = MethodBase.GetCurrentMethod().ReflectedType.FullName;
+ XSingleton<UiUtility>.singleton.OnGetInvalidRequest(fullName);
+ }
+ else
+ {
+ XQuickReplyDocument specificDocument = XDocuments.GetSpecificDocument<XQuickReplyDocument>(XQuickReplyDocument.uuID);
+ specificDocument.OnAskForCheckInBonus(oArg, oRes);
+ }
+ }
+
+ public static void OnTimeout(AskForCheckInBonusArg oArg)
+ {
+ }
+ }
+}