提交示例代码
This commit is contained in:
14
物品和背包的完整代码/Server/Hotfix/Gate/Entity/AccountSystem.cs
Normal file
14
物品和背包的完整代码/Server/Hotfix/Gate/Entity/AccountSystem.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Fantasy.Entitas.Interface;
|
||||
|
||||
namespace Fantasy.Gate.Entity;
|
||||
|
||||
public sealed class AccountSystemDestroySystem : DestroySystem<Account>
|
||||
{
|
||||
protected override void Destroy(Account self)
|
||||
{
|
||||
self.Session = null;
|
||||
self.UserName = null;
|
||||
self.Password = null;
|
||||
self.ConfigId = 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user