// 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: 0x06002BCB RID: 11211 // RVA: 0x0011C124 File Offset: 0x0011A324 public Class310(Class297 class297_1, Vector2 vector2_1, int int_8, bool bool_14, HitObjectSoundType hitObjectSoundType_0, bool bool_15) : base(class297_1, vector2_1, int_8, bool_14, hitObjectSoundType_0, 0) { this.method_8(false); this.method_10((this.SoundType & ~HitObjectSoundType.Finish & ~HitObjectSoundType.Normal) == HitObjectSoundType.None); float num = this.vmethod_26(); foreach (Class531 current in this.list_1) { current.float_2 *= num; } if (this.method_9()) { base.vmethod_0(new Color(235, 69, 44)); } else { base.vmethod_0(new Color(67, 142, 172)); } if (this.class538_0 != null) { this.class538_0.bool_16 = false; } this.list_1.ForEach(delegate(Class531 class531_4) { class531_4.enum115_0 = Enum115.const_1; }); this.bool_2 = bool_15; }
// Token: 0x06001DC0 RID: 7616 // RVA: 0x000A212C File Offset: 0x000A032C internal Class103(Class114 class114_1, Class297 class297_1) : base(class114_1) { this.class297_0 = class297_1; this.class911_0 = new Class911(true); this.class911_0.float_0 = 0f; this.Initialize(); }
// Token: 0x06002B97 RID: 11159 // RVA: 0x0011B7E8 File Offset: 0x001199E8 public Class316(Class297 class297_1, Vector2 vector2_2, int int_6, bool bool_8, HitObjectSoundType hitObjectSoundType_0, string string_1) : base(class297_1) { this.Position = new Vector2(Class778.smethod_2(vector2_2.X, 0f, (float)Class115.int_18), 340f); this.vector2_0 = this.Position; this.StartTime = int_6; this.EndTime = int_6; this.SoundType = hitObjectSoundType_0; this.NewCombo = bool_8; if (class297_1.class911_0 != null) { Class316.Class714 class = new Class316.Class714();
// Token: 0x060022AB RID: 8875 // RVA: 0x000D04E4 File Offset: 0x000CE6E4 protected Class325(Class297 class297_1, int int_6, int int_7, HitObjectSoundType hitObjectSoundType_0) : base(class297_1) { this.Position = new Vector2((float)(Class115.int_18 / 2), (float)(Class115.int_17 / 2)); this.vector2_0 = this.Position; this.StartTime = int_6; this.EndTime = int_7; this.Type = HitObjectType.Spinner; if (this.class297_0.class296_0.int_6 <= 8) { this.Type |= HitObjectType.NewCombo; } this.SoundType = hitObjectSoundType_0; this.Colour = Color.get_Gray(); }
// 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++; } } }
// Token: 0x060022AD RID: 8877 // RVA: 0x000D05AC File Offset: 0x000CE7AC internal Class326(Class297 class297_1, int int_7, int int_8, HitObjectSoundType hitObjectSoundType_0, Enum48 enum48_1, bool[] bool_7) : base(class297_1, int_7, int_8, hitObjectSoundType_0) { this.bool_6 = bool_7; for (int i = 0; i < bool_7.Length; i++) { if (bool_7[i]) { this.int_6++; } } this.enum48_0 = enum48_1; if (this.int_6 == this.class297_0.class421_0.list_0.Count) { this.enum48_0 &= (Enum48)(-3); } this.list_2 = new List<Class312>(); }
// Token: 0x060022E9 RID: 8937 // RVA: 0x000D27E0 File Offset: 0x000D09E0 public Class315(Class297 class297_1, Vector2 vector2_1, int int_8, HitObjectSoundType hitObjectSoundType_0, Enum48 enum48_1, bool[] bool_8) : base(class297_1) { this.list_2 = new List<Class312>(); this.enum48_0 = enum48_1; this.bool_6 = bool_8; this.Position = vector2_1; this.vector2_0 = vector2_1; this.StartTime = int_8; this.SoundType = hitObjectSoundType_0; for (int i = 0; i < bool_8.Length; i++) { if (bool_8[i]) { this.int_6++; this.int_7 = i; } } }
// Token: 0x060033C1 RID: 13249 // RVA: 0x001625F8 File Offset: 0x001607F8 internal Class311(Class297 class297_1, Vector2 vector2_1, int int_7, int int_8, bool bool_6, float float_0, Class321 class321_0) : base(class297_1, vector2_1, int_7, false, false, false, false, 0) { this.list_1.Remove(this.class531_0); this.list_1.Remove(this.class531_2); this.class746_1 = new Class746(TransformationType.Fade, 0f, 0f, int_8 - this.class297_0.int_10, Math.Min(int_8, int_8 - this.class297_0.int_10 + Class297.int_2), Enum70.const_0); if (bool_6) { this.class531_2 = new Class531(Class885.Load("reversearrow", Enum112.flag_6), Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, Class911.smethod_4((float)(int_7 - 3)), false, Color.get_White(), null); this.class531_2.class26_0.Add(new Class746(TransformationType.Fade, 0f, 1f, int_8, int_8 + 150, Enum70.const_0)); this.list_1.Add(this.class531_2); this.list_0.Add(this.class531_2); } this.class531_1.class26_0.Clear(); this.class531_1.class26_0.Add(this.class746_1); this.class538_0.class26_0.Clear(); this.class538_0.class26_0.Add(this.class746_1); this.vmethod_7(); if (bool_6) { if (Class885.smethod_25()) { this.class531_2.float_1 = float_0; for (int i = int_8; i < int_7; i += 300) { int num = Math.Min(300, int_7 - i); this.class531_2.class26_0.Add(new Class746(TransformationType.Scale, 1.3f, 1f, i, i + num, Enum70.const_1)); } return; } for (int j = int_8; j < int_7; j += 300) { int num2 = Math.Min(300, int_7 - j); this.class531_2.class26_0.Add(new Class746(TransformationType.Scale, 1.3f, 1f, j, j + num2, Enum70.const_0)); this.class531_2.class26_0.Add(new Class746(TransformationType.Rotation, float_0 + 0.09817469f, float_0 - 0.09817469f, j, j + num2, Enum70.const_0)); } } }
// Token: 0x06001F0E RID: 7950 // RVA: 0x000AE65C File Offset: 0x000AC85C internal Class427(Class62 class62_1) { Class427.class427_0 = this; this.class62_0 = class62_1; this.class911_0 = class62_1.class911_7; this.class911_1 = class62_1.class911_8; this.class911_2 = class62_1.class911_3; this.class297_0 = this.vmethod_27(); class62_1.method_66(new Delegate55(this.vmethod_15)); Class115.smethod_53(new Delegate1(this.vmethod_2)); }
// Token: 0x06002204 RID: 8708 // RVA: 0x0001B543 File Offset: 0x00019743 internal Class307(Class297 class297_1, Vector2 vector2_2, int int_7, bool bool_6, HitObjectSoundType hitObjectSoundType_0, int int_8) : base(class297_1, vector2_2, int_7, bool_6, hitObjectSoundType_0, int_8) { this.class531_2.method_8(true); }
// Token: 0x06002BBA RID: 11194 // RVA: 0x0011BEB0 File Offset: 0x0011A0B0 public Class318(Class297 class297_1, Vector2 vector2_2, int int_6, bool bool_8, HitObjectSoundType hitObjectSoundType_0, string string_1) : base(class297_1, vector2_2, int_6, bool_8, hitObjectSoundType_0, "drop") { Class318.Class718 class = new Class318.Class718();
// Token: 0x06002C3D RID: 11325 // RVA: 0x0011EA14 File Offset: 0x0011CC14 internal Class327(Class297 class297_1, int int_6, int int_7, HitObjectSoundType hitObjectSoundType_0) : base(class297_1, int_6, int_7, hitObjectSoundType_0) { Class496 class = this.class297_0.class494_0 as Class496;
// Token: 0x06002C4C RID: 11340 // RVA: 0x0011EAD8 File Offset: 0x0011CCD8 internal Class328(Class297 class297_1, int int_14, int int_15, HitObjectSoundType hitObjectSoundType_0) : base(class297_1, int_14, int_15, hitObjectSoundType_0) { if (class297_1.class911_0 != null) { this.vmethod_24(); } this.vmethod_26(); if (class297_1.class911_0 != null) { this.vmethod_23(); } this.bool_9 = true; this.list_2 = new List<float>(20); }
// Token: 0x0600336C RID: 13164 // RVA: 0x0015FA24 File Offset: 0x0015DC24 internal Class872(Class297 class297_1) { Class872.Class873 class = new Class872.Class873();
// Token: 0x06002306 RID: 8966 // RVA: 0x0001BD02 File Offset: 0x00019F02 public Class314(Class297 class297_1, int int_12, int int_13, int int_14, HitObjectSoundType hitObjectSoundType_2) : base(class297_1, int_12, int_13, int_14, hitObjectSoundType_2) { }
// Token: 0x06002BF6 RID: 11254 // RVA: 0x0002181B File Offset: 0x0001FA1B internal Class330(Class297 class297_1, int int_6) : base(class297_1) { this.StartTime = int_6; this.EndTime = int_6; }
// 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: 0x060021EF RID: 8687 // RVA: 0x000C886C File Offset: 0x000C6A6C internal Class306(Class297 class297_1, Vector2 vector2_1, int int_7, bool bool_6, HitObjectSoundType hitObjectSoundType_0, int int_8) : this(class297_1, vector2_1, int_7, bool_6, hitObjectSoundType_0.IsType(HitObjectSoundType.Whistle), hitObjectSoundType_0.IsType(HitObjectSoundType.Finish), hitObjectSoundType_0.IsType(HitObjectSoundType.Clap), int_8) { }
// Token: 0x060021EE RID: 8686 // RVA: 0x000C8850 File Offset: 0x000C6A50 internal Class306(Class297 class297_1, Vector2 vector2_1, int int_7, bool bool_6) : this(class297_1, vector2_1, int_7, bool_6, false, false, false, 0) { }
// Token: 0x06001B49 RID: 6985 // RVA: 0x00016DAD File Offset: 0x00014FAD internal Class370(Editor editor_1) { this.editor_0 = editor_1; this.class297_0 = editor_1.class297_0; this.class911_0 = new Class911(true); }
// Token: 0x06002BDC RID: 11228 // RVA: 0x000217A6 File Offset: 0x0001F9A6 public Class496(Class297 class297_1) : base(class297_1) { this.class30_0.method_0(1337); }
// Token: 0x06002236 RID: 8758 // RVA: 0x0001B7A1 File Offset: 0x000199A1 internal Class494(Class297 class297_1) { this.class297_0 = class297_1; }
// Token: 0x06002255 RID: 8789 // RVA: 0x0001B4BA File Offset: 0x000196BA protected Class320(Class297 class297_1) : base(class297_1) { }
// Token: 0x0600209F RID: 8351 // RVA: 0x0001AA74 File Offset: 0x00018C74 public virtual void Dispose() { if (this.class297_0 != null) { this.class297_0.Dispose(); this.class297_0 = null; } }
// Token: 0x06001DD1 RID: 7633 // RVA: 0x00018848 File Offset: 0x00016A48 internal Class105(Class114 class114_1, Class297 class297_1) : base(class114_1, class297_1) { }
// Token: 0x06002C14 RID: 11284 // RVA: 0x0011D950 File Offset: 0x0011BB50 internal Class323(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_12, List<HitObjectSoundType> list_13, string string_2) : base(class297_1, vector2_4, int_12, bool_14, hitObjectSoundType_0, curveTypes_2, int_13, double_3, list_12, list_13, 0) { this.string_1 = string_2; this.class911_0 = null; }
// Token: 0x06002BE5 RID: 11237 // RVA: 0x000217FA File Offset: 0x0001F9FA public Class497(Class297 class297_1) : base(class297_1) { }
// Token: 0x06001DD4 RID: 7636 // RVA: 0x000188A5 File Offset: 0x00016AA5 public Class106(Class114 class114_1, Class297 class297_1) : base(class114_1, class297_1) { }
// Token: 0x0600266B RID: 9835 // RVA: 0x000E74D4 File Offset: 0x000E56D4 public override void Initialize() { Class858.smethod_4(false); Class296 current = Class466.Current; Class466.smethod_2(current); Class872.int_2 = 30; this.list_0 = new List<Editor.Class626>(); this.stack_0 = new Stack<Editor.Class626>(); this.stack_1 = new Stack<Editor.Class626>(); this.class911_3 = new Class911(true); this.class297_0 = new Class301(true); Class876.Reset(); Class876.class623_0 &= ~Mods.DoubleTime; Class62.class512_0 = null; Class115.editorControl_0.method_7(this); this.method_60(); try { if (current.Title.Length == 0) { Class331.smethod_91(); string text = Class34.smethod_19(current.string_1); if (text != current.string_1) { if (text.Length < 4) { text = "music.mp3"; } if (Class34.smethod_14(current.string_1, text, true, true)) { current.string_1 = text; } } Class331.smethod_84(current, true, false, true, false); current.Title = Class34.smethod_19(Class331.string_1); current.TitleUnicode = Class331.string_1; current.Artist = Class34.smethod_19(Class331.string_0); current.ArtistUnicode = Class331.string_0; } else { Class331.smethod_84(current, false, false, true, false); } } catch (Exception11) { Class723.smethod_1("Could not load audio file.", 2000); this.method_82(false); return; } if (this.method_3(current, false, false)) { this.method_67(Class778.smethod_2(current.float_2, 0.1f, 8f)); this.method_43(); switch (current.method_5()) { case PlayModes.Taiko: this.class371_0 = new Class373(this); break; case PlayModes.CatchTheBeat: this.class371_0 = new Class372(this); break; case PlayModes.OsuMania: this.class371_0 = new Class374(this); break; default: this.class371_0 = new Class371(this); break; } if (Class63.list_4 != null && Class63.list_4 != this.class297_0.list_1) { this.class297_0.list_1 = Class63.list_4; Editor.editor_0.bool_5 = true; } Class63.list_4 = null; this.playModes_0 = current.method_5(); this.class375_0 = new Class375(this); this.class376_0 = new Class376(this); Class802.smethod_34(Enum96.const_8, new Delegate46(this.method_84), Enum98.const_2, Enum97.const_0); Class802.smethod_34(Enum96.const_6, new Delegate46(this.method_28), Enum98.const_2, Enum97.const_0); Class802.smethod_34(Enum96.const_5, new Delegate46(this.method_83), Enum98.const_2, Enum97.const_0); Class802.smethod_34(Enum96.const_3, new Delegate46(this.method_86), Enum98.const_2, Enum97.const_0); Class570.smethod_4(new Class570.Delegate45(this.method_78)); Class802.smethod_34(Enum96.const_2, new Delegate46(this.method_87), Enum98.const_2, Enum97.const_0); Class802.smethod_34(Enum96.const_1, new Delegate46(this.method_74), Enum98.const_2, Enum97.const_0); Class802.smethod_34(Enum96.const_0, new Delegate46(this.method_75), Enum98.const_2, Enum97.const_0); Class802.smethod_34(Enum96.const_1, new Delegate46(this.method_72), Enum98.const_7, Enum97.const_0); Class802.smethod_34(Enum96.const_0, new Delegate46(this.method_73), Enum98.const_7, Enum97.const_0); Class115.smethod_15(new VoidDelegate(this.method_26)); Class331.smethod_27(new Class331.Delegate31(this.method_27)); this.class371_0.Initialize(); this.class375_0.Initialize(); this.class376_0.Initialize(); Class115.editorControl_0.method_3(100); Class115.editorControl_0.method_6(Class371.dictionary_0[Enum106.flag_3]); this.method_42(Class341.class608_3, false); base.Initialize(); Class331.smethod_89(100, false); if (Class331.smethod_14().Count == 0) { this.method_57(Enum105.const_3); } else { this.method_57((Editor.enum105_1 != Enum105.const_0) ? Editor.enum105_1 : Enum105.const_1); } Class115.editorControl_0.method_2(this.enum105_0); if (!Class115.bool_25 && Class115.int_28 <= 0) { if (current.int_7 > 0) { Class331.smethod_70(current.int_7, false, false); } else { Class331.smethod_70(0, false, false); } } else { Class331.smethod_70(Class115.int_28, false, false); Class115.int_28 = 0; Class115.bool_25 = false; } this.method_38(Class331.smethod_67()); Class115.editorControl_0.method_11(Class331.smethod_18()); Class723.smethod_2(null, null); Class115.class83_0.bool_2 = false; return; } }