| 123456789101112131415161718192021 |
- using System;
- using System.Collections.Generic;
- namespace ET.Server
- {
- [FriendOf(typeof(RobotCaseComponent))]
- public static partial class RobotCaseComponentSystem
- {
- public static int GetN(this RobotCaseComponent self)
- {
- return ++self.N;
- }
-
- public static async ETTask<RobotCase> New(this RobotCaseComponent self)
- {
- await ETTask.CompletedTask;
- RobotCase robotCase = self.AddChild<RobotCase>();
- return robotCase;
- }
- }
- }
|