CEngineSharp_Server.World.Content_Managers.PlayerManager.Connection_Received C# (CSharp) Method

Connection_Received() private method

private Connection_Received ( object sender, Networking e ) : void
sender object
e Networking
return void
        private void Connection_Received(object sender, Networking.ConnectionEventArgs e)
        {
            var player = new Player(e.Connection.RemoteUniqueIdentifier);
            player.Connection = e.Connection;
            this.AddPlayer(player, e.Connection.RemoteUniqueIdentifier);
        }