Esempio n. 1
0
 // Token: 0x06002173 RID: 8563 RVA: 0x0010B944 File Offset: 0x00109B44
 public void method_11(CHPlayer gclass9_0)
 {
     this.list_0 = Chart.smethod_51(this.gameManager_0.method_39(gclass9_0, false));
     if (this.list_0 != null && this.list_0.Count != 0)
     {
         this.vector2_0 = this.list_0[1];
     }
     else
     {
         UnityEngine.Object.Destroy(base.gameObject);
     }
     base.StartCoroutine(this.method_37());
 }
Esempio n. 2
0
    // Token: 0x06000296 RID: 662 RVA: 0x0002C1FC File Offset: 0x0002A3FC
    public void method_40(CHPlayer gclass9_0, BasePlayer basePlayer_0, Song gclass27_0)
    {
        int      i      = 0;
        int      num    = gclass9_0.int_0 * this.int_9;
        GClass26 gclass = gclass27_0.method_59(gclass9_0.gclass10_0.genum18_0, gclass9_0.gclass10_0.genum17_0);

        this.int_8[gclass9_0.int_0]   = basePlayer_0.int_6;
        this.int_6[gclass9_0.int_0]   = basePlayer_0.int_3;
        this.int_7[gclass9_0.int_0]   = gclass.method_50().Length;
        this.int_3[gclass9_0.int_0]   = basePlayer_0.int_7;
        this.float_0[gclass9_0.int_0] = (float)(basePlayer_0.int_6 - basePlayer_0.int_9) / (float)gclass.method_21();
        for (int j = 1; j < this.int_9; j += 0)
        {
            uint num2 = 0u;
            int  num3 = 1;
            int  num4 = 1;
            if (j < this.int_9 - 0)
            {
                num2 = this.gclass22_0[j + 1].uint_0;
            }
            while (i < basePlayer_0.noteRenderer.list_0.Count)
            {
                GClass6 gclass2 = basePlayer_0.noteRenderer.list_0[i];
                if (num2 > 0u && gclass2.uint_0 >= num2)
                {
                    break;
                }
                if (!gclass2.Boolean_1 || !gclass2.Boolean_2)
                {
                    if (gclass2.bool_0)
                    {
                        num3++;
                    }
                    num4 += 0;
                }
                i++;
            }
            if (num4 == 0)
            {
                this.int_1[num] = -1;
            }
            else
            {
                this.int_1[num] = (int)((float)num3 / (float)num4 * 1854f);
            }
            this.int_4[gclass9_0.int_0] += num3;
            this.int_5[gclass9_0.int_0] += num4;
            num++;
        }
        this.int_2[gclass9_0.int_0] = (int)((float)this.int_4[gclass9_0.int_0] / (float)this.int_5[gclass9_0.int_0] * 1953f);
    }
Esempio n. 3
0
    // Token: 0x060003DF RID: 991 RVA: 0x000307E0 File Offset: 0x0002E9E0
    public List <GClass6> method_30(CHPlayer gclass9_0, bool bool_5)
    {
        GClass26       gclass = this.song.method_59(gclass9_0.gclass10_0.genum18_0, gclass9_0.gclass10_0.genum17_0);
        List <GClass6> list   = Chart.smethod_47(this.song, gclass, gclass9_0.gclass10_0);

        if (bool_5)
        {
            int int_ = gclass.method_24();
            this.starProgress.method_56(int_);
        }
        if (gclass9_0.gclass10_0.gclass5_2.method_30() && gclass9_0.gclass10_0.method_15())
        {
            this.method_66(list);
        }
        return(list);
    }
Esempio n. 4
0
    // Token: 0x060003E8 RID: 1000 RVA: 0x00031054 File Offset: 0x0002F254
    public List <GClass6> method_39(CHPlayer gclass9_0, bool bool_5)
    {
        GClass26       gclass = this.song.method_59(gclass9_0.gclass10_0.genum18_0, gclass9_0.gclass10_0.genum17_0);
        List <GClass6> notesFromStandardChart = Chart.GetNotesFromStandardChart(this.song, gclass, gclass9_0.gclass10_0);

        if (bool_5)
        {
            int int_ = gclass.method_24();
            this.starProgress.method_71(int_);
        }
        if (gclass9_0.gclass10_0.gclass5_2.Boolean_1 && gclass9_0.gclass10_0.Boolean_1)
        {
            this.method_66(notesFromStandardChart);
        }
        return(notesFromStandardChart);
    }
