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

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