blob: 478afdf93797452639fc6d5a9fd810075e3b4ac6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
using System;
using XUtliPoolLib;
namespace XMainClient
{
internal class Process_PtcG2C_SyncStepNotify
{
public static void Process(PtcG2C_SyncStepNotify roPtc)
{
for (int i = 0; i < roPtc.Data.DataList.Count; i++)
{
XEntity entityConsiderDeath = XSingleton<XEntityMgr>.singleton.GetEntityConsiderDeath(roPtc.Data.DataList[i].EntityID);
bool flag = entityConsiderDeath == null;
if (!flag)
{
XSingleton<XActionReceiver>.singleton.OnActionReceived(entityConsiderDeath, roPtc.Data.DataList[i]);
}
}
}
}
}
|