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

            if (FortressId.Length != 0)
            {
                hash ^= FortressId.GetHashCode();
            }
            if (FortressLat != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FortressLat);
            }
            if (FortressLng != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FortressLng);
            }
            if (FlooPowder != 0L)
            {
                hash ^= FlooPowder.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (FortressId.Length != 0)
            {
                hash ^= FortressId.GetHashCode();
            }
            if (ChamberTemplateGmtId.Length != 0)
            {
                hash ^= ChamberTemplateGmtId.GetHashCode();
            }
            if (RegRunestoneVaultitemGmtId.Length != 0)
            {
                hash ^= RegRunestoneVaultitemGmtId.GetHashCode();
            }
            if (FortressLatitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FortressLatitude);
            }
            if (FortressLongitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FortressLongitude);
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (FortressId.Length != 0)
            {
                hash ^= FortressId.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Latitude);
            }
            if (Longitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Longitude);
            }
            if (TeamId.Length != 0)
            {
                hash ^= TeamId.GetHashCode();
            }
            if (FlooPoints != 0L)
            {
                hash ^= FlooPoints.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (state_ != null)
            {
                hash ^= State.GetHashCode();
            }
            if (playerSnapshot_ != null)
            {
                hash ^= PlayerSnapshot.GetHashCode();
            }
            if (FortressId.Length != 0)
            {
                hash ^= FortressId.GetHashCode();
            }
            if (PartnerId.Length != 0)
            {
                hash ^= PartnerId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (FortressId.Length != 0)
            {
                hash ^= FortressId.GetHashCode();
            }
            if (fortressPoi_ != null)
            {
                hash ^= FortressPoi.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }