summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_SyncMoveNotify.cs
blob: 4a9904734344062f62fa5c09c8d5e73137f1b17c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using XUtliPoolLib;

namespace XMainClient
{
	internal class Process_PtcG2C_SyncMoveNotify
	{
		public static void Process(PtcG2C_SyncMoveNotify roPtc)
		{
			XEntity entity = XSingleton<XEntityMgr>.singleton.GetEntity(roPtc.Data.EntityID);
			bool flag = entity == null;
			if (!flag)
			{
				XSingleton<XActionReceiver>.singleton.OnMoveReceived(entity, roPtc.Data);
			}
		}
	}
}