示例#1
0
        public static async ETTask <Scene> Create(Entity parent, string name, SceneType sceneType)
        {
            long id = IdGenerater.GenerateId();

            return(await Create(parent, id, parent.DomainZone(), name, sceneType));
        }
示例#2
0
 public void OnFetch()
 {
     this.InstanceId = IdGenerater.GenerateInstanceId();
 }
示例#3
0
 protected AChannel(AService service, ChannelType channelType)
 {
     this.Id          = IdGenerater.GenerateId();
     this.ChannelType = channelType;
     this.Service     = service;
 }