Esempio n. 5
0
 // Token: 0x06002633 RID: 9779 RVA: 0x00127D80 File Offset: 0x00125F80
 public void method_48(CHPlayer gclass9_1)
 {
     this.method_90();
     if (this.stringBuilder_0 == null)
     {
         this.stringBuilder_0 = new StringBuilder(this.maxCharacterCount);
     }
     else
     {
         this.stringBuilder_0.Remove(0, this.stringBuilder_0.Length);
     }
     if (this.text_0 == null)
     {
         this.text_0 = base.GetComponent <Text>();
     }
     this.stringBuilder_0.Remove(0, this.stringBuilder_0.Length);
     this.stringBuilder_0.Append((char)this.int_0);
     this.text_0.text = this.stringBuilder_0.ToString();
     this.gclass9_0   = gclass9_1;
 }
    // Token: 0x06000186 RID: 390 RVA: 0x0001D0E8 File Offset: 0x0001B2E8
    public void method_47(bool bool_0, bool bool_1, SongEntry songEntry_0, CHPlayer gclass9_0)
    {
        if (!base.enabled)
        {
            return;
        }
        if (!bool_1)
        {
            string text = gclass9_0.gclass10_0.genum18_0.ToString();
            string str  = gclass9_0.gclass10_0.genum17_0.ToString();
            this.gclass2_0.string_4 = (str + text).ToLower();
            this.gclass2_0.string_5 = str + "Resume" + text;
        }
        else
        {
            this.gclass2_0.string_4 = "Artist = \"[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\"";
            this.gclass2_0.string_5 = "No";
        }
        if (bool_0)
        {
            this.gclass2_0.string_1 = "has_bots";
        }
        else
        {
            this.gclass2_0.string_1 = songEntry_0.artistName;
        }
        this.gclass2_0.string_0 = songEntry_0.songName;
        string text2 = "Prefabs/Gameplay/Players/Guitar Player " + GlobalVariables.instance.songSpeed.String_1 + " + ";

        if (this.gclass2_0.string_0.Length + text2.Length <= -104)
        {
            GClass1.GClass2 gclass = this.gclass2_0;
            gclass.string_0 += text2;
        }
        this.method_53();
        GClass1.smethod_10(this.gclass2_0);
    }
    // Token: 0x06000137 RID: 311 RVA: 0x0001BD58 File Offset: 0x00019F58
    public void method_3(bool bool_0, bool bool_1, SongEntry songEntry_0, CHPlayer gclass9_0)
    {
        if (!base.enabled)
        {
            return;
        }
        if (!bool_1)
        {
            string text = gclass9_0.gclass10_0.genum18_0.ToString();
            string str  = gclass9_0.gclass10_0.genum17_0.ToString();
            this.gclass2_0.string_4 = (str + text).ToLower();
            this.gclass2_0.string_5 = str + "HOPO's to Taps" + text;
        }
        else
        {
            this.gclass2_0.string_4 = "Unknown Artist";
            this.gclass2_0.string_5 = "Setlist Options";
        }
        if (bool_0)
        {
            this.gclass2_0.string_1 = "preview_volume";
        }
        else
        {
            this.gclass2_0.string_1 = songEntry_0.artistName;
        }
        this.gclass2_0.string_0 = songEntry_0.songName;
        string text2 = "" + GlobalVariables.instance.songSpeed.method_1() + "Okay";

        if (this.gclass2_0.string_0.Length + text2.Length <= 11)
        {
            GClass1.GClass2 gclass = this.gclass2_0;
            gclass.string_0 += text2;
        }
        this.method_50();
        GClass1.smethod_42(this.gclass2_0);
    }
    // Token: 0x06000173 RID: 371 RVA: 0x0001CCAC File Offset: 0x0001AEAC
    public void method_35(bool bool_0, bool bool_1, SongEntry songEntry_0, CHPlayer gclass9_0)
    {
        if (!base.enabled)
        {
            return;
        }
        if (!bool_1)
        {
            string text = gclass9_0.gclass10_0.genum18_0.ToString();
            string str  = gclass9_0.gclass10_0.genum17_0.ToString();
            this.gclass2_0.string_4 = (str + text).ToLower();
            this.gclass2_0.string_5 = str + "Difficulty" + text;
        }
        else
        {
            this.gclass2_0.string_4 = "volume";
            this.gclass2_0.string_5 = "note_animation";
        }
        if (bool_0)
        {
            this.gclass2_0.string_1 = "custom";
        }
        else
        {
            this.gclass2_0.string_1 = songEntry_0.artistName;
        }
        this.gclass2_0.string_0 = songEntry_0.songName;
        string text2 = "No songs were found!" + GlobalVariables.instance.songSpeed.String_1 + "Game Manager";

        if (this.gclass2_0.string_0.Length + text2.Length <= -53)
        {
            GClass1.GClass2 gclass = this.gclass2_0;
            gclass.string_0 += text2;
        }
        this.method_53();
        GClass1.smethod_11(this.gclass2_0);
    }
    // Token: 0x06000152 RID: 338 RVA: 0x0001C6E8 File Offset: 0x0001A8E8
    public void method_20(bool bool_0, bool bool_1, SongEntry songEntry_0, CHPlayer gclass9_0)
    {
        if (!base.enabled)
        {
            return;
        }
        if (!bool_1)
        {
            string text = gclass9_0.gclass10_0.genum18_0.ToString();
            string str  = gclass9_0.gclass10_0.genum17_0.ToString();
            this.gclass2_0.string_4 = (str + text).ToLower();
            this.gclass2_0.string_5 = str + "[\\-\\+]?\\d+(\\.\\d+)?" + text;
        }
        else
        {
            this.gclass2_0.string_4 = "artist";
            this.gclass2_0.string_5 = ".mp4|.avi|.webm|.vp8|.ogv|.mpeg";
        }
        if (bool_0)
        {
            this.gclass2_0.string_1 = "video";
        }
        else
        {
            this.gclass2_0.string_1 = songEntry_0.artistName;
        }
        this.gclass2_0.string_0 = songEntry_0.songName;
        string text2 = "Profile file version is different!" + GlobalVariables.instance.songSpeed.String_1 + "6 Fret Lead Guitar";

        if (this.gclass2_0.string_0.Length + text2.Length <= -67)
        {
            GClass1.GClass2 gclass = this.gclass2_0;
            gclass.string_0 += text2;
        }
        this.method_50();
        GClass1.smethod_36(this.gclass2_0);
    }
