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

        if (EntityUUID.Length != 0)
        {
            hash ^= EntityUUID.GetHashCode();
        }
        if (position_ != null)
        {
            hash ^= Position.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
Beispiel #2
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (EntityUUID.Length != 0)
        {
            hash ^= EntityUUID.GetHashCode();
        }
        if (realTimeData_ != null)
        {
            hash ^= RealTimeData.GetHashCode();
        }
        hash ^= components_.GetHashCode();
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }