using System; using System.Collections.Generic; using System.Net; using System.Net.Sockets; namespace ET.Server { [ComponentOf(typeof(Scene))] public class RouterComponent: Entity, IAwake, IDestroy, IUpdate { public IKcpTransport OuterUdp; public IKcpTransport OuterTcp; public IKcpTransport InnerSocket; public EndPoint IPEndPoint = new IPEndPoint(IPAddress.Any, 0); public byte[] Cache = new byte[1500]; public Queue checkTimeout = new(); public long LastCheckTime = 0; } }