Exemple #1
0
 // Token: 0x06003415 RID: 13333
 // RVA: 0x000264FE File Offset: 0x000246FE
 public static Struct69 smethod_0(HitObjectSoundType hitObjectSoundType_1, SampleSet sampleSet_2, Enum38 enum38_1, int int_1, SampleSet sampleSet_3)
 {
     if (hitObjectSoundType_1 == HitObjectSoundType.None || (Class885.class547_0.bool_6 && Class466.Current.method_5() != PlayModes.OsuMania))
     {
         hitObjectSoundType_1 |= HitObjectSoundType.Normal;
     }
     return new Struct69(hitObjectSoundType_1, sampleSet_2, enum38_1, int_1, sampleSet_3);
 }
Exemple #2
0
 // Token: 0x06003414 RID: 13332
 // RVA: 0x000264D7 File Offset: 0x000246D7
 public Struct69(HitObjectSoundType hitObjectSoundType_1, SampleSet sampleSet_2, Enum38 enum38_1, int int_1, SampleSet sampleSet_3)
 {
     this.hitObjectSoundType_0 = hitObjectSoundType_1;
     this.sampleSet_0 = sampleSet_2;
     this.sampleSet_1 = sampleSet_3;
     this.enum38_0 = enum38_1;
     this.int_0 = int_1;
 }
Exemple #3
0
 // Token: 0x0600212F RID: 8495
 // RVA: 0x000C0588 File Offset: 0x000BE788
 internal Class478(string string_0)
 {
     string text = string_0;
     SampleSet sampleSet;
     if (Class558.smethod_0<SampleSet>(text, ref sampleSet) && sampleSet != SampleSet.None)
     {
         this.sampleSet_0 = sampleSet;
         this.bool_0 = true;
         text = text.Substring(this.sampleSet_0.ToString().Length, text.Length - this.sampleSet_0.ToString().Length);
         if (Class558.smethod_0<SampleSet>(text, ref sampleSet) && sampleSet != SampleSet.None)
         {
             this.sampleSet_1 = sampleSet;
             this.bool_1 = true;
             text = text.Substring(this.sampleSet_1.ToString().Length, text.Length - this.sampleSet_1.ToString().Length);
         }
     }
     HitObjectSoundType hitObjectSoundType;
     if (Class558.smethod_0<HitObjectSoundType>(text, ref hitObjectSoundType) && hitObjectSoundType != HitObjectSoundType.None && hitObjectSoundType != HitObjectSoundType.Normal)
     {
         this.hitObjectSoundType_0 = hitObjectSoundType;
         text = text.Substring(this.hitObjectSoundType_0.ToString().Length, text.Length - this.hitObjectSoundType_0.ToString().Length);
     }
     int num;
     if (int.TryParse(text, out num))
     {
         this.enum38_0 = (Enum38)num;
         this.bool_2 = true;
     }
     if (this.hitObjectSoundType_0 != HitObjectSoundType.None && this.bool_0 && !this.bool_1)
     {
         this.sampleSet_1 = this.sampleSet_0;
         this.sampleSet_0 = SampleSet.All;
         this.bool_0 = false;
         this.bool_1 = true;
     }
     if (!this.ToString().Equals(this.vmethod_0().ToString() + string_0))
     {
         throw new Exception("Invalid hitsound trigger description after " + this.ToString());
     }
 }
 public static extern IntPtr CopyImage(IntPtr hImage, Enum46 uType, int cxDesired, int cyDesired, Enum38 uFlags);
Exemple #5
0
 // Token: 0x0600223A RID: 8762
 internal abstract Class305 vmethod_3(Vector2 vector2_0, int int_0, int int_1, bool bool_0, HitObjectSoundType hitObjectSoundType_0, int int_2, SampleSet sampleSet_0, SampleSet sampleSet_1, Enum38 enum38_0, int int_3, string string_0);
Exemple #6
0
 // Token: 0x06002239 RID: 8761
 internal abstract Class325 vmethod_2(int int_0, int int_1, HitObjectSoundType hitObjectSoundType_0, SampleSet sampleSet_0, SampleSet sampleSet_1, Enum38 enum38_0, int int_2, string string_0);
Exemple #7
0
 // Token: 0x06002238 RID: 8760
 internal abstract Class320 vmethod_1(Vector2 vector2_0, int int_0, bool bool_0, HitObjectSoundType hitObjectSoundType_0, CurveTypes curveTypes_0, int int_1, double double_0, List<Vector2> list_0, List<HitObjectSoundType> list_1, int int_2, SampleSet sampleSet_0, SampleSet sampleSet_1, List<SampleSet> list_2, List<SampleSet> list_3, Enum38 enum38_0, int int_3, string string_0);
Exemple #8
0
 // Token: 0x06002BE6 RID: 11238
 // RVA: 0x0011C8CC File Offset: 0x0011AACC
 internal override Class305 vmethod_0(Vector2 vector2_0, int int_0, bool bool_0, HitObjectSoundType hitObjectSoundType_0, int int_1, SampleSet sampleSet_0, SampleSet sampleSet_1, Enum38 enum38_0, int int_2, string string_0)
 {
     Class306 class = new Class306(this.class297_0, vector2_0, int_0, bool_0, hitObjectSoundType_0, int_1);
Exemple #9
0
 // Token: 0x06002BDD RID: 11229
 // RVA: 0x0011C5E8 File Offset: 0x0011A7E8
 internal override Class305 vmethod_0(Vector2 vector2_0, int int_2, bool bool_0, HitObjectSoundType hitObjectSoundType_0, int int_3, SampleSet sampleSet_0, SampleSet sampleSet_1, Enum38 enum38_0, int int_4, string string_2)
 {
     this.method_0(ref vector2_0, int_2);
     Class316 class = new Class316(this.class297_0, vector2_0, int_2, bool_0, hitObjectSoundType_0, this.method_1());