From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Process_RpcC2M_GetDragonGuildLiveness.cs | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2M_GetDragonGuildLiveness.cs (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2M_GetDragonGuildLiveness.cs') diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2M_GetDragonGuildLiveness.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2M_GetDragonGuildLiveness.cs new file mode 100644 index 00000000..746b88fa --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2M_GetDragonGuildLiveness.cs @@ -0,0 +1,27 @@ +using System; +using KKSG; +using XMainClient.UI; +using XUtliPoolLib; + +namespace XMainClient +{ + internal class Process_RpcC2M_GetDragonGuildLiveness + { + public static void OnReply(GetPartnerLivenessArg oArg, GetPartnerLivenessRes oRes) + { + bool flag = oRes.result > ErrorCode.ERR_SUCCESS; + if (flag) + { + XSingleton.singleton.ShowErrorCode(oRes.result); + } + else + { + XDragonGuildDocument.DragonGuildLivenessData.OnGetDragonGuildLivenessInfoBack(oRes); + } + } + + public static void OnTimeout(GetPartnerLivenessArg oArg) + { + } + } +} -- cgit v1.1-26-g67d0