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

        if (Roomid != 0)
        {
            hash ^= Roomid.GetHashCode();
        }
        if (Maxsize != 0)
        {
            hash ^= Maxsize.GetHashCode();
        }
        if (Currentsize != 0)
        {
            hash ^= Currentsize.GetHashCode();
        }
        if (Owner.Length != 0)
        {
            hash ^= Owner.GetHashCode();
        }
        if (RoomType != 0)
        {
            hash ^= RoomType.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
    public override int GetHashCode()
    {
        int hash = 1;

        if (Roomid != 0)
        {
            hash ^= Roomid.GetHashCode();
        }
        if (Seat != 0)
        {
            hash ^= Seat.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
    public override int GetHashCode()
    {
        int hash = 1;

        if (Roomid != 0)
        {
            hash ^= Roomid.GetHashCode();
        }
        if (Count != 0)
        {
            hash ^= Count.GetHashCode();
        }
        if (Speed != 0F)
        {
            hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Speed);
        }
        hash ^= players_.GetHashCode();
        hash ^= lights_.GetHashCode();
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }