summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_ChangeFashionNotify.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_ChangeFashionNotify.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_ChangeFashionNotify.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_ChangeFashionNotify.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_ChangeFashionNotify.cs
new file mode 100644
index 00000000..be123f28
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_ChangeFashionNotify.cs
@@ -0,0 +1,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);
+ }
+ }
+ }
+}