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

            if (ActorId.Length != 0)
            {
                hash ^= ActorId.GetHashCode();
            }
            if (U2 != 0)
            {
                hash ^= U2.GetHashCode();
            }
            if (U3 != 0)
            {
                hash ^= U3.GetHashCode();
            }
            if (U4 != 0)
            {
                hash ^= U4.GetHashCode();
            }
            if (U5 != 0)
            {
                hash ^= U5.GetHashCode();
            }
            if (U6 != 0)
            {
                hash ^= U6.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TrainerBaseId != 0UL)
            {
                hash ^= TrainerBaseId.GetHashCode();
            }
            if (ActorId.Length != 0)
            {
                hash ^= ActorId.GetHashCode();
            }
            if (TrainerNameId.Length != 0)
            {
                hash ^= TrainerNameId.GetHashCode();
            }
            if (U4 != 0)
            {
                hash ^= U4.GetHashCode();
            }
            if (U5.Length != 0)
            {
                hash ^= U5.GetHashCode();
            }
            if (U6 != 0)
            {
                hash ^= U6.GetHashCode();
            }
            if (U7 != 0)
            {
                hash ^= U7.GetHashCode();
            }
            if (Gender != 0)
            {
                hash ^= Gender.GetHashCode();
            }
            if (PokeballId.Length != 0)
            {
                hash ^= PokeballId.GetHashCode();
            }
            if (IsGeneric != 0)
            {
                hash ^= IsGeneric.GetHashCode();
            }
            if (BattleBgmId.Length != 0)
            {
                hash ^= BattleBgmId.GetHashCode();
            }
            if (ResultBgmId.Length != 0)
            {
                hash ^= ResultBgmId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (_destinationId != null ? _destinationId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ _positionId.GetHashCode();
         hashCode = (hashCode * 397) ^ _sellingPrice.GetHashCode();
         return(hashCode);
     }
 }
Example #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActorId.Length != 0)
            {
                hash ^= ActorId.GetHashCode();
            }
            hash ^= messages_.GetHashCode();
            hash ^= logs_.GetHashCode();
            return(hash);
        }
Example #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ActorId.Length != 0)
            {
                hash ^= ActorId.GetHashCode();
            }
            if (EncounterBgmId.Length != 0)
            {
                hash ^= EncounterBgmId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #6
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);
        }
Example #7
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (MonsterId != 0UL)
            {
                hash ^= MonsterId.GetHashCode();
            }
            if (Form != 0)
            {
                hash ^= Form.GetHashCode();
            }
            if (ActorId.Length != 0)
            {
                hash ^= ActorId.GetHashCode();
            }
            if (AtkScale != 0)
            {
                hash ^= AtkScale.GetHashCode();
            }
            if (DefScale != 0)
            {
                hash ^= DefScale.GetHashCode();
            }
            if (SpaScale != 0)
            {
                hash ^= SpaScale.GetHashCode();
            }
            if (SpdScale != 0)
            {
                hash ^= SpdScale.GetHashCode();
            }
            if (SpeScale != 0)
            {
                hash ^= SpeScale.GetHashCode();
            }
            if (Move1Id != 0L)
            {
                hash ^= Move1Id.GetHashCode();
            }
            if (Move2Id != 0L)
            {
                hash ^= Move2Id.GetHashCode();
            }
            if (Move3Id != 0L)
            {
                hash ^= Move3Id.GetHashCode();
            }
            if (Move4Id != 0L)
            {
                hash ^= Move4Id.GetHashCode();
            }
            if (Move5Id != 0L)
            {
                hash ^= Move5Id.GetHashCode();
            }
            if (Move6Id != 0L)
            {
                hash ^= Move6Id.GetHashCode();
            }
            if (Passive1Id != 0)
            {
                hash ^= Passive1Id.GetHashCode();
            }
            if (Passive2Id != 0)
            {
                hash ^= Passive2Id.GetHashCode();
            }
            if (Passive3Id != 0)
            {
                hash ^= Passive3Id.GetHashCode();
            }
            if (U18 != 0)
            {
                hash ^= U18.GetHashCode();
            }
            if (U19 != 0)
            {
                hash ^= U19.GetHashCode();
            }
            if (U20 != 0)
            {
                hash ^= U20.GetHashCode();
            }
            if (U21 != 0)
            {
                hash ^= U21.GetHashCode();
            }
            if (U22 != 0)
            {
                hash ^= U22.GetHashCode();
            }
            if (U23 != 0)
            {
                hash ^= U23.GetHashCode();
            }
            if (U24 != 0)
            {
                hash ^= U24.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #8
0
 public NumberActor(ActorService actorService, ActorId actorId) : base(actorService, actorId)
 {
     this._random = new Random(actorId.GetHashCode());
 }