diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_OpenSystemNtf.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_OpenSystemNtf.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_OpenSystemNtf.cs | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_OpenSystemNtf.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_OpenSystemNtf.cs new file mode 100644 index 00000000..879ea557 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_OpenSystemNtf.cs @@ -0,0 +1,43 @@ +using System;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class Process_PtcG2C_OpenSystemNtf
+ {
+ public static void Process(PtcG2C_OpenSystemNtf roPtc)
+ {
+ XPlayerAttributes xplayerData = XSingleton<XAttributeMgr>.singleton.XPlayerData;
+ bool flag = xplayerData == null;
+ if (flag)
+ {
+ XSingleton<XDebug>.singleton.AddErrorLog("XPlayerData == null", null, null, null, null, null);
+ }
+ else
+ {
+ int i = 0;
+ int count = roPtc.Data.sysIDs.Count;
+ while (i < count)
+ {
+ xplayerData.CacheOpenSystem(roPtc.Data.sysIDs[i]);
+ i++;
+ }
+ i = 0;
+ count = roPtc.Data.closeSysIDs.Count;
+ while (i < count)
+ {
+ xplayerData.CloseSystem(roPtc.Data.closeSysIDs[i]);
+ i++;
+ }
+ XOperatingActivityDocument.Doc.OnSystemChanged(roPtc.Data.sysIDs, roPtc.Data.closeSysIDs);
+ XActivityDocument.Doc.OnSystemChanged(roPtc.Data.sysIDs, roPtc.Data.closeSysIDs);
+ WeekEndNestDocument.Doc.OnSystemChanged(roPtc.Data.sysIDs, roPtc.Data.closeSysIDs);
+ XThemeActivityDocument specificDocument = XDocuments.GetSpecificDocument<XThemeActivityDocument>(XThemeActivityDocument.uuID);
+ specificDocument.OnSystemChanged(roPtc.Data.sysIDs, roPtc.Data.closeSysIDs);
+ XFPStrengthenDocument specificDocument2 = XDocuments.GetSpecificDocument<XFPStrengthenDocument>(XFPStrengthenDocument.uuID);
+ specificDocument2.SetNew(roPtc.Data.sysIDs);
+ XWelfareDocument.Doc.SetBackFlowOpenSystem(roPtc.Data.sysIDs, roPtc.Data.closeSysIDs);
+ }
+ }
+ }
+}
|