提交示例代码
This commit is contained in:
14
邮件系统课程完整代码/Server/Hotfix/Mail/Entity/MailUnitSystem.cs
Normal file
14
邮件系统课程完整代码/Server/Hotfix/Mail/Entity/MailUnitSystem.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Fantasy.Entitas.Interface;
|
||||
|
||||
namespace Fantasy;
|
||||
|
||||
public class MailUnitDestroySystem: DestroySystem<MailUnit>
|
||||
{
|
||||
protected override void Destroy(MailUnit self)
|
||||
{
|
||||
self.Name = null;
|
||||
self.AccountId = 0;
|
||||
self.CreateTime = 0;
|
||||
self.GateRouteId = 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user