summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_EntityTargetChangeNtf.cs
blob: 07aaec21a35e11539af2dcee6936fa693f7778e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
			}
		}
	}
}