Beispiel #1
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (Proto != 0)
        {
            hash ^= Proto.GetHashCode();
        }
        if (PosX != 0)
        {
            hash ^= PosX.GetHashCode();
        }
        if (PosY != 0)
        {
            hash ^= PosY.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }