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; }
public void BeginProcess() { //log.InfoFormat($"Received client @ {Socket.RemoteEndPoint}."); handler = new NetworkHandler(this, Socket); handler.BeginHandling(); }
public void BeginProcess() { handler = new NetworkHandler(this, Socket); handler.BeginHandling(); }