修改协议工具
This commit is contained in:
13
Hotfix/Gate/System/Player/PlayerDestroySystem.cs
Normal file
13
Hotfix/Gate/System/Player/PlayerDestroySystem.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Fantasy.Entitas.Interface;
|
||||
|
||||
namespace NB.Gate;
|
||||
|
||||
public sealed class PlayerDestroySystem : DestroySystem<Player>
|
||||
{
|
||||
protected override void Destroy(Player self)
|
||||
{
|
||||
self.CreateTime = 0;
|
||||
self.LoginTime = 0;
|
||||
self.SessionRunTimeId = 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user