CTT/Server/Hotfix/Module/Actor/MailBoxComponentSystem.cs

22 lines
547 B
C#

using System;
namespace ET
{
[ObjectSystem]
public class MailBoxComponentAwakeSystem: AwakeSystem<MailBoxComponent>
{
public override void Awake(MailBoxComponent self)
{
self.MailboxType = MailboxType.MessageDispatcher;
}
}
[ObjectSystem]
public class MailBoxComponentAwake1System: AwakeSystem<MailBoxComponent, MailboxType>
{
public override void Awake(MailBoxComponent self, MailboxType mailboxType)
{
self.MailboxType = mailboxType;
}
}
}