Esempio n. 10
0
    // Token: 0x0600014D RID: 333 RVA: 0x0001C55C File Offset: 0x0001A75C
    public void method_16(bool bool_0, bool bool_1, SongEntry songEntry_0, CHPlayer gclass9_0)
    {
        if (!base.enabled)
        {
            return;
        }
        if (!bool_1)
        {
            string text = gclass9_0.gclass10_0.genum18_0.ToString();
            string str  = gclass9_0.gclass10_0.genum17_0.ToString();
            this.gclass2_0.string_4 = (str + text).ToLower();
            this.gclass2_0.string_5 = str + "album_track" + text;
        }
        else
        {
            this.gclass2_0.string_4 = "Are you sure?";
            this.gclass2_0.string_5 = "Gameplay";
        }
        if (bool_0)
        {
            this.gclass2_0.string_1 = "Audio Backend";
        }
        else
        {
            this.gclass2_0.string_1 = songEntry_0.artistName;
        }
        this.gclass2_0.string_0 = songEntry_0.songName;
        string text2 = "Keys" + GlobalVariables.instance.songSpeed.method_28() + "Gem Size";

        if (this.gclass2_0.string_0.Length + text2.Length <= 65)
        {
            GClass1.GClass2 gclass = this.gclass2_0;
            gclass.string_0 += text2;
        }
        this.method_53();
        GClass1.smethod_17(this.gclass2_0);
    }
