Exemplo n.º 1
0
        public void Dispose()
        {
            if (disposed)
            {
                return;
            }

            handler?.Dispose();
            handler        = null;
            IncomingCipher = null;
            OutgoingCipher = null;
            Manager        = null;
            Socket         = null;
            Character      = null;
            Account        = null;
            Player?.Dispose();
            Player         = null;
            Random         = null;
            ConnectedBuild = null;
            disposed       = true;
        }
Exemplo n.º 2
0
 public void BeginProcess()
 {
     //log.InfoFormat($"Received client @ {Socket.RemoteEndPoint}.");
     handler = new NetworkHandler(this, Socket);
     handler.BeginHandling();
 }
Exemplo n.º 3
0
 public void BeginProcess()
 {
     handler = new NetworkHandler(this, Socket);
     handler.BeginHandling();
 }