public override int GetHashCode()
    {
        int hash = 1;

        if (X != 0)
        {
            hash ^= X.GetHashCode();
        }
        if (Z != 0)
        {
            hash ^= Z.GetHashCode();
        }
        if (Ry != 0)
        {
            hash ^= Ry.GetHashCode();
        }
        if (Speed != 0)
        {
            hash ^= Speed.GetHashCode();
        }
        if (Professsional != 0)
        {
            hash ^= Professsional.GetHashCode();
        }
        if (Playerid != 0)
        {
            hash ^= Playerid.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
Esempio n. 2
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (X != 0)
        {
            hash ^= X.GetHashCode();
        }
        if (Z != 0)
        {
            hash ^= Z.GetHashCode();
        }
        if (Ry != 0)
        {
            hash ^= Ry.GetHashCode();
        }
        if (Playerid != 0)
        {
            hash ^= Playerid.GetHashCode();
        }
        if (State != 0)
        {
            hash ^= State.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }