summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_AttributeChangeNotify.cs
blob: 52c71ac17eb60eae571eda2c3098e6d21721627d (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_AttributeChangeNotify
	{
		public static void Process(PtcG2C_AttributeChangeNotify roPtc)
		{
			XEntity entity = XSingleton<XEntityMgr>.singleton.GetEntity(roPtc.Data.uID);
			bool flag = entity != null;
			if (flag)
			{
				entity.Net.OnAttributeChangedNotify(roPtc.Data);
			}
		}
	}
}