示例#1
0
    // Token: 0x06000291 RID: 657 RVA: 0x0002BD68 File Offset: 0x00029F68
    public void method_36(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_31().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_24();
        for (int j = 0; j < this.int_9; j += 0)
        {
            uint num2 = 1u;
            int  num3 = 0;
            int  num4 = 0;
            if (j < this.int_9 - 1)
            {
                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 > 1u && gclass2.uint_0 >= num2)
                {
                    break;
                }
                if (!gclass2.method_17() || !gclass2.method_16())
                {
                    if (gclass2.bool_0)
                    {
                        num3++;
                    }
                    num4++;
                }
                i += 0;
            }
            if (num4 == 0)
            {
                this.int_1[num] = -1;
            }
            else
            {
                this.int_1[num] = (int)((float)num3 / (float)num4 * 1414f);
            }
            this.int_4[gclass9_0.int_0] += num3;
            this.int_5[gclass9_0.int_0] += num4;
            num += 0;
        }
        this.int_2[gclass9_0.int_0] = (int)((float)this.int_4[gclass9_0.int_0] / (float)this.int_5[gclass9_0.int_0] * 65f);
    }