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

            if (BingoMissionGroupId != 0)
            {
                hash ^= BingoMissionGroupId.GetHashCode();
            }
            if (U2 != 0)
            {
                hash ^= U2.GetHashCode();
            }
            if (ScheduleId.Length != 0)
            {
                hash ^= ScheduleId.GetHashCode();
            }
            if (BingoMissionCardId != 0)
            {
                hash ^= BingoMissionCardId.GetHashCode();
            }
            if (BingoMissionRewardId != 0)
            {
                hash ^= BingoMissionRewardId.GetHashCode();
            }
            if (U6 != 0)
            {
                hash ^= U6.GetHashCode();
            }
            if (BannerId != 0)
            {
                hash ^= BannerId.GetHashCode();
            }
            if (U8 != 0)
            {
                hash ^= U8.GetHashCode();
            }
            if (PrevBingoMissionGroupId != 0)
            {
                hash ^= PrevBingoMissionGroupId.GetHashCode();
            }
            if (BingoMissionGroupPermissionId != 0)
            {
                hash ^= BingoMissionGroupPermissionId.GetHashCode();
            }
            if (U11 != 0)
            {
                hash ^= U11.GetHashCode();
            }
            if (U12 != 0)
            {
                hash ^= U12.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            F = 0; U11 = 0; U22 = 0; U33 = 0;
            string u1, u2, u3;

            z  = 0;
            u1 = U1TB.Text;
            u2 = U2TB.Text;
            u3 = U3TB.Text;
            if (u1.Length != 0 && F == 0)
            {
                z         = 1;
                U11       = Int32.Parse(u1);
                U22       = (U11 - EU * IV / (IV + I2 + I1)) * (IV + I2 + I1) / I2;
                U33       = U22 * (I4 + I5) / (I4 + I5 + I6);
                U22       = Math.Round(U22, 3);
                U33       = Math.Round(U33, 3);
                U2TB.Text = U22.ToString();
                U3TB.Text = U33.ToString();
                F         = Math.Round(Math.Pow(U11 - U1, 2), 3);
                FTB.Text  = F.ToString();
            }
            ;

            if (u2.Length != 0 && F == 0)
            {
                z         = 2;
                U22       = Int32.Parse(u2);
                U11       = U22 * I2 / (IV + I2 + I1) + EU * IV / (IV + I2 + I1);
                U33       = U22 * (I4 + I5) / (I4 + I5 + I6);
                U1TB.Text = U11.ToString();
                U3TB.Text = U33.ToString();
                U11       = Math.Round(U11, 3);
                U33       = Math.Round(U33, 3);
                F         = Math.Round(Math.Pow(U22 - U2, 2), 3);
                FTB.Text  = F.ToString();
            }
            ;

            if (u3.Length != 0 && F == 0)
            {
                z         = 3;
                U33       = Int32.Parse(u3);
                U22       = U33 * (I4 + I5 + I6) / (I4 + I5);
                U11       = U22 * I2 / (IV + I2 + I1) + EU * IV / (IV + I2 + I1);
                U22       = Math.Round(U22, 3);
                U11       = Math.Round(U11, 3);
                U1TB.Text = U11.ToString();
                U2TB.Text = U22.ToString();
                F         = Math.Round(Math.Pow(U33 - U3, 2), 3);
                FTB.Text  = F.ToString();
            }
            ;

            Fz = F;
        }
Пример #3
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);
        }
