blob: be123f28cc692348dafd8234c9646060294400aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
using System;
using XUtliPoolLib;
namespace XMainClient
{
internal class Process_PtcG2C_ChangeFashionNotify
{
public static void Process(PtcG2C_ChangeFashionNotify roPtc)
{
XEntity entity = XSingleton<XEntityMgr>.singleton.GetEntity(roPtc.Data.roleID);
bool flag = entity != null;
if (flag)
{
XEquipChangeEventArgs @event = XEventPool<XEquipChangeEventArgs>.GetEvent();
@event.ItemID = roPtc.Data.newItemID;
@event.EquipPart = roPtc.Data.position;
@event.Firer = entity;
XSingleton<XEventMgr>.singleton.FireEvent(@event);
}
}
}
}
|