Пример #1
0
 // Token: 0x06001E18 RID: 7704
 // RVA: 0x000A3E88 File Offset: 0x000A2088
 public Class414(Class911 class911_1, Class421 class421_1, bool bool_2)
     : base(class911_1, Class885.class547_0.string_5)
 {
     this.class421_0 = class421_1;
     this.class536_0.vector2_1 = new Vector2(class421_1.method_23() + class421_1.float_0 / 2f, class421_1.method_41((float)class421_1.class546_0.int_2));
     this.class536_0.vector2_5 = Vector2.get_Zero();
     this.class536_0.origins_0 = Origins.Centre;
     if (Class885.class547_0.double_0 >= 2.4 || class421_1.method_31() < 1f)
     {
         this.class536_0.float_2 = class421_1.method_33();
     }
     this.class536_0.bool_21 = true;
     this.color_0 = class421_1.class546_0.method_8("Hold", new Color(255, 199, 51));
     this.color_1 = class421_1.class546_0.method_8("Break", Color.get_Red());
     if (!bool_2)
     {
         return;
     }
     if (class421_1.method_3() != null)
     {
         foreach (Class421 current in class421_1.method_3())
         {
             this.list_0.Add(new Class414(class911_1, current, false));
         }
     }
 }
Пример #2
0
 // Token: 0x06001DFA RID: 7674
 // RVA: 0x000A3814 File Offset: 0x000A1A14
 internal Class411(Class421 class421_0)
     : base(class421_0.class911_1)
 {
     this.class531_1.method_8(true);
     this.class531_0.float_1 = -1.5708f;
     this.class538_0.float_1 = -1.5708f;
     this.class531_0.float_2 = 0.7f;
     this.class538_0.float_2 = 0.7f;
     this.class531_0.vector2_2 = new Vector2(1f, class421_0.method_31());
     this.class538_0.vector2_2 = new Vector2(1f, class421_0.method_31());
     this.class531_0.vector2_1 = new Vector2(class421_0.method_23() + class421_0.float_0 + 1f, class421_0.Top + class421_0.method_20());
     if (this.bool_2)
     {
         this.class538_0.vector2_1 = new Vector2(class421_0.method_23() + class421_0.float_0 + 6.6f, class421_0.Top + 474.8f * class421_0.method_31());
     }
     else
     {
         this.class538_0.vector2_1 = new Vector2(class421_0.method_23() + class421_0.float_0 + 8f, class421_0.Top + 478f * class421_0.method_31());
     }
     this.bool_0 = false;
     this.class911_0.Add<Class531>(this.list_0);
 }