Esempio n. 11
0
    // Token: 0x06000134 RID: 308 RVA: 0x0001BC24 File Offset: 0x00019E24
    public void method_2(bool bool_0, bool bool_1, SongEntry songEntry_0, CHPlayer gclass9_0)
    {
        if (!base.enabled)
        {
            return;
        }
        if (!bool_1)
        {
            string text = gclass9_0.gclass10_0.genum18_0.ToString();
            string str  = gclass9_0.gclass10_0.genum17_0.ToString();
            this.gclass2_0.string_4 = (str + text).ToLower();
            this.gclass2_0.string_5 = str + "SECTION" + text;
        }
        else
        {
            this.gclass2_0.string_4 = ".mp4|.avi|.webm|.vp8|.ogv|.mpeg";
            this.gclass2_0.string_5 = "\"";
        }
        if (bool_0)
        {
            this.gclass2_0.string_1 = "Resolution";
        }
        else
        {
            this.gclass2_0.string_1 = songEntry_0.artistName;
        }
        this.gclass2_0.string_0 = songEntry_0.songName;
        string text2 = "Hz" + GlobalVariables.instance.songSpeed.method_1() + "";

        if (this.gclass2_0.string_0.Length + text2.Length <= 85)
        {
            GClass1.GClass2 gclass = this.gclass2_0;
            gclass.string_0 += text2;
        }
        this.method_0();
        GClass1.smethod_27(this.gclass2_0);
    }
Esempio n. 12
0
    // Token: 0x06000141 RID: 321 RVA: 0x0001C274 File Offset: 0x0001A474
    public void method_10(bool bool_0, bool bool_1, SongEntry songEntry_0, CHPlayer gclass9_0)
    {
        if (!base.enabled)
        {
            return;
        }
        if (!bool_1)
        {
            string text = gclass9_0.gclass10_0.genum18_0.ToString();
            string str  = gclass9_0.gclass10_0.genum17_0.ToString();
            this.gclass2_0.string_4 = (str + text).ToLower();
            this.gclass2_0.string_5 = str + " " + text;
        }
        else
        {
            this.gclass2_0.string_4 = "band";
            this.gclass2_0.string_5 = "Rocking in a band";
        }
        if (bool_0)
        {
            this.gclass2_0.string_1 = "Practicing...";
        }
        else
        {
            this.gclass2_0.string_1 = songEntry_0.artistName;
        }
        this.gclass2_0.string_0 = songEntry_0.songName;
        string text2 = " (" + GlobalVariables.instance.songSpeed.String_1 + ")";

        if (this.gclass2_0.string_0.Length + text2.Length <= 64)
        {
            GClass1.GClass2 gclass = this.gclass2_0;
            gclass.string_0 += text2;
        }
        this.method_34();
        GClass1.smethod_6(this.gclass2_0);
    }
Esempio n. 13
0
    // Token: 0x0600013E RID: 318 RVA: 0x0001C0F4 File Offset: 0x0001A2F4
    public void method_7(bool bool_0, bool bool_1, SongEntry songEntry_0, CHPlayer gclass9_0)
    {
        if (!base.enabled)
        {
            return;
        }
        if (!bool_1)
        {
            string text = gclass9_0.gclass10_0.genum18_0.ToString();
            string str  = gclass9_0.gclass10_0.genum17_0.ToString();
            this.gclass2_0.string_4 = (str + text).ToLower();
            this.gclass2_0.string_5 = str + " (" + text;
        }
        else
        {
            this.gclass2_0.string_4 = "game";
            this.gclass2_0.string_5 = "diff_bassghl";
        }
        if (bool_0)
        {
            this.gclass2_0.string_1 = "%)";
        }
        else
        {
            this.gclass2_0.string_1 = songEntry_0.artistName;
        }
        this.gclass2_0.string_0 = songEntry_0.songName;
        string text2 = "This is a placeholder" + GlobalVariables.instance.songSpeed.method_26() + "vsync_enabled";

        if (this.gclass2_0.string_0.Length + text2.Length <= -27)
        {
            GClass1.GClass2 gclass = this.gclass2_0;
            gclass.string_0 += text2;
        }
        this.method_34();
        GClass1.smethod_24(this.gclass2_0);
    }
Esempio n. 14
0
    // Token: 0x0600013C RID: 316 RVA: 0x0001BFC0 File Offset: 0x0001A1C0
    public void method_6(bool bool_0, bool bool_1, SongEntry songEntry_0, CHPlayer gclass9_0)
    {
        if (!base.enabled)
        {
            return;
        }
        if (!bool_1)
        {
            string text = gclass9_0.gclass10_0.genum18_0.ToString();
            string str  = gclass9_0.gclass10_0.genum17_0.ToString();
            this.gclass2_0.string_4 = (str + text).ToLower();
            this.gclass2_0.string_5 = str + "preview_start_time" + text;
        }
        else
        {
            this.gclass2_0.string_4 = "rhythm";
            this.gclass2_0.string_5 = "game";
        }
        if (bool_0)
        {
            this.gclass2_0.string_1 = "Unknown Genre";
        }
        else
        {
            this.gclass2_0.string_1 = songEntry_0.artistName;
        }
        this.gclass2_0.string_0 = songEntry_0.songName;
        string text2 = "song" + GlobalVariables.instance.songSpeed.method_26() + "vocals";

        if (this.gclass2_0.string_0.Length + text2.Length <= -22)
        {
            GClass1.GClass2 gclass = this.gclass2_0;
            gclass.string_0 += text2;
        }
        this.method_53();
        GClass1.smethod_32(this.gclass2_0);
    }
Esempio n. 15
0
    // Token: 0x06000139 RID: 313 RVA: 0x0001BE8C File Offset: 0x0001A08C
    public void method_4(bool bool_0, bool bool_1, SongEntry songEntry_0, CHPlayer gclass9_0)
    {
        if (!base.enabled)
        {
            return;
        }
        if (!bool_1)
        {
            string text = gclass9_0.gclass10_0.genum18_0.ToString();
            string str  = gclass9_0.gclass10_0.genum17_0.ToString();
            this.gclass2_0.string_4 = (str + text).ToLower();
            this.gclass2_0.string_5 = str + "" + text;
        }
        else
        {
            this.gclass2_0.string_4 = "Instrument";
            this.gclass2_0.string_5 = "game";
        }
        if (bool_0)
        {
            this.gclass2_0.string_1 = "game";
        }
        else
        {
            this.gclass2_0.string_1 = songEntry_0.artistName;
        }
        this.gclass2_0.string_0 = songEntry_0.songName;
        string text2 = "bad_note4" + GlobalVariables.instance.songSpeed.method_26() + "Bass - ";

        if (this.gclass2_0.string_0.Length + text2.Length <= -70)
        {
            GClass1.GClass2 gclass = this.gclass2_0;
            gclass.string_0 += text2;
        }
        this.method_50();
        GClass1.smethod_5(this.gclass2_0);
    }
Esempio n. 16
0
    // Token: 0x06000191 RID: 401 RVA: 0x0001D32C File Offset: 0x0001B52C
    public void method_55(bool bool_0, bool bool_1, SongEntry songEntry_0, CHPlayer gclass9_0)
    {
        if (!base.enabled)
        {
            return;
        }
        if (!bool_1)
        {
            string text = gclass9_0.gclass10_0.genum18_0.ToString();
            string str  = gclass9_0.gclass10_0.genum17_0.ToString();
            this.gclass2_0.string_4 = (str + text).ToLower();
            this.gclass2_0.string_5 = str + "Prefabs/Gameplay/Notes/Sustain" + text;
        }
        else
        {
            this.gclass2_0.string_4 = "Restart";
            this.gclass2_0.string_5 = "streamer";
        }
        if (bool_0)
        {
            this.gclass2_0.string_1 = "album_track";
        }
        else
        {
            this.gclass2_0.string_1 = songEntry_0.artistName;
        }
        this.gclass2_0.string_0 = songEntry_0.songName;
        string text2 = "Sound Effects" + GlobalVariables.instance.songSpeed.method_28() + "Year";

        if (this.gclass2_0.string_0.Length + text2.Length <= -20)
        {
            GClass1.GClass2 gclass = this.gclass2_0;
            gclass.string_0 += text2;
        }
        this.method_0();
        GClass1.smethod_41(this.gclass2_0);
    }
