// Token: 0x06002996 RID: 10646 // RVA: 0x00107644 File Offset: 0x00105844 internal override void Initialize() { this.class911_0.bool_8 = false; this.class538_0 = new Class538(null, Enum115.const_5, Origins.BottomLeft, Enum114.const_1, Vector2.get_Zero(), 1f, true, Color.get_White()); this.class538_0.method_49(new VoidDelegate(this.method_0)); this.class538_0.float_2 = 0.6f; this.class911_0.Add(this.class538_0); this.dictionary_0.Add(Enum60.const_4, new Class679(Class885.smethod_27("pippidonclear", Enum112.flag_6, false), new int[] { 0, 1, 2, 3, 4, 5, 6, 5, 6, 5, 4, 3, 2, 1, 0 }, 100.0)); this.dictionary_0.Add(Enum60.const_2, new Class679(Class885.smethod_27("pippidonfail", Enum112.flag_6, false), null, 0.0)); this.dictionary_0.Add(Enum60.const_3, new Class679(Class885.smethod_27("pippidonkiai", Enum112.flag_6, false), null, 0.0)); this.dictionary_0.Add(Enum60.const_1, new Class679(Class885.smethod_27("pippidonidle", Enum112.flag_6, false), null, 0.0)); this.method_1(Enum60.const_1, false); base.Initialize(); }
// Token: 0x06002B20 RID: 11040 // RVA: 0x00117468 File Offset: 0x00115668 internal Class703(string string_2, Vector2 vector2_1, Origins origins_1, StoryLayer storyLayer_1, int int_6, double double_1, bool bool_4, LoopTypes loopTypes_0) { this.vector2_0 = vector2_1; this.origins_0 = origins_1; this.int_3 = int_6; this.bool_3 = bool_4; this.double_0 = Math.Max(1.0, double_1); this.storyLayer_0 = storyLayer_1; this.float_0 = Class872.smethod_6(this.storyLayer_0); this.class538_0 = new Class538(null, Enum115.const_2, origins_1, Enum114.const_1, vector2_1, this.float_0, false, Color.get_White(), null); this.class538_0.loopTypes_0 = loopTypes_0; if (Class466.Current != null && Class466.Current.int_6 < 6) { this.class538_0.method_53(Math.Round(0.015 * double_1) * 1.186 * 16.666666666666668); } else { this.class538_0.method_53(double_1); } this.class531_0 = this.class538_0; this.eventTypes_0 = EventTypes.Animation; this.string_0 = string_2.Replace(Class466.Current.method_3() + Path.DirectorySeparatorChar, string.Empty); this.string_1 = new string[this.int_3]; for (int i = 0; i < this.int_3; i++) { string text = this.string_0.Replace(".", i + "."); Class885.smethod_7(text); this.string_1[i] = text; } this.class538_0.method_41(new EventHandler(this.method_4)); }
// Token: 0x06002B1F RID: 11039 // RVA: 0x001173F8 File Offset: 0x001155F8 internal Class703(Class531 class531_1, string string_2, int int_6, int int_7) { this.class531_0 = class531_1; this.class538_0 = (class531_1 as Class538); this.int_5 = 0; this.int_5 = int_6; this.eventTypes_0 = EventTypes.Animation; this.int_4 = int_7; this.string_0 = string_2.Replace(Class466.Current.method_3() + Path.DirectorySeparatorChar, string.Empty); }
internal int method_5(string A_0) { Class538 class2; for (int i = 0; i < this.arrayList_0.Count; i++) { class2 = (Class538)this.arrayList_0[i]; if (class2.method_3() == A_0) { return(i); } } class2 = new Class538(A_0); this.arrayList_0.Add(class2); return(this.arrayList_0.Count - 1); }
internal Class487 method_5(int A_0) { if (A_0 >= this.class264_0.method_4()) { return(null); } Class702 class5 = this.class264_0.method_2(A_0); Class538 class3 = this.class701_0.method_2(class5.method_2()); Class487 class4 = new Class487(class5.method_1(), class3.method_5()[class5.method_3()], class5.method_4(), class3.method_3()); foreach (Class167 class2 in class5.method_5()) { class3 = this.class701_0.method_2(class2.method_1()); class4.method_4().method_4(new Class901(class3.method_6()[class2.method_2()], class3.method_3(), class2.method_3())); } return(class4); }
// Token: 0x0600224B RID: 8779 // RVA: 0x000CA684 File Offset: 0x000C8884 public Class313(Class297 class297_1, int int_12, int int_13, int int_14, HitObjectSoundType hitObjectSoundType_2) : base(class297_1, int_12, int_13, hitObjectSoundType_2) { int_12 = this.class409_0; this.SoundType = hitObjectSoundType_2; this.hitObjectSoundType_1 = hitObjectSoundType_2; this.hitObjectSoundType_0 = hitObjectSoundType_2; this.enum47_0 = Enum47.const_1; this.EndTime = int_14; this.bool_10 = true; if (!class297_1.class421_0.method_10()) { this.class538_0.method_55(base.method_8(string.Format("NoteImage{0}H", int_12), this.class409_0.method_19() + "H")); this.class538_0.method_43(class297_1.class421_0.class546_0.method_11(int_12, "H", this.class538_0.method_42())); base.method_9(this.class538_0); this.class538_2 = new Class538(base.method_8(string.Format("NoteImage{0}T", int_12), this.class409_0.method_19() + "T") ?? this.class538_0.method_54(), Enum115.const_5, this.class538_0.origins_0, Enum114.const_1, this.Position, 0.7975f, false, Color.get_White()); this.class538_2.float_3 = this.class538_0.float_3; this.class538_2.method_43(!class297_1.class421_0.class546_0.method_11(int_12, "T", true)); base.method_9(this.class538_2); this.list_1.Add(this.class538_2); this.class538_1 = new Class538(base.method_8(string.Format("NoteImage{0}L", int_12), this.class409_0.method_19() + "L"), Enum115.const_5, this.class538_0.origins_0, Enum114.const_1, this.Position, 0.795f, false, Color.get_White()); this.class538_1.float_3 = this.class538_0.float_3; this.class538_1.method_53(30.0); this.class538_1.bool_16 = false; this.class538_1.method_43(class297_1.class421_0.class546_0.method_11(int_12, "L", true)); base.method_9(this.class538_1); this.list_1.Add(this.class538_1); } }
// Token: 0x060021F1 RID: 8689 // RVA: 0x000C88A0 File Offset: 0x000C6AA0 internal Class306(Class297 class297_1, Vector2 vector2_1, int int_7, bool bool_6, bool bool_7, bool bool_8, bool bool_9, int int_8) : base(class297_1) { this.Position = vector2_1; this.vector2_0 = vector2_1; this.StartTime = int_7; this.EndTime = int_7; this.Type = HitObjectType.Normal; this.SoundType = HitObjectSoundType.None; this.sampleSet_0 = SampleSet.None; this.sampleSet_1 = SampleSet.None; int num = this.vmethod_22(); if (bool_6) { this.Type |= HitObjectType.NewCombo; this.int_0 = int_8; } if (bool_7) { this.SoundType |= HitObjectSoundType.Whistle; } if (bool_8) { this.SoundType |= HitObjectSoundType.Finish; } if (bool_9) { this.SoundType |= HitObjectSoundType.Clap; } if (class297_1.class911_0 != null) { bool flag = Class876.smethod_6(this.class297_0.class623_0, Mods.Hidden); bool flag2 = this.vmethod_25() && (!flag || (class297_1.list_3.Count == 0 && Class341.class606_86)); Color white = Color.get_White(); Class731 class731_ = Class885.Load("approachcircle", Enum112.flag_6); Class731 class731_2 = Class885.Load(this.vmethod_23(), Enum112.flag_6); Class731[] class731_3 = Class885.smethod_27(this.vmethod_23() + "overlay", Enum112.flag_6, true); this.class531_0 = new Class531(class731_, Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, Class911.smethod_3((float)(this.StartTime - num)), false, white, null); if (flag2) { this.list_1.Add(this.class531_0); } this.class531_0.class26_0.Add(new Class746(TransformationType.Fade, 0f, 0.9f, int_7 - num, Math.Min(int_7, int_7 - num + Class297.int_2 * 2), Enum70.const_0)); this.class531_0.class26_0.Add(new Class746(TransformationType.Scale, 4f, 1f, int_7 - num, int_7, Enum70.const_0)); this.class531_1 = new Class531(class731_2, Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, Class911.smethod_4((float)this.StartTime), false, white, null) { int_0 = 1 }; this.list_1.Add(this.class531_1); this.list_0.Add(this.class531_1); this.class538_0 = new Class538(class731_3, Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, Class911.smethod_4((float)(this.StartTime - (this.class297_0.method_32() ? 2 : 1))), false, Color.get_White()); this.class538_0.method_53(500.0); this.list_1.Add(this.class538_0); this.list_0.Add(this.class538_0); this.class531_2 = new Class536(null, Class885.class547_0.string_3, Class885.class547_0.int_3, Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, Class911.smethod_4((float)(this.StartTime - (this.class297_0.method_32() ? 1 : 2))), false, Color.get_White(), true); this.class531_2.float_2 = 0.8f; if (this.vmethod_24()) { this.list_1.Add(this.class531_2); } Class746 class;
// Token: 0x06002259 RID: 8793 // RVA: 0x000CAD04 File Offset: 0x000C8F04 internal Class321(Class297 class297_1, Vector2 vector2_4, int int_12, bool bool_14, HitObjectSoundType hitObjectSoundType_0, CurveTypes curveTypes_2, int int_13, double double_3, List<Vector2> list_11, List<HitObjectSoundType> list_12, int int_14) : base(class297_1) { this.curveTypes_0 = curveTypes_2; this.curveTypes_1 = curveTypes_2; this.int_0 = int_14; this.class911_0 = this.class297_0.class911_0; this.StartTime = int_12; this.EndTime = int_12; this.Position = vector2_4; this.vector2_0 = vector2_4; this.EndPosition = vector2_4; this.SoundType = hitObjectSoundType_0; if (list_11 == null) { this.list_3 = new List<Vector2>(); this.list_3.Add(this.Position); } else { this.list_3 = list_11; if (this.list_3.Count > 0) { if (this.list_3[0] != this.Position) { this.list_3.Insert(0, this.Position); } } else { this.list_3.Add(this.Position); } } this.SegmentCount = Math.Max(1, int_13); this.bool_10 = (list_12 == null || list_12.Count == 0); if (!this.bool_10) { this.list_8 = list_12; this.list_9 = new List<SampleSet>(int_13 + 1); this.list_10 = new List<SampleSet>(int_13 + 1); } this.SpatialLength = double_3; this.bool_4 = true; this.list_2 = new List<Class311>(); this.Type = HitObjectType.Slider; if (bool_14) { this.Type |= HitObjectType.NewCombo; } if (this.class911_0 != null) { this.vmethod_23(); this.class538_1 = new Class538(Class885.smethod_27("sliderfollowcircle", Enum112.flag_6, true), Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, 0.99f, false, Color.get_TransparentWhite(), this); this.class538_1.method_61(); Class731[] array = Class885.smethod_27("sliderb", Enum112.flag_6, false); bool flag = array[0].enum112_0 == Enum112.flag_1; this.class538_0 = new Class538(array, Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, 0.99f, false, flag ? Class885.smethod_23("SliderBall", true) : Color.get_White(), this); this.class538_0.bool_10 = true; if (flag) { this.class531_0 = new Class531(Class885.Load("sliderb-spec", Enum112.flag_6), Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, 1f, false, Color.get_White(), null) { bool_7 = true }; this.class531_1 = new Class531(Class885.Load("sliderb-nd", Enum112.flag_6), Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, 0.98f, false, new Color(5, 5, 5), null); } this.class531_2 = new Class531(null, Enum115.const_4, Origins.TopLeft, Enum114.const_1, this.Position, Class911.smethod_4((float)(this.EndTime + 10)), false, Color.get_White(), null); this.class531_2.bool_6 = true; } }
// Token: 0x06001DE6 RID: 7654 // RVA: 0x000A2D5C File Offset: 0x000A0F5C internal Class410(Class911 class911_1) { this.class911_0 = class911_1; Class731[] array = this.vmethod_1("scorebar-colour"); Class731[] array2 = this.vmethod_1("scorebar-marker"); this.bool_2 = (array[0].enum112_0 == Enum112.flag_1 || array2[0].enum112_0 == Enum112.flag_2); if (this.bool_2) { if (array[0].string_0 == "scorebar-colour-0" && array[0].enum112_0 == Enum112.flag_1) { array = new Class731[] { this.vmethod_2("scorebar-colour") }; } this.class731_2 = array2[0]; this.class731_0 = array2[0]; this.class731_1 = array2[0]; this.class538_0 = new Class538(array, Enum115.const_5, Origins.TopLeft, Enum114.const_0, new Vector2(7.5f, 7.8f), 0.965f, true, Color.get_White(), null); this.class531_1 = new Class531(this.class731_2, Enum115.const_15, Origins.Centre, Enum114.const_0, new Vector2(this.method_8(), 10.625f * Class115.float_4), 0.97f, true, Color.get_White(), null); this.class531_1.bool_7 = true; } else { this.class731_2 = this.vmethod_2("scorebar-ki"); this.class731_0 = this.vmethod_2("scorebar-kidanger"); this.class731_1 = this.vmethod_2("scorebar-kidanger2"); this.class538_0 = new Class538(array, Enum115.const_5, Origins.TopLeft, Enum114.const_0, new Vector2(3f, 10f), 0.965f, true, Color.get_White(), null); this.class531_1 = new Class531(this.class731_2, Enum115.const_15, Origins.Centre, Enum114.const_0, new Vector2(0f, 10f * Class115.float_4), 0.97f, true, Color.get_White(), null); } this.class538_0.int_4 = 0; this.class538_0.method_61(); this.class538_0.bool_15 = true; this.class531_0 = new Class531(this.vmethod_2("scorebar-bg"), Enum115.const_5, Origins.TopLeft, Enum114.const_0, Vector2.get_Zero(), 0.96f, true, Color.get_White(), null); this.list_0.Add(this.class531_0); this.list_0.Add(this.class538_0); this.list_0.Add(this.class531_1); if (!Class62.bool_15 && !Class62.bool_16) { if (class911_1 != null) { class911_1.Add<Class531>(this.list_0); } } else { this.method_7(false); } this.vmethod_5(); }