1234567891011121314151617181920212223 |
- using System.Net;
- namespace ET.Server
- {
- public class NetServerComponentOnRead
- {
- public Session Session;
- public object Message;
- public static NetServerComponentOnRead Static = new();
- public static NetServerComponentOnRead Clone(Session s, object o)
- {
- Static.Session = s;
- Static.Message = o;
- return Static;
- }
- }
- [ComponentOf(typeof(Scene))]
- public class NetServerComponent: Entity, IAwake<IPEndPoint, NetworkProtocol>, IDestroy
- {
- public int ServiceId;
- }
- }
|