// Use this for initialization
 private void Start()
 {
     nameText.text  = itemName;
     destText.text  = text;
     nameText.font  = font;
     destText.font  = font;
     nameText.color = color[rare.GetHashCode()];
 }
Пример #2
0
    public override int GetHashCode()
    {
        var hashCode = 745842380;

        hashCode = hashCode * -1521134295 + Id.GetHashCode();
        hashCode = hashCode * -1521134295 + Slot.GetHashCode();
        hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Title);

        hashCode = hashCode * -1521134295 + Value.GetHashCode();
        hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Type);

        hashCode = hashCode * -1521134295 + Power.GetHashCode();
        hashCode = hashCode * -1521134295 + Defense.GetHashCode();
        hashCode = hashCode * -1521134295 + Vitality.GetHashCode();
        hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Description);

        hashCode = hashCode * -1521134295 + Stackable.GetHashCode();
        hashCode = hashCode * -1521134295 + Rarity.GetHashCode();
        hashCode = hashCode * -1521134295 + Durability.GetHashCode();
        hashCode = hashCode * -1521134295 + DurabilityCount.GetHashCode();
        hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Slug);

        hashCode = hashCode * -1521134295 + EqualityComparer <Sprite> .Default.GetHashCode(Sprite);

        return(hashCode);
    }
