Indiefreaks.Xna.Sessions.IdentifiedPlayer.operator C# (CSharp) Method

operator() public static method

public static operator ( ) : bool
return bool
        public static bool operator == (IdentifiedPlayer player1, IdentifiedPlayer player2)
        {
            if ((object)player1 == null)
                return false;
            if ((object)player2 == null)
                return false;
            
            return player1.Equals(player2);
        }