using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; namespace ET { [ComponentOf(typeof(Scene))] public class NetThreadComponent: Entity, IAwake, ILateUpdate, IDestroy { public static NetThreadComponent Instance; public const int checkInteral = 2000; public const int recvMaxIdleTime = 60000; public const int sendMaxIdleTime = 60000; public Action foreachAction; public ThreadSynchronizationContext ThreadSynchronizationContext; public HashSet Services = new HashSet(); } }