コード例 #1
0
ファイル: Client.cs プロジェクト: LoESoft-Games/LOE-V4-SERVER
        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;
        }
コード例 #2
0
ファイル: Client.cs プロジェクト: LoESoft-Games/LOE-V4-SERVER
 public void BeginProcess()
 {
     //log.InfoFormat($"Received client @ {Socket.RemoteEndPoint}.");
     handler = new NetworkHandler(this, Socket);
     handler.BeginHandling();
 }
コード例 #3
0
ファイル: Client.cs プロジェクト: ppmaks/LOE-V6-GAME
 public void BeginProcess()
 {
     handler = new NetworkHandler(this, Socket);
     handler.BeginHandling();
 }