diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_AttributeChangeNotify.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_AttributeChangeNotify.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_AttributeChangeNotify.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_AttributeChangeNotify.cs new file mode 100644 index 00000000..52c71ac1 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_AttributeChangeNotify.cs @@ -0,0 +1,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);
+ }
+ }
+ }
+}
|