summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_OutLookChangeNtf.cs
blob: 813407f71cb072c0e37e5c1a6086b5184669fdfc (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_OutLookChangeNtf
	{
		public static void Process(PtcG2C_OutLookChangeNtf roPtc)
		{
			XEntity entity = XSingleton<XEntityMgr>.singleton.GetEntity(roPtc.Data.roleid);
			bool flag = entity == null;
			if (!flag)
			{
				XOutlookHelper.SetOutLookReplace(entity.Attributes, entity, roPtc.Data.outlook);
			}
		}
	}
}