mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
16 lines
574 B
C#
16 lines
574 B
C#
namespace ET.Client
|
|
{
|
|
[Invoke((long)SceneType.NetClient)]
|
|
public class FiberInit_NetClient: AInvokeHandler<FiberInit, ETTask>
|
|
{
|
|
public override async ETTask Handle(FiberInit fiberInit)
|
|
{
|
|
Scene root = fiberInit.Fiber.Root;
|
|
root.AddComponent<MailBoxComponent, MailBoxType>(MailBoxType.UnOrderedMessage);
|
|
root.AddComponent<TimerComponent>();
|
|
root.AddComponent<CoroutineLockComponent>();
|
|
root.AddComponent<ActorInnerComponent>();
|
|
await ETTask.CompletedTask;
|
|
}
|
|
}
|
|
} |