Esempio n. 1
0
 // Token: 0x0600229E RID: 8862
 // RVA: 0x000CF2F8 File Offset: 0x000CD4F8
 internal Class322(Class297 class297_1, Vector2 vector2_4, int int_14, HitObjectSoundType hitObjectSoundType_0, int int_15, double double_3, List<Vector2> list_12, List<HitObjectSoundType> list_13, Enum48 enum48_1, bool[] bool_15)
     : base(class297_1, vector2_4, int_14, false, hitObjectSoundType_0, CurveTypes.Bezier, int_15, double_3, list_12, list_13, 0)
 {
     this.class495_0 = (this.class297_0.class494_0 as Class495);
     this.list_11 = new List<Class312>();
     this.EndTime = base.method_8();
     this.enum48_0 = enum48_1;
     this.int_12 = base.Length / int_15;
     this.class297_0.class421_0.method_43(vector2_4, false);
     this.bool_14 = bool_15;
     for (int i = 0; i < bool_15.Length; i++)
     {
         if (bool_15[i])
         {
             this.int_13++;
         }
     }
 }
Esempio n. 2
0
 // Token: 0x060022EA RID: 8938
 // RVA: 0x000D2858 File Offset: 0x000D0A58
 internal void method_8()
 {
     this.class495_0 = (this.class297_0.class494_0 as Class495);
     if ((this.enum48_0 & Enum48.const_3) == Enum48.const_0)
     {
         if (this.SoundType.IsType(HitObjectSoundType.Finish) && this.class297_0.class421_0.list_0.Count != 8)
         {
             this.enum48_0 |= Enum48.const_9;
         }
         else if (this.SoundType.IsType(HitObjectSoundType.Clap))
         {
             this.enum48_0 |= Enum48.const_8;
         }
     }
     if ((this.enum48_0 & Enum48.const_14) <= Enum48.const_0)
     {
         if (this.class297_0.class421_0.list_0.Count != 1)
         {
             if ((this.enum48_0 & Enum48.const_10) > Enum48.const_0 && this.int_6 > 0)
             {
                 for (int i = this.class297_0.class421_0.method_37(); i < this.bool_6.Length; i++)
                 {
                     if (this.bool_6[i])
                     {
                         this.Add(this.class297_0.class421_0.list_0.Count - i - 1 + this.class297_0.class421_0.method_37());
                     }
                 }
                 this.method_13();
                 return;
             }
             if ((this.enum48_0 & Enum48.const_11) > Enum48.const_0 && this.int_6 == 1 && (this.class297_0.class421_0.list_0.Count != 8 || this.int_7 != 0) && (this.class297_0.class421_0.list_0.Count % 2 == 0 || this.int_7 != this.class297_0.class421_0.list_0.Count / 2))
             {
                 this.int_7 = this.class297_0.class421_0.list_0.Count - this.int_7 - 1 + this.class297_0.class421_0.method_37();
                 this.Add(this.int_7);
                 this.method_13();
                 return;
             }
             if ((this.enum48_0 & Enum48.const_1) > Enum48.const_0 && this.int_6 > 0)
             {
                 for (int j = this.class297_0.class421_0.method_37(); j < this.bool_6.Length; j++)
                 {
                     if (this.bool_6[j])
                     {
                         this.Add(j);
                     }
                 }
                 this.method_13();
                 return;
             }
             if ((this.enum48_0 & (Enum48)6144) > Enum48.const_0 && this.int_6 == 1)
             {
                 if ((this.enum48_0 & Enum48.const_12) > Enum48.const_0)
                 {
                     this.int_7++;
                     if (this.int_7 == this.class297_0.class421_0.list_0.Count)
                     {
                         this.int_7 = this.class297_0.class421_0.method_37();
                     }
                 }
                 else
                 {
                     this.int_7--;
                     if (this.int_7 == this.class297_0.class421_0.method_37() - 1)
                     {
                         this.int_7 = this.class297_0.class421_0.list_0.Count - 1;
                     }
                 }
                 this.Add(this.int_7);
                 this.method_13();
                 return;
             }
             if ((this.enum48_0 & Enum48.const_3) > Enum48.const_0)
             {
                 this.method_11(1);
                 this.method_13();
                 return;
             }
             if ((this.enum48_0 & Enum48.const_9) > Enum48.const_0)
             {
                 if (this.class297_0.class296_0.method_23() > 6.5)
                 {
                     this.method_10(0.88f, 0.88f, 0.62f);
                 }
                 else if (this.class297_0.class296_0.method_23() > 4.0)
                 {
                     this.method_10(0.88f, 1f, 0.83f);
                 }
                 else
                 {
                     this.method_10(0.88f, 1f, 1f);
                 }
             }
             else if (this.class297_0.class296_0.method_23() > 6.5)
             {
                 if ((this.enum48_0 & Enum48.const_4) > Enum48.const_0)
                 {
                     this.method_9(1f, 1f, 0.58f, 0.22f);
                 }
                 else
                 {
                     this.method_9(1f, 1f, 0.38f, 0f);
                 }
             }
             else if (this.class297_0.class296_0.method_23() > 4.0)
             {
                 if ((this.enum48_0 & Enum48.const_4) > Enum48.const_0)
                 {
                     this.method_9(1f, 1f, 0.92f, 0.65f);
                 }
                 else
                 {
                     this.method_9(1f, 1f, 0.85f, 0.48f);
                 }
             }
             else if (this.class297_0.class296_0.method_23() > 2.0)
             {
                 if ((this.enum48_0 & Enum48.const_4) > Enum48.const_0)
                 {
                     this.method_9(1f, 1f, 1f, 0.82f);
                 }
                 else
                 {
                     this.method_9(1f, 1f, 1f, 0.55f);
                 }
             }
             else
             {
                 this.method_9(1f, 1f, 1f, 1f);
             }
             if (this.class297_0.class421_0.method_37() > 0 && this.SoundType.IsType(HitObjectSoundType.Finish | HitObjectSoundType.Clap))
             {
                 this.Add(0);
             }
             this.method_13();
             return;
         }
     }
     this.Add(this.class297_0.class421_0.method_43(this.Position, false));
     this.method_13();
 }