using System.Net.Sockets;

namespace ET.Client
{
    public class NetClientComponentOnRead
    {
        public Session Session;
        public object Message;

        public static NetClientComponentOnRead Static = new();
        public static NetClientComponentOnRead Clone(Session s, object message)
        {
            Static.Session = s;
            Static.Message = message;
            return Static;
        }
    }

    [ComponentOf(typeof(Scene))]
    public class NetClientComponent: Entity, IAwake<AddressFamily, NetworkProtocol>, IDestroy
    {
        public int ServiceId;
    }
}