diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_GetCompeteDragonInfo.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_GetCompeteDragonInfo.cs | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_GetCompeteDragonInfo.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_GetCompeteDragonInfo.cs new file mode 100644 index 00000000..87a23247 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2G_GetCompeteDragonInfo.cs @@ -0,0 +1,35 @@ +using System;
+using KKSG;
+using XMainClient.UI;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class Process_RpcC2G_GetCompeteDragonInfo
+ {
+ public static void OnReply(GetCompeteDragonInfoArg oArg, GetCompeteDragonInfoRes oRes)
+ {
+ bool flag = oRes.error > ErrorCode.ERR_SUCCESS;
+ if (flag)
+ {
+ XSingleton<UiUtility>.singleton.ShowErrorCode(oRes.error);
+ }
+ else
+ {
+ bool flag2 = oArg.opArg == CompeteDragonOpArg.CompeteDragon_GetInfo;
+ if (flag2)
+ {
+ XCompeteDocument.Doc.OnGetCompeteDragonInfo(oRes);
+ }
+ else
+ {
+ XCompeteDocument.Doc.OnFetchReward(oRes);
+ }
+ }
+ }
+
+ public static void OnTimeout(GetCompeteDragonInfoArg oArg)
+ {
+ }
+ }
+}
|