Пример #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (U1 != 0)
            {
                hash ^= U1.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 (U7 != 0)
            {
                hash ^= U7.GetHashCode();
            }
            if (U8 != 0)
            {
                hash ^= U8.GetHashCode();
            }
            if (U9 != 0)
            {
                hash ^= U9.GetHashCode();
            }
            if (U10 != 0)
            {
                hash ^= U10.GetHashCode();
            }
            if (U11 != 0)
            {
                hash ^= U11.GetHashCode();
            }
            if (U12 != 0)
            {
                hash ^= U12.GetHashCode();
            }
            if (U13 != 0)
            {
                hash ^= U13.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EvolutionId != 0UL)
            {
                hash ^= EvolutionId.GetHashCode();
            }
            if (TrainerId != 0UL)
            {
                hash ^= TrainerId.GetHashCode();
            }
            if (MonsterIdCurrent != 0UL)
            {
                hash ^= MonsterIdCurrent.GetHashCode();
            }
            if (MonsterIdNext != 0UL)
            {
                hash ^= MonsterIdNext.GetHashCode();
            }
            if (U5 != 0)
            {
                hash ^= U5.GetHashCode();
            }
            if (U6 != 0)
            {
                hash ^= U6.GetHashCode();
            }
            if (U7 != 0)
            {
                hash ^= U7.GetHashCode();
            }
            if (U8 != 0)
            {
                hash ^= U8.GetHashCode();
            }
            if (U9 != 0)
            {
                hash ^= U9.GetHashCode();
            }
            if (U10 != 0)
            {
                hash ^= U10.GetHashCode();
            }
            if (U11 != 0)
            {
                hash ^= U11.GetHashCode();
            }
            if (U12 != 0)
            {
                hash ^= U12.GetHashCode();
            }
            if (U13 != 0)
            {
                hash ^= U13.GetHashCode();
            }
            if (U14 != 0)
            {
                hash ^= U14.GetHashCode();
            }
            if (U15 != 0)
            {
                hash ^= U15.GetHashCode();
            }
            if (U16 != 0)
            {
                hash ^= U16.GetHashCode();
            }
            if (U17 != 0)
            {
                hash ^= U17.GetHashCode();
            }
            if (U18 != 0)
            {
                hash ^= U18.GetHashCode();
            }
            if (U19 != 0)
            {
                hash ^= U19.GetHashCode();
            }
            if (U20 != 0)
            {
                hash ^= U20.GetHashCode();
            }
            if (ScheduleId.Length != 0)
            {
                hash ^= ScheduleId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (QuestId != 0UL)
            {
                hash ^= QuestId.GetHashCode();
            }
            if (QuestTitle.Length != 0)
            {
                hash ^= QuestTitle.GetHashCode();
            }
            if (QuestId2 != 0UL)
            {
                hash ^= QuestId2.GetHashCode();
            }
            if (U4 != 0L)
            {
                hash ^= U4.GetHashCode();
            }
            if (U05 != 0UL)
            {
                hash ^= U05.GetHashCode();
            }
            if (U06 != 0UL)
            {
                hash ^= U06.GetHashCode();
            }
            if (QuestId3 != 0UL)
            {
                hash ^= QuestId3.GetHashCode();
            }
            if (U08 != 0UL)
            {
                hash ^= U08.GetHashCode();
            }
            if (U09 != 0UL)
            {
                hash ^= U09.GetHashCode();
            }
            if (U10.Length != 0)
            {
                hash ^= U10.GetHashCode();
            }
            if (U11 != 0UL)
            {
                hash ^= U11.GetHashCode();
            }
            if (U12 != 0UL)
            {
                hash ^= U12.GetHashCode();
            }
            if (U13 != 0UL)
            {
                hash ^= U13.GetHashCode();
            }
            if (U14.Length != 0)
            {
                hash ^= U14.GetHashCode();
            }
            if (U15 != 0UL)
            {
                hash ^= U15.GetHashCode();
            }
            if (U16 != 0UL)
            {
                hash ^= U16.GetHashCode();
            }
            if (U17 != 0UL)
            {
                hash ^= U17.GetHashCode();
            }
            if (U18 != 0UL)
            {
                hash ^= U18.GetHashCode();
            }
            if (U19 != 0UL)
            {
                hash ^= U19.GetHashCode();
            }
            if (U20 != 0UL)
            {
                hash ^= U20.GetHashCode();
            }
            if (U21 != 0UL)
            {
                hash ^= U21.GetHashCode();
            }
            if (U22 != 0UL)
            {
                hash ^= U22.GetHashCode();
            }
            if (QuestId4 != 0UL)
            {
                hash ^= QuestId4.GetHashCode();
            }
            if (U24 != 0UL)
            {
                hash ^= U24.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #7
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (BattleId != 0L)
            {
                hash ^= BattleId.GetHashCode();
            }
            if (BattleParameterId != 0)
            {
                hash ^= BattleParameterId.GetHashCode();
            }
            if (BattleRewardId != 0)
            {
                hash ^= BattleRewardId.GetHashCode();
            }
            if (BaseLevel != 0)
            {
                hash ^= BaseLevel.GetHashCode();
            }
            if (U5 != 0)
            {
                hash ^= U5.GetHashCode();
            }
            if (BattleBgmId.Length != 0)
            {
                hash ^= BattleBgmId.GetHashCode();
            }
            if (ResultBgmId.Length != 0)
            {
                hash ^= ResultBgmId.GetHashCode();
            }
            if (U8 != 0)
            {
                hash ^= U8.GetHashCode();
            }
            if (U9 != 0)
            {
                hash ^= U9.GetHashCode();
            }
            if (U10 != 0)
            {
                hash ^= U10.GetHashCode();
            }
            if (U11 != 0)
            {
                hash ^= U11.GetHashCode();
            }
            if (DeckPresetGroupId != 0)
            {
                hash ^= DeckPresetGroupId.GetHashCode();
            }
            if (U13 != 0)
            {
                hash ^= U13.GetHashCode();
            }
            if (U14 != 0)
            {
                hash ^= U14.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #8
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (BattleParameterId != 0)
            {
                hash ^= BattleParameterId.GetHashCode();
            }
            if (BattleNameJp.Length != 0)
            {
                hash ^= BattleNameJp.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 (U7 != 0)
            {
                hash ^= U7.GetHashCode();
            }
            if (U8 != 0)
            {
                hash ^= U8.GetHashCode();
            }
            if (U9 != 0)
            {
                hash ^= U9.GetHashCode();
            }
            if (U10 != 0)
            {
                hash ^= U10.GetHashCode();
            }
            if (U11 != 0)
            {
                hash ^= U11.GetHashCode();
            }
            if (U12 != 0)
            {
                hash ^= U12.GetHashCode();
            }
            if (U13 != 0)
            {
                hash ^= U13.GetHashCode();
            }
            if (U14 != 0)
            {
                hash ^= U14.GetHashCode();
            }
            if (U15 != 0)
            {
                hash ^= U15.GetHashCode();
            }
            if (U16 != 0)
            {
                hash ^= U16.GetHashCode();
            }
            if (U17 != 0)
            {
                hash ^= U17.GetHashCode();
            }
            if (NpcUnitId1 != 0)
            {
                hash ^= NpcUnitId1.GetHashCode();
            }
            if (NpcUnitId2 != 0)
            {
                hash ^= NpcUnitId2.GetHashCode();
            }
            if (NpcUnitId3 != 0)
            {
                hash ^= NpcUnitId3.GetHashCode();
            }
            if (BackgroundId != 0)
            {
                hash ^= BackgroundId.GetHashCode();
            }
            if (TrainerNameId.Length != 0)
            {
                hash ^= TrainerNameId.GetHashCode();
            }
            if (U23 != 0)
            {
                hash ^= U23.GetHashCode();
            }
            if (U24 != 0)
            {
                hash ^= U24.GetHashCode();
            }
            if (U25 != 0)
            {
                hash ^= U25.GetHashCode();
            }
            if (U26 != 0)
            {
                hash ^= U26.GetHashCode();
            }
            if (U27 != 0)
            {
                hash ^= U27.GetHashCode();
            }
            if (U28 != 0)
            {
                hash ^= U28.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }