summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_EntityTargetChangeNtf.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_EntityTargetChangeNtf.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_EntityTargetChangeNtf.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_EntityTargetChangeNtf.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_EntityTargetChangeNtf.cs
new file mode 100644
index 00000000..07aaec21
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_EntityTargetChangeNtf.cs
@@ -0,0 +1,19 @@
+using System;
+using KKSG;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class Process_PtcG2C_EntityTargetChangeNtf
+ {
+ public static void Process(PtcG2C_EntityTargetChangeNtf roPtc)
+ {
+ bool flag = XSingleton<XScene>.singleton.SceneType == SceneType.SCENE_MOBA;
+ if (flag)
+ {
+ XMobaBattleDocument specificDocument = XDocuments.GetSpecificDocument<XMobaBattleDocument>(XMobaBattleDocument.uuID);
+ specificDocument.OnEntityTargetChange(roPtc.Data);
+ }
+ }
+ }
+}