diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2M_ClickNewNotice.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2M_ClickNewNotice.cs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2M_ClickNewNotice.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2M_ClickNewNotice.cs new file mode 100644 index 00000000..912b1642 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_RpcC2M_ClickNewNotice.cs @@ -0,0 +1,39 @@ +using System;
+using KKSG;
+using XMainClient.UI;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class Process_RpcC2M_ClickNewNotice
+ {
+ public static void OnReply(ClickNewNoticeArg oArg, ClickNewNoticeRes oRes)
+ {
+ bool flag = oRes == null;
+ if (flag)
+ {
+ XSingleton<UiUtility>.singleton.ShowSystemTip(ErrorCode.ERR_FAILED, "fece00");
+ }
+ else
+ {
+ oArg.info.isnew = false;
+ uint type = oArg.info.type;
+ if (type == 5u)
+ {
+ bool flag2 = XSingleton<XGameSysMgr>.singleton.IsSystemOpened(XSysDefine.XSys_Patface);
+ if (flag2)
+ {
+ DlgBase<XPatfaceView, XPatfaceBehaviour>.singleton.ShowPatface();
+ }
+ }
+ XAnnouncementDocument specificDocument = XDocuments.GetSpecificDocument<XAnnouncementDocument>(XAnnouncementDocument.uuID);
+ specificDocument.RefreshRedPoint();
+ }
+ }
+
+ public static void OnTimeout(ClickNewNoticeArg oArg)
+ {
+ }
+ }
+}
|