Ejemplo n.º 1
0
        public LightClient(string host, int port)
        {
            StaticHandler.Core = new ClientCore();

            this.host = host;
            this.port = port;

            listener      = new PacketEventListener(this);
            clientHandler = new ClientHandler(this, listener);
        }
Ejemplo n.º 2
0
 public ClientHandler(LightClient lightClient, PacketEventListener listener)
 {
     this.listener    = listener;
     this.lightClient = lightClient;
 }