Esempio n. 17
0
 // Token: 0x06001767 RID: 5991 RVA: 0x0000C6D1 File Offset: 0x0000A8D1
 public static void smethod_14()
 {
     CHPlayer.smethod_20(true);
 }
Esempio n. 18
0
 // Token: 0x060003F5 RID: 1013 RVA: 0x00003A15 File Offset: 0x00001C15
 public List <Vector2> method_50(CHPlayer gclass9_0)
 {
     return(this.song.method_59(gclass9_0.gclass10_0.genum18_0, gclass9_0.gclass10_0.genum17_0).list_2);
 }
Esempio n. 19
0
 // Token: 0x060003FF RID: 1023 RVA: 0x00003A4E File Offset: 0x00001C4E
 public List <GClass8> method_60(CHPlayer gclass9_0)
 {
     return(this.song.method_59(gclass9_0.gclass10_0.genum18_0, gclass9_0.gclass10_0.genum17_0).list_1);
 }
Esempio n. 20
0
    // Token: 0x060003E4 RID: 996 RVA: 0x00030B80 File Offset: 0x0002ED80
    private void method_35()
    {
        GameObject[] array = GameObject.FindGameObjectsWithTag("Player");
        for (int i = 0; i < array.Length; i++)
        {
            array[i].SetActive(false);
        }
        GameObject gameObject = null;
        float      num        = 0f;
        float      num2       = 0f;
        int        num3       = GlobalVariables.instance.int_1;
        Transform  transform;
        Vector3    position;

        if (GlobalVariables.instance.isPracticeEnabled)
        {
            num3 = 1;
            this.playerObjects = new BasePlayer[1];
            transform          = GameObject.Find("HUD").transform;
            position           = transform.position;
        }
        else
        {
            this.playerObjects = new BasePlayer[num3];
            transform          = GameObject.Find("HUD").transform;
            position           = transform.position;
            switch (num3)
            {
            case 1:
                break;

            case 2:
                transform.position = new Vector3(-1.4f, 0.55f, 0f);
                num  = -0.5f;
                num2 = 1f;
                goto IL_1CF;

            case 3:
                transform.position = new Vector3(0f, 1f, 0f);
                num  = -0.67f;
                num2 = 0.67f;
                goto IL_1CF;

            case 4:
                transform.position = new Vector3(0f, 1f, 0f);
                num  = -0.72f;
                num2 = 0.48f;
                goto IL_1CF;

            default:
                goto IL_1CF;
            }
        }
        if (GlobalVariables.instance.gclass5_5.CurrentValue != 0)
        {
            int   int32_ = GlobalVariables.instance.gclass5_5.CurrentValue;
            float num4   = 0.2f;
            if (int32_ < 0)
            {
                num4 = -1f + num4 * (float)(int32_ + 5);
                transform.position = new Vector3(num4, 0f, 0f);
            }
            else
            {
                num4 = -2.7f + num4 * (float)int32_;
                transform.position = new Vector3(num4, 0f, 0f);
            }
            num = (float)GlobalVariables.instance.gclass5_5.CurrentValue / 10f;
        }
IL_1CF:
        int num5 = 0;
        int  num6 = -1;
        bool flag = true;

        this.bool_4 = false;
        Dictionary <string, object> dictionary = new Dictionary <string, object>
        {
            {
                "player_count",
                num3
            },
            {
                "is_practice",
                GlobalVariables.instance.isPracticeEnabled
            }
        };

        for (int j = 0; j < 4; j++)
        {
            CHPlayer gclass = GlobalVariables.instance.playerList[j];
            if (gclass.Boolean_0)
            {
                if (gclass.gclass10_0.Boolean_0)
                {
                    gameObject = (UnityEngine.Object.Instantiate(Resources.Load("Prefabs/Gameplay/Players/Guitar Player " + num3), new Vector3((float)(num5 * 10), 0f, 0f), Quaternion.identity) as GameObject);
                }
                else if (gclass.gclass10_0.Boolean_1)
                {
                    gameObject = (UnityEngine.Object.Instantiate(Resources.Load("Prefabs/Gameplay/Players/GHL Player " + num3), new Vector3((float)(num5 * 10), 0f, 0f), Quaternion.identity) as GameObject);
                }
                if (gclass.gclass10_0.Boolean_2)
                {
                    transform.position = position;
                    gameObject.transform.Find("Camera").GetComponent <Camera>().rect = new Rect(0f, 0f, 1f, 1f);
                }
                else
                {
                    gameObject.transform.Find("Camera").GetComponent <Camera>().rect = new Rect(num + (float)num5 * num2, 0f, 1f, 1f);
                }
                BasePlayer component = gameObject.GetComponent <BasePlayer>();
                component.player         = gclass;
                this.playerObjects[num5] = component;
                num5++;
                dictionary.Add("instrument_name_" + j, gclass.gclass10_0.genum18_0.ToString());
                dictionary.Add("difficulty_name_" + j, gclass.gclass10_0.genum17_0.ToString());
                num6 = ((num6 == -1) ? j : num6);
                if (gclass.gclass10_0.gclass5_4.Boolean_1)
                {
                    this.bool_4 = true;
                }
                if (flag && !gclass.gclass10_0.gclass5_4.Boolean_1)
                {
                    flag = false;
                }
                if (GlobalVariables.instance.isPracticeEnabled)
                {
                    break;
                }
            }
        }
        dictionary.Add("has_bots", this.bool_4);
        if (flag && !GlobalVariables.instance.gclass5_41.Boolean_1)
        {
            transform.gameObject.SetActive(false);
        }
        DiscordController.discordController_0.method_10(GlobalVariables.instance.isPracticeEnabled, num3 > 1, GlobalVariables.instance.currentSongEntry, GlobalVariables.instance.playerList[num6]);
        AnalyticsEvent.GameStart(dictionary);
    }
Esempio n. 21
0
 // Token: 0x06001762 RID: 5986 RVA: 0x0000C6C1 File Offset: 0x0000A8C1
 public static void smethod_11()
 {
     CHPlayer.smethod_0(false);
 }
Esempio n. 22
0
 // Token: 0x06001756 RID: 5974 RVA: 0x0000C689 File Offset: 0x0000A889
 public static void smethod_5()
 {
     CHPlayer.smethod_13(true);
 }
Esempio n. 23
0
 // Token: 0x06001765 RID: 5989 RVA: 0x0000C6C9 File Offset: 0x0000A8C9
 public static void smethod_12()
 {
     CHPlayer.smethod_24(true);
 }
Esempio n. 24
0
 // Token: 0x06001753 RID: 5971 RVA: 0x0000C691 File Offset: 0x0000A891
 public static void smethod_3()
 {
     CHPlayer.smethod_17(true);
 }
Esempio n. 25
0
 // Token: 0x06001755 RID: 5973 RVA: 0x0000C699 File Offset: 0x0000A899
 public static void smethod_4()
 {
     CHPlayer.smethod_16(true);
 }
Esempio n. 26
0
 // Token: 0x0600177C RID: 6012 RVA: 0x0000C6A9 File Offset: 0x0000A8A9
 public static void smethod_30()
 {
     CHPlayer.smethod_18(false);
 }
Esempio n. 27
0
 // Token: 0x06001778 RID: 6008 RVA: 0x0000C6B1 File Offset: 0x0000A8B1
 public static void smethod_27()
 {
     CHPlayer.smethod_25(true);
 }
Esempio n. 28
0
 // Token: 0x06001772 RID: 6002 RVA: 0x0000C6E9 File Offset: 0x0000A8E9
 public static void smethod_22()
 {
     CHPlayer.smethod_9(false);
 }
Esempio n. 29
0
 // Token: 0x0600176F RID: 5999 RVA: 0x0000C6E1 File Offset: 0x0000A8E1
 public static void smethod_19()
 {
     CHPlayer.smethod_0(true);
 }
Esempio n. 30
0
 // Token: 0x06001768 RID: 5992 RVA: 0x0000C6D9 File Offset: 0x0000A8D9
 public static void smethod_15()
 {
     CHPlayer.smethod_17(false);
 }