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