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

            if (FortressTemplateGmtId.Length != 0)
            {
                hash ^= FortressTemplateGmtId.GetHashCode();
            }
            hash ^= chambers_.GetHashCode();
            if (PartnerId.Length != 0)
            {
                hash ^= PartnerId.GetHashCode();
            }
            if (poiDetails_ != null)
            {
                hash ^= PoiDetails.GetHashCode();
            }
            if (PoiAccessibility != 0)
            {
                hash ^= PoiAccessibility.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (FortressTemplateGmtId.Length != 0)
            {
                hash ^= FortressTemplateGmtId.GetHashCode();
            }
            if (OwningTeamId.Length != 0)
            {
                hash ^= OwningTeamId.GetHashCode();
            }
            if (ElectoralVotes != 0L)
            {
                hash ^= ElectoralVotes.GetHashCode();
            }
            if (SeasonId.Length != 0)
            {
                hash ^= SeasonId.GetHashCode();
            }
            if (RegionId.Length != 0)
            {
                hash ^= RegionId.GetHashCode();
            }
            if (WcActiveUntilMs != 0L)
            {
                hash ^= WcActiveUntilMs.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }