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

            if (ItemId != 0L)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (TrainerBuildupConfigId != 0)
            {
                hash ^= TrainerBuildupConfigId.GetHashCode();
            }
            if (ScheduleId.Length != 0)
            {
                hash ^= ScheduleId.GetHashCode();
            }
            if (U4.Length != 0)
            {
                hash ^= U4.GetHashCode();
            }
            if (TrainerId != 0L)
            {
                hash ^= TrainerId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (TrainerBuildupConfigId != 0)
            {
                hash ^= TrainerBuildupConfigId.GetHashCode();
            }
            if (NbPowerups != 0)
            {
                hash ^= NbPowerups.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TrainerId != 0L)
            {
                hash ^= TrainerId.GetHashCode();
            }
            if (TrainerBuildupConfigId != 0)
            {
                hash ^= TrainerBuildupConfigId.GetHashCode();
            }
            if (Hp != 0)
            {
                hash ^= Hp.GetHashCode();
            }
            if (Atk != 0)
            {
                hash ^= Atk.GetHashCode();
            }
            if (Def != 0)
            {
                hash ^= Def.GetHashCode();
            }
            if (Spa != 0)
            {
                hash ^= Spa.GetHashCode();
            }
            if (Spd != 0)
            {
                hash ^= Spd.GetHashCode();
            }
            if (Spe != 0)
            {
                hash ^= Spe.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }