NetServerComponent.cs 317 B

12345678910111213141516
  1. using System.Net;
  2. namespace ET.Server
  3. {
  4. public struct NetServerComponentOnRead
  5. {
  6. public Session Session;
  7. public object Message;
  8. }
  9. [ComponentOf(typeof(Scene))]
  10. public class NetServerComponent: Entity, IAwake<IPEndPoint>, IDestroy
  11. {
  12. public int ServiceId;
  13. }
  14. }