diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_SpecialStateNtf.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_SpecialStateNtf.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_SpecialStateNtf.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_SpecialStateNtf.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_SpecialStateNtf.cs new file mode 100644 index 00000000..e1339b0c --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_SpecialStateNtf.cs @@ -0,0 +1,19 @@ +using System;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class Process_PtcG2C_SpecialStateNtf
+ {
+ public static void Process(PtcG2C_SpecialStateNtf roPtc)
+ {
+ XSingleton<XDebug>.singleton.AddLog(roPtc.Data.uid.ToString(), " got specialStateNtf state ", roPtc.Data.state.ToString(), " mask ", roPtc.Data.effectmask.ToString(), null, XDebugColor.XDebug_None);
+ XEntity entity = XSingleton<XEntityMgr>.singleton.GetEntity(roPtc.Data.uid);
+ bool flag = entity != null;
+ if (flag)
+ {
+ entity.UpdateSpecialStateFromServer(roPtc.Data.state, roPtc.Data.effectmask);
+ }
+ }
+ }
+}
|