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

            if (MonsterId != 0UL)
            {
                hash ^= MonsterId.GetHashCode();
            }
            if (MonsterBaseId != 0)
            {
                hash ^= MonsterBaseId.GetHashCode();
            }
            if (SyncMoveId != 0)
            {
                hash ^= SyncMoveId.GetHashCode();
            }
            hash ^= hpValues_.GetHashCode();
            hash ^= atkValues_.GetHashCode();
            hash ^= defValues_.GetHashCode();
            hash ^= spaValues_.GetHashCode();
            hash ^= spdValues_.GetHashCode();
            hash ^= speValues_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.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);
        }