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);
        }
示例#2
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (ChamberTemplateGmtId.Length != 0)
                    {
                        hash ^= ChamberTemplateGmtId.GetHashCode();
                    }
                    if (PlayerCount != 0)
                    {
                        hash ^= PlayerCount.GetHashCode();
                    }
                    if (StartTimeMs != 0L)
                    {
                        hash ^= StartTimeMs.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }