public void Dispose() { if (_disposed) { return; } _handler = null; ReceiveKey = null; SendKey = null; Manager = null; Socket = null; Character = null; Account = null; Player?.Dispose(); Player = null; Random = null; ConnectedBuild = null; _disposed = true; }
public void Dispose() { if (disposed) { return; } handler?.Dispose(); handler = null; ReceiveKey = null; SendKey = null; Manager = null; skt = null; Character = null; Account = null; Player?.Dispose(); Player = null; Random = null; disposed = true; }
public void BeginProcess() { log.InfoFormat($"Received client @ {Socket.RemoteEndPoint}."); handler = new NetworkHandler(this, Socket); handler.BeginHandling(); }
public void BeginProcess() { log.InfoFormat("Received client @ {0}.", skt.RemoteEndPoint); handler = new NetworkHandler(this, skt); handler.BeginHandling(); }
public void Dispose() { if (disposed) return; handler?.Dispose(); handler = null; ReceiveKey = null; SendKey = null; Manager = null; Socket = null; Character = null; Account = null; Player?.Dispose(); Player = null; Random = null; ConnectedBuild = null; disposed = true; }
public void BeginProcess() { handler = new NetworkHandler(this, skt); handler.BeginHandling(); }
public void BeginProcess() { Console.WriteLine($"Received client @ {Socket.RemoteEndPoint}."); _handler = new NetworkHandler(this, Socket); _handler.BeginHandling(); }