Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HasClubId)
            {
                hash ^= ClubId.GetHashCode();
            }
            if (HasStreamId)
            {
                hash ^= StreamId.GetHashCode();
            }
            if (HasType)
            {
                hash ^= Type.GetHashCode();
            }
            if (HasSource)
            {
                hash ^= Source.GetHashCode();
            }
            if (HasItem)
            {
                hash ^= Item.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ClubId != 0)
            {
                hash ^= ClubId.GetHashCode();
            }
            if (PlayerCountIndex != 0)
            {
                hash ^= PlayerCountIndex.GetHashCode();
            }
            if (PlayCountIndex != 0)
            {
                hash ^= PlayCountIndex.GetHashCode();
            }
            if (PlayTypeIndex != 0)
            {
                hash ^= PlayTypeIndex.GetHashCode();
            }
            hash ^= jiangMa_.GetHashCode();
            if (FaWangTp != false)
            {
                hash ^= FaWangTp.GetHashCode();
            }
            if (WuZhaTp != false)
            {
                hash ^= WuZhaTp.GetHashCode();
            }
            if (Pox != 0D)
            {
                hash ^= Pox.GetHashCode();
            }
            if (Poy != 0D)
            {
                hash ^= Poy.GetHashCode();
            }
            if (Address.Length != 0)
            {
                hash ^= Address.GetHashCode();
            }
            if (IsBaWang != false)
            {
                hash ^= IsBaWang.GetHashCode();
            }
            return(hash);
        }