Пример #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = CategoryName?.GetHashCode() ?? 0;
         hashCode = (hashCode * 397) ^ CertificationRequisitionId.GetHashCode();
         hashCode = (hashCode * 397) ^ ContentId.GetHashCode();
         hashCode = (hashCode * 397) ^ (Description?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ Id.GetHashCode();
         hashCode = (hashCode * 397) ^ (InternalCategoryName?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (InternalSubcategoryName?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ IsCertification.GetHashCode();
         hashCode = (hashCode * 397) ^ IsMythic.GetHashCode();
         hashCode = (hashCode * 397) ^ IsWearable.GetHashCode();
         hashCode = (hashCode * 397) ^ HideIfNotAcquired.GetHashCode();
         hashCode = (hashCode * 397) ^ (LargeImageUrl?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ LevelRequirement;
         hashCode = (hashCode * 397) ^ (Name?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (Rarity?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (int)RarityType;
         hashCode = (hashCode * 397) ^ SellPrice;
         hashCode = (hashCode * 397) ^ (SubcategoryName?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ SubcategoryOrder;
         hashCode = (hashCode * 397) ^ (SupportedGameModes?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (int)UseType;
         return(hashCode);
     }
 }
Пример #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ItemId != 0L)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (U2 != 0L)
            {
                hash ^= U2.GetHashCode();
            }
            if (ImageId.Length != 0)
            {
                hash ^= ImageId.GetHashCode();
            }
            if (Rarity != 0)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (U5 != 0)
            {
                hash ^= U5.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #5
0
 public override int GetHashCode() {
   int hash = 1;
   if (ItemId != 0L) hash ^= ItemId.GetHashCode();
   if (U2 != 0L) hash ^= U2.GetHashCode();
   if (ImageId.Length != 0) hash ^= ImageId.GetHashCode();
   if (Rarity != 0) hash ^= Rarity.GetHashCode();
   if (PotentialLotId != 0) hash ^= PotentialLotId.GetHashCode();
   if (_unknownFields != null) {
     hash ^= _unknownFields.GetHashCode();
   }
   return hash;
 }
Пример #6
0
    public override int GetHashCode()
    {
        int hashCode = -305631161;

        hashCode = hashCode * -1521134295 + base.GetHashCode();
        hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(item_id);

        hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(DisplayName);

        hashCode = hashCode * -1521134295 + Rarity.GetHashCode();
        hashCode = hashCode * -1521134295 + weaponClass.GetHashCode();
        return(hashCode);
    }
Пример #7
0
        private void die(Spaceship shooter)
        {
            emitterNodeParticleBirthRate = 0;

            if (shooter != null)
            {
                shooter.kills += 1;
                shooter.healthBar.labelLevel.color = GameColors.controlYellow;
                getHitBySpaceships.Remove(shooter);
            }

            foreach (var spaceship in getHitBySpaceships)
            {
                spaceship.assists += 1;
            }

            getHitBySpaceships.Clear();

            health = 0;

            retreat();
            resetToStartingPosition();

            isHidden = true;

            deaths    += 1;
            deathTime  = SKScene.currentTime;
            lastSecond = SKScene.currentTime;

            if (canRespawn)
            {
                labelRespawn.text = $"{deaths * (rarity.GetHashCode() + 1)}";
            }

            fadeSetDestinationEffect();
        }
Пример #8
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ItemId != 0L)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (SubCategory != 0L)
            {
                hash ^= SubCategory.GetHashCode();
            }
            if (U3 != 0)
            {
                hash ^= U3.GetHashCode();
            }
            if (Rarity != 0)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (U5 != 0)
            {
                hash ^= U5.GetHashCode();
            }
            if (ImageId.Length != 0)
            {
                hash ^= ImageId.GetHashCode();
            }
            if (ScheduleId.Length != 0)
            {
                hash ^= ScheduleId.GetHashCode();
            }
            if (U8 != 0)
            {
                hash ^= U8.GetHashCode();
            }
            if (U9 != 0L)
            {
                hash ^= U9.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #9
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ItemId != 0UL)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (ItemSubtypeId != 0)
            {
                hash ^= ItemSubtypeId.GetHashCode();
            }
            if (ImageId.Length != 0)
            {
                hash ^= ImageId.GetHashCode();
            }
            if (EquipmentType != 0)
            {
                hash ^= EquipmentType.GetHashCode();
            }
            if (U5 != 0)
            {
                hash ^= U5.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Rarity != 0)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (DeckItemParamId != 0)
            {
                hash ^= DeckItemParamId.GetHashCode();
            }
            if (U9 != 0)
            {
                hash ^= U9.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #10
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (FamilyId.Length != 0)
            {
                hash ^= FamilyId.GetHashCode();
            }
            if (ShardCount != 0)
            {
                hash ^= ShardCount.GetHashCode();
            }
            if (Rarity != 0)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (oneTimeRewards_ != null)
            {
                hash ^= OneTimeRewards.GetHashCode();
            }
            if (PageId.Length != 0)
            {
                hash ^= PageId.GetHashCode();
            }
            if (unlockRequirements_ != null)
            {
                hash ^= UnlockRequirements.GetHashCode();
            }
            hash ^= shardCounts_.GetHashCode();
            if (StickerDisabled != false)
            {
                hash ^= StickerDisabled.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #11
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ItemId != 0L)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (TextId != 0)
            {
                hash ^= TextId.GetHashCode();
            }
            if (ImageId.Length != 0)
            {
                hash ^= ImageId.GetHashCode();
            }
            if (Rarity != 0)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (U5 != 0)
            {
                hash ^= U5.GetHashCode();
            }
            if (U6 != 0)
            {
                hash ^= U6.GetHashCode();
            }
            if (EggLotGroupId != 0)
            {
                hash ^= EggLotGroupId.GetHashCode();
            }
            if (Time != 0)
            {
                hash ^= Time.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #12
0
    public static Weapon GetWeaponFromType(WeaponType type, bool isBase = false, bool canBeAnythingAndGreatSword = true)
    {
        int notAskedType = Random.Range(0, 100);

        if (!isBase && notAskedType < ChanceNotRaceWeaponPercent)
        {
            var tmpType = (WeaponType)Random.Range(0, System.Enum.GetNames(typeof(WeaponType)).Length);
            if (canBeAnythingAndGreatSword || tmpType != WeaponType.GreatSword)
            {
                type = tmpType;
            }
        }
        Rarity rarity = Rarity.Normal;

        if (!isBase)
        {
            if (Random.Range(0, 100) < RareWeaponAppearancePercent)
            {
                rarity = Rarity.Rare;
            }
            else if (Random.Range(0, 100) < MagicalWeaponAppearancePercent)
            {
                rarity = Rarity.Magical;
            }
        }
        var    subType   = Random.Range(0, WeaponTypeNames[type.GetHashCode()].Length);
        string name      = GetWeaponNameFromRarity(type.GetHashCode(), subType, rarity /*, isBase*/);
        Weapon tmpWeapon = null;

        switch (type)
        {
        case WeaponType.Sword:
            tmpWeapon            = GetBaseSword();
            tmpWeapon.BaseDamage = SwordDamage[rarity.GetHashCode()];
            break;

        case WeaponType.Spear:
            tmpWeapon            = GetBaseSpear();
            tmpWeapon.BaseDamage = SpearDamage[rarity.GetHashCode()];
            break;

        case WeaponType.Club:
            tmpWeapon            = GetBaseClub();
            tmpWeapon.BaseDamage = ClubDamage[rarity.GetHashCode()];
            break;

        case WeaponType.Knife:
            tmpWeapon            = GetBaseKnife();
            tmpWeapon.BaseDamage = KnifeDamage[rarity.GetHashCode()];
            break;

        case WeaponType.Bow:
            tmpWeapon            = GetBaseBow();
            tmpWeapon.BaseDamage = BowDamage[rarity.GetHashCode()];
            break;

        case WeaponType.Daggers:
            tmpWeapon            = GetBaseDaggers();
            tmpWeapon.BaseDamage = DaggersDamage[rarity.GetHashCode()];
            break;

        case WeaponType.Hammer:
            tmpWeapon            = GetBaseHammer();
            tmpWeapon.BaseDamage = HammerDamage[rarity.GetHashCode()];
            break;

        case WeaponType.Axe:
            tmpWeapon            = GetBaseAxe();
            tmpWeapon.BaseDamage = AxeDamage[rarity.GetHashCode()];
            break;

        case WeaponType.GreatSword:
            tmpWeapon            = GetBaseGreatSword();
            tmpWeapon.BaseDamage = GreatSwordDamage[rarity.GetHashCode()];
            break;

        case WeaponType.Gauntlets:
            tmpWeapon            = GetBaseGauntlets();
            tmpWeapon.BaseDamage = GauntletsDamage[rarity.GetHashCode()];
            break;
        }
        tmpWeapon.Name   = name;
        tmpWeapon.Rarity = rarity;
        var baseDamageFloat = tmpWeapon.BaseDamage * Helper.MultiplierFromPercent(1, Random.Range(-BaseInitDamageRangePercentage, BaseInitDamageRangePercentage + 1));

        tmpWeapon.BaseDamage  = (int)baseDamageFloat;
        tmpWeapon.WeaponParts = CreateWeaponPartsFromTypeSubType(type, subType, tmpWeapon.NbSkinParts);
        return(tmpWeapon);
    }
Пример #13
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PokemonId != 0)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (ModelScale != 0F)
            {
                hash ^= ModelScale.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Type2 != 0)
            {
                hash ^= Type2.GetHashCode();
            }
            if (camera_ != null)
            {
                hash ^= Camera.GetHashCode();
            }
            if (encounter_ != null)
            {
                hash ^= Encounter.GetHashCode();
            }
            if (stats_ != null)
            {
                hash ^= Stats.GetHashCode();
            }
            hash ^= quickMoves_.GetHashCode();
            hash ^= cinematicMoves_.GetHashCode();
            hash ^= animationTime_.GetHashCode();
            hash ^= evolutionIds_.GetHashCode();
            if (EvolutionPips != 0)
            {
                hash ^= EvolutionPips.GetHashCode();
            }
            if (Rarity != 0)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (PokedexHeightM != 0F)
            {
                hash ^= PokedexHeightM.GetHashCode();
            }
            if (PokedexWeightKg != 0F)
            {
                hash ^= PokedexWeightKg.GetHashCode();
            }
            if (ParentPokemonId != 0)
            {
                hash ^= ParentPokemonId.GetHashCode();
            }
            if (HeightStdDev != 0F)
            {
                hash ^= HeightStdDev.GetHashCode();
            }
            if (WeightStdDev != 0F)
            {
                hash ^= WeightStdDev.GetHashCode();
            }
            if (KmDistanceToHatch != 0F)
            {
                hash ^= KmDistanceToHatch.GetHashCode();
            }
            if (FamilyId != 0)
            {
                hash ^= FamilyId.GetHashCode();
            }
            if (CandyToEvolve != 0)
            {
                hash ^= CandyToEvolve.GetHashCode();
            }
            return(hash);
        }
Пример #14
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TrainerId != 0L)
            {
                hash ^= TrainerId.GetHashCode();
            }
            if (TrainerKind != 0)
            {
                hash ^= TrainerKind.GetHashCode();
            }
            if (ScoutMethod != 0)
            {
                hash ^= ScoutMethod.GetHashCode();
            }
            if (Exclusivity != 0L)
            {
                hash ^= Exclusivity.GetHashCode();
            }
            if (TrainerBaseId != 0)
            {
                hash ^= TrainerBaseId.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Rarity != 0)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (Role != 0)
            {
                hash ^= Role.GetHashCode();
            }
            if (MonsterId != 0UL)
            {
                hash ^= MonsterId.GetHashCode();
            }
            if (Move1Id != 0)
            {
                hash ^= Move1Id.GetHashCode();
            }
            if (Move2Id != 0)
            {
                hash ^= Move2Id.GetHashCode();
            }
            if (Move3Id != 0)
            {
                hash ^= Move3Id.GetHashCode();
            }
            if (Move4Id != 0)
            {
                hash ^= Move4Id.GetHashCode();
            }
            if (Weakness != 0)
            {
                hash ^= Weakness.GetHashCode();
            }
            if (StoryQuest != 0UL)
            {
                hash ^= StoryQuest.GetHashCode();
            }
            if (U16 != 0)
            {
                hash ^= U16.GetHashCode();
            }
            if (Passive1Id != 0)
            {
                hash ^= Passive1Id.GetHashCode();
            }
            if (Passive2Id != 0)
            {
                hash ^= Passive2Id.GetHashCode();
            }
            if (Passive3Id != 0)
            {
                hash ^= Passive3Id.GetHashCode();
            }
            if (Passive4Id != 0)
            {
                hash ^= Passive4Id.GetHashCode();
            }
            if (TeamSkill1Id != 0)
            {
                hash ^= TeamSkill1Id.GetHashCode();
            }
            if (TeamSkill2Id != 0)
            {
                hash ^= TeamSkill2Id.GetHashCode();
            }
            if (TeamSkill3Id != 0)
            {
                hash ^= TeamSkill3Id.GetHashCode();
            }
            if (TeamSkill4Id != 0)
            {
                hash ^= TeamSkill4Id.GetHashCode();
            }
            if (TeamSkill5Id != 0)
            {
                hash ^= TeamSkill5Id.GetHashCode();
            }
            if (U26 != 0)
            {
                hash ^= U26.GetHashCode();
            }
            if (U27 != 0)
            {
                hash ^= U27.GetHashCode();
            }
            if (Number != 0)
            {
                hash ^= Number.GetHashCode();
            }
            if (ScheduleId.Length != 0)
            {
                hash ^= ScheduleId.GetHashCode();
            }
            if (ExScheduleId.Length != 0)
            {
                hash ^= ExScheduleId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #15
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PokemonId != global::POGOProtos.Enums.PokemonId.Missingno)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (ModelScale != 0F)
            {
                hash ^= ModelScale.GetHashCode();
            }
            if (Type != global::POGOProtos.Enums.PokemonType.None)
            {
                hash ^= Type.GetHashCode();
            }
            if (Type2 != global::POGOProtos.Enums.PokemonType.None)
            {
                hash ^= Type2.GetHashCode();
            }
            if (camera_ != null)
            {
                hash ^= Camera.GetHashCode();
            }
            if (encounter_ != null)
            {
                hash ^= Encounter.GetHashCode();
            }
            if (stats_ != null)
            {
                hash ^= Stats.GetHashCode();
            }
            hash ^= quickMoves_.GetHashCode();
            hash ^= cinematicMoves_.GetHashCode();
            hash ^= animationTime_.GetHashCode();
            hash ^= evolutionIds_.GetHashCode();
            if (EvolutionPips != 0)
            {
                hash ^= EvolutionPips.GetHashCode();
            }
            if (Rarity != global::POGOProtos.Enums.PokemonRarity.Normal)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (PokedexHeightM != 0F)
            {
                hash ^= PokedexHeightM.GetHashCode();
            }
            if (PokedexWeightKg != 0F)
            {
                hash ^= PokedexWeightKg.GetHashCode();
            }
            if (ParentPokemonId != global::POGOProtos.Enums.PokemonId.Missingno)
            {
                hash ^= ParentPokemonId.GetHashCode();
            }
            if (HeightStdDev != 0F)
            {
                hash ^= HeightStdDev.GetHashCode();
            }
            if (WeightStdDev != 0F)
            {
                hash ^= WeightStdDev.GetHashCode();
            }
            if (KmDistanceToHatch != 0F)
            {
                hash ^= KmDistanceToHatch.GetHashCode();
            }
            if (FamilyId != global::POGOProtos.Enums.PokemonFamilyId.FamilyUnset)
            {
                hash ^= FamilyId.GetHashCode();
            }
            if (CandyToEvolve != 0)
            {
                hash ^= CandyToEvolve.GetHashCode();
            }
            if (KmBuddyDistance != 0F)
            {
                hash ^= KmBuddyDistance.GetHashCode();
            }
            if (BuddySize != global::POGOProtos.Settings.Master.PokemonSettings.Types.BuddySize.BUDDY_MEDIUM)
            {
                hash ^= BuddySize.GetHashCode();
            }
            return(hash);
        }
Пример #16
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Icon.Length != 0)
            {
                hash ^= Icon.GetHashCode();
            }
            if (Prefab.Length != 0)
            {
                hash ^= Prefab.GetHashCode();
            }
            if (Rarity != 0L)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (ShowInVaultItemMenu != false)
            {
                hash ^= ShowInVaultItemMenu.GetHashCode();
            }
            if (Deletable != false)
            {
                hash ^= Deletable.GetHashCode();
            }
            if (ShowInRewardsFlow != false)
            {
                hash ^= ShowInRewardsFlow.GetHashCode();
            }
            if (color_ != null)
            {
                hash ^= Color.GetHashCode();
            }
            if (Background.Length != 0)
            {
                hash ^= Background.GetHashCode();
            }
            if (Ordering != 0)
            {
                hash ^= Ordering.GetHashCode();
            }
            if (rewardSound_ != null)
            {
                hash ^= RewardSound.GetHashCode();
            }
            if (RewardSoundPriority != 0)
            {
                hash ^= RewardSoundPriority.GetHashCode();
            }
            if (SpineAnimatedIcon.Length != 0)
            {
                hash ^= SpineAnimatedIcon.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #17
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TrainerId != 0UL)
            {
                hash ^= TrainerId.GetHashCode();
            }
            if (U2 != 0)
            {
                hash ^= U2.GetHashCode();
            }
            if (ScoutMethod != 0)
            {
                hash ^= ScoutMethod.GetHashCode();
            }
            if (TrainerBaseId != 0)
            {
                hash ^= TrainerBaseId.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Rarity != 0)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (Role != 0)
            {
                hash ^= Role.GetHashCode();
            }
            if (MonsterId != 0UL)
            {
                hash ^= MonsterId.GetHashCode();
            }
            if (Move1Id != 0)
            {
                hash ^= Move1Id.GetHashCode();
            }
            if (Move2Id != 0)
            {
                hash ^= Move2Id.GetHashCode();
            }
            if (Move3Id != 0)
            {
                hash ^= Move3Id.GetHashCode();
            }
            if (Move4Id != 0)
            {
                hash ^= Move4Id.GetHashCode();
            }
            if (WeakType != 0)
            {
                hash ^= WeakType.GetHashCode();
            }
            if (U14 != 0)
            {
                hash ^= U14.GetHashCode();
            }
            if (U15 != 0)
            {
                hash ^= U15.GetHashCode();
            }
            if (Passive1Id != 0)
            {
                hash ^= Passive1Id.GetHashCode();
            }
            if (Passive2Id != 0)
            {
                hash ^= Passive2Id.GetHashCode();
            }
            if (Passive3Id != 0)
            {
                hash ^= Passive3Id.GetHashCode();
            }
            if (Passive4Id != 0)
            {
                hash ^= Passive4Id.GetHashCode();
            }
            if (Passive5Id != 0)
            {
                hash ^= Passive5Id.GetHashCode();
            }
            if (U21.Length != 0)
            {
                hash ^= U21.GetHashCode();
            }
            if (ScheduleId.Length != 0)
            {
                hash ^= ScheduleId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }