PhotonPlayer.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
    public override int GetHashCode()
    {
        return this.ID;
    }

Usage Example

Beispiel #1
0
    public override bool Equals(object p)
    {
        PhotonPlayer player = p as PhotonPlayer;

        return((player != null) && (this.GetHashCode() == player.GetHashCode()));
    }
All Usage Examples Of PhotonPlayer::GetHashCode