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

            hash = hash * 23 + FormId.GetHashCode();
            hash = hash * 23 + MultipleIteration.GetHashCode();
            hash = hash * 23 + CurrentRow.GetHashCode();
            foreach (var otherRow in this.OtherRows)
            {
                hash = hash * 23 + otherRow.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (MonsterBaseId != 0)
            {
                hash ^= MonsterBaseId.GetHashCode();
            }
            if (ActorId.Length != 0)
            {
                hash ^= ActorId.GetHashCode();
            }
            if (ActorNumber != 0)
            {
                hash ^= ActorNumber.GetHashCode();
            }
            if (ActorVariant != 0)
            {
                hash ^= ActorVariant.GetHashCode();
            }
            if (U5 != 0)
            {
                hash ^= U5.GetHashCode();
            }
            if (JpName.Length != 0)
            {
                hash ^= JpName.GetHashCode();
            }
            if (U7 != 0)
            {
                hash ^= U7.GetHashCode();
            }
            if (Gender != 0)
            {
                hash ^= Gender.GetHashCode();
            }
            if (U9 != 0)
            {
                hash ^= U9.GetHashCode();
            }
            if (Strength != 0)
            {
                hash ^= Strength.GetHashCode();
            }
            if (U11 != 0)
            {
                hash ^= U11.GetHashCode();
            }
            if (FormPassiveId != 0)
            {
                hash ^= FormPassiveId.GetHashCode();
            }
            if (U13 != 0)
            {
                hash ^= U13.GetHashCode();
            }
            if (U14 != 0)
            {
                hash ^= U14.GetHashCode();
            }
            if (FormId != 0)
            {
                hash ^= FormId.GetHashCode();
            }
            if (MonsterNameId != 0)
            {
                hash ^= MonsterNameId.GetHashCode();
            }
            if (IsShiny != false)
            {
                hash ^= IsShiny.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }