Exemplo n.º 1
0
 public void m000020()
 {
     float num2;
     this.f000039 = enum021d.f00020f;
     if (f00003e == null)
     {
         this.m000031();
     }
     int num = (int) this.f000038.m0000a3().m00013c();
     this.f000031 = 0f;
     this.f000033 = 0f;
     c000075 c = c000031.m000058(f00003e[num], 0.06f);
     this.f00013c.m000030(c);
     this.f00013c.m00002f().m000143(2f);
     c000046 c2 = new c000046();
     c2.f000031 = 15f;
     this.f00013c.m00002f().m0000c2(c2);
     c000075 c3 = c000031.m000058(f000211[num], 0.06f);
     this.f0001ab.m000030(c3);
     this.f0001ab.m000027(new Vector2(0f, 15f));
     this.f0001ab.m00002f().m000143(2.2f);
     this.f0001ab.m00002f().m000356(false);
     c000075 c4 = c000031.m000058(f000212[num], 0.03f);
     this.f0001ac.m000030(c4);
     this.f0001ac.m00002f().m000143(2.2f);
     this.f0001ac.m00002f().m000356(false);
     this.f000030 = this.f000032 = this.f000038.m000022();
     this.f00013c.m000023(this.f000030);
     this.f00013c.m000025((this.f000038.m000024() + this.f000038.m000062().m000024()) - 1.570796f);
     this.f00013c.m00002f().m000376(num2 = this.f000031);
     this.f00013c.m00002f().m000375(num2);
 }
Exemplo n.º 2
0
 public void m0000ae()
 {
     this.f000039 = enum021d.f000039;
     this.f000033 = 0f;
     this.f000031 = 0f;
 }
Exemplo n.º 3
0
 public void m0000af()
 {
     this.f000039 = enum021d.f00003b;
     this.f000033 = 0f;
 }
Exemplo n.º 4
0
        public void m000032()
        {
            bool flag = false;
            Vector2 vector = this.f000030;
            float num = (this.m000024() / 2f) - 10f;
            enum02a enuma = c000029.m000041(c000037.m000070(), vector, num, num);
            if (enuma != enum02a.f000039)
            {
                switch (this.f000038.m0000a3().m00013c())
                {
                    case enum0214.f00002b:
                    case enum0214.f000090:
                        flag = enuma != enum02a.f00003a;
                        break;

                    case enum0214.f00009e:
                    case enum0214.f00015a:
                        flag = enuma != enum02a.f00003c;
                        break;

                    case enum0214.f00015b:
                        flag = enuma != enum02a.f00003d;
                        break;

                    case enum0214.f00015c:
                        flag = enuma != enum02a.f00003b;
                        break;
                }
            }
            if (flag || (this.f000033 <= ((this.m000024() * 2f) / 0.5f)))
            {
                foreach (c000227 c in this.f000017.m00008a())
                {
                    foreach (c00022f cf in c.m00008a())
                    {
                        c00020e ce = cf.m00009f();
                        if (ce.m000190())
                        {
                            ce.m000282();
                            if (this.f00013c.m00002f().m000341(ce.m000099()))
                            {
                                flag = true;
                                break;
                            }
                        }
                    }
                }
                if (!flag)
                {
                    return;
                }
            }
            int num2 = 1;
            int num3 = 1;
            num2 = c00027b.m00009f().m000306();
            int num4 = this.f000038.m0000a3().m00029f().m00000f();
            num3 = num4 / c00027b.m00009f().m00000e(num2);
            int num5 = 0;
            string str = "";
            for (int i = 0; i < num3; i++)
            {
                int num6 = c000268.m00013c().m00000e(num2);
                num5 += num6;
                str = str + num6.ToString() + " ";
            }
            int num8 = 0;
            int num9 = 0;
            List<c000227> list2 = this.f000017.m00008a();
            List<c00020e> list3 = new List<c00020e>();
            this.f00013c.m00002f().m00009c().f000031 = num;
            foreach (c000227 c2 in list2)
            {
                foreach (c00022f cf2 in c2.m00008a())
                {
                    c00020e item = cf2.m00009f();
                    if (item.m000190())
                    {
                        item.m000282();
                        if (this.f00013c.m00002f().m000341(item.m000099()))
                        {
                            list3.Add(item);
                            num8 += item.m0002d7();
                        }
                    }
                }
            }
            if (num8 <= num5)
            {
                for (int j = 0; j < list3.Count; j++)
                {
                    c00020e ce3 = list3[j];
                    num9 += ce3.m0002d5();
                }
                this.f000038.m0000a3().m00029f().m00009c().m0002d2(num5 - num8);
            }
            else
            {
                this.m000177(list3);
                int num11 = num5;
                IList<c00020e> list4 = new List<c00020e>();
                for (int k = 0; k < list3.Count; k++)
                {
                    list4.Add(list3[k]);
                }
                list3.Clear();
                for (int m = 0; m < list4.Count; m++)
                {
                    c00020e ce4 = list4[m];
                    if (ce4.m000193())
                    {
                        num8 = 350;
                        int num14 = c00027c.m000096().m000062().m000307();
                        int num15 = (num14 + num11) - num8;
                        if (num15 > 0)
                        {
                            num9 += num8;
                            list3.Add(ce4);
                            if (num14 >= num8)
                            {
                                c00025c cc1 = c00027c.m000096().m000062();
                                cc1.m0002ff(cc1.m000307() - num8);
                                continue;
                            }
                            int num16 = num8 - num14;
                            num11 -= num16;
                            c00027c.m000096().m000062().m0002ff(0);
                            if (num11 > 0)
                            {
                                continue;
                            }
                            num11 = 0;
                        }
                        else
                        {
                            if (c000074.m0000d3().Next(2) != 0)
                            {
                                continue;
                            }
                            c00025c cc2 = c00027c.m000096().m000062();
                            cc2.m0002ff(cc2.m000307() + num11);
                            num11 = 0;
                        }
                        break;
                    }
                    if (ce4.m0002d7() <= num11)
                    {
                        num9 += ce4.m0002d5();
                        num11 -= ce4.m0002d7();
                        list3.Add(ce4);
                    }
                }
                this.f000038.m0000a3().m00029f().m00009c().m0002d2(num11);
            }
            c000213 c3 = this.f000017.m00029f();
            foreach (c00020e ce5 in list3)
            {
                ce5.m0002d4(this.f000038.m000062(), 500f);
                c3.m0002de(0x960, ce5.m0002d5(), ce5.m000282().m000022(), this.f000038.m000062().m000024(), this.f000038.m000026());
            }
            this.f000038.m0002d9(num9);
            c3.m000004(num9);
            this.f000039 = enum021d.f00003d;
            this.f000033 = 0f;
            this.f0001ac.m00002f().m000090(0);
            this.f0001ac.m00002f().m000356(true);
            this.f0001ac.m000023(this.f00013c.m000022());
            this.f0001ab.m00002f().m000356(false);
            if (c000037.f000028 == enum036.f000053)
            {
                c00025f.m00007f(string.Concat(new object[] {
                    "玩家", (int) this.f000038.m0000a3().m00013c(), ": 押", string.Format("{0,3:D}", num4), " 开", string.Format("{0,3:D}", num5), " (", str, ")  退", string.Format("{0,3:D}", num9), "个人池:", string.Format("{0,3:D}", this.f000038.m0000a3().m00029f().m00009c().m000010()), "(", string.Format("{0,3:D}", this.f000038.m0000a3().m00029f().m00009c().m000307()), "/", string.Format("{0,3:D}", this.f000038.m0000a3().m00029f().m00009c().m00032c(enum0273.f000041)),
                    "/", string.Format("{0,3:D}", this.f000038.m0000a3().m00029f().m00009c().m00032c(enum0273.f000038)), ") 公共池:", string.Format("{0,4:D}", c00027c.m000096().m000062().m0000f0()), " 已开大奖:", string.Format("{0,4:D}", c00027c.m000096().m000062().m0000f1()), " 已补贴超:", string.Format("{0,4:D}", c00027c.m000096().m000062().m000306()), " 大奖余额:", string.Format("{0,4:D}", c00027c.m000096().m000062().m0002d7()), " 大奖数:", string.Format("{0,4:D}", this.f000038.m0000a3().m00029f().m00009c().m0002d5()), " 进:", string.Format("{0,4:D}", this.f000038.m0000a3().m00029f().m00009c().m0000f0()), " 出:", string.Format("{0,4:D}", this.f000038.m0000a3().m00029f().m00009c().m0000f1()),
                    " 总进:", string.Format("{0,4:D}", c00027c.m000096().m00000f()), " 总出:", string.Format("{0,4:D}", c00027c.m000096().m000010())
                 }));
            }
        }
Exemplo n.º 5
0
        public void m000050(GameTime p0)
        {
            if (this.f000039 != enum021d.f00020f)
            {
                float totalMilliseconds = (float) p0.ElapsedGameTime.TotalMilliseconds;
                if (this.f000039 == enum021d.f00003a)
                {
                    if (this.f000030 != this.f000038.m000022())
                    {
                        this.f000030 = this.f000032 = this.f000038.m000022();
                        this.f00013c.m000023(this.f000030);
                    }
                    if (((this.f000038.m000147() == enum023a.f000083) && this.f000038.m00018e()) && (this.f000038.m000191() != this.f00013c.m00002f().m000191()))
                    {
                        this.f00013c.m00002f().m000356(this.f000038.m000191());
                    }
                }
                else
                {
                    Vector2 vector;
                    this.f000033 += totalMilliseconds;
                    switch (this.f000039)
                    {
                        case enum021d.f000039:
                            float num2;
                            if (this.f000030 != this.f000038.m000022())
                            {
                                this.f000030 = this.f000032 = this.f000038.m000022();
                                this.f00013c.m000023(this.f000030);
                            }
                            this.f000031 += totalMilliseconds * 0.08f;
                            if (this.f000031 >= 45f)
                            {
                                this.f000031 = 45f;
                                this.f000039 = enum021d.f00003a;
                            }
                            this.f00013c.m00002f().m000376(num2 = this.f000031);
                            this.f00013c.m00002f().m000375(num2);
                            return;

                        case enum021d.f00003a:
                            return;

                        case enum021d.f00003b:
                            this.f00013c.m000025((this.f000038.m000024() + this.f000038.m000062().m000024()) - 1.570796f);
                            vector = c000029.m000040(this.f00013c.m000024());
                            this.f000030 += (Vector2) ((vector * 0.5f) * totalMilliseconds);
                            this.f00013c.m000023(this.f000030);
                            if (this.f000033 > 140f)
                            {
                                this.f000033 = 0f;
                                this.f000039 = enum021d.f00003c;
                                this.f0001ab.m000025(this.f000038.m000024() + this.f000038.m000062().m000024());
                                this.f0001ab.m000023(this.f000030);
                                this.f0001ab.m00002f().m000356(true);
                                this.f00013c.m00002f().m000356(false);
                                this.f0001ab.m00002f().m000090(this.f00013c.m00002f().m000010());
                            }
                            return;

                        case enum021d.f00003c:
                            vector = c000029.m000040(this.f00013c.m000024());
                            this.f000030 += (Vector2) ((vector * 0.5f) * totalMilliseconds);
                            this.f00013c.m000023(this.f000030);
                            this.f0001ab.m000023(this.f000030);
                            this.f0001ab.m00002f().m000090(this.f00013c.m00002f().m000010());
                            if (Vector2.Distance(this.f000030, this.f000032) >= 200f)
                            {
                                this.m000032();
                            }
                            this.f0001ac.m00003b(this.m000024());
                            this.f0001ac.m000039(this.m000024());
                            return;

                        case enum021d.f00003d:
                            this.f0001ac.m00003b(this.m000024());
                            this.f0001ac.m000039(this.m000024());
                            if (this.f0001ac.m00002f().m000010() == (this.f0001ac.m00002f().m000096().Count - 1))
                            {
                                this.f000039 = enum021d.f00020f;
                            }
                            return;
                    }
                }
            }
        }
Exemplo n.º 6
0
 public void m0002e7(enum021d p0)
 {
     this.f000039 = p0;
 }
Exemplo n.º 7
0
        private void m0002e7(enum02a p0)
        {
            float num = 0f;
            switch (p0)
            {
                case enum02a.f00003a:
                    num = -this.f00013c.m000024();
                    break;

                case enum02a.f00003b:
                    num = 3.141593f - this.f00013c.m000024();
                    break;

                case enum02a.f00003c:
                    num = -this.f00013c.m000024();
                    break;

                case enum02a.f00003d:
                    num = 3.141593f - this.f00013c.m000024();
                    break;
            }
            this.f000033 = 0f;
            this.f000039 = enum021d.f000210;
            this.f00013c.m000025(num);
            this.f0001ab.m000025(num + 1.570796f);
            this.f00000f++;
        }
Exemplo n.º 8
0
 public void m0000b0()
 {
     this.f00000b = this.f000038.m00000f();
     this.f000039 = enum021d.f00003b;
     this.f000033 = 0f;
     this.f00000f = 0;
 }
Exemplo n.º 9
0
 public void m0000af()
 {
     int num2;
     bool flag = false;
     Vector2 vector = this.f000030;
     float num = (this.m000024() / 2f) - 40f;
     enum02a enuma = c000029.m000041(GameBase.m000070(), vector, 10f, 10f);
     foreach (c000227 c in this.f000017.m00008a())
     {
         foreach (c00022f cf in c.m00008a())
         {
             c00020e ce = cf.m00009f();
             if (ce.m000190())
             {
                 ce.m000282();
                 if (this.f00013c.m00002f().m000341(ce.m000099()))
                 {
                     this.f000026 = ce;
                     flag = true;
                     break;
                 }
             }
         }
     }
     if (!flag)
     {
         if (this.f00000b < 4)
         {
             if (this.f000033 <= (((float) (450 + ((this.f00000b + 1) * 50))) / this.f000035))
             {
                 goto Label_0158;
             }
             goto Label_015E;
         }
         if (enuma != enum02a.f000039)
         {
             if (this.f00000f >= this.f000010)
             {
                 goto Label_015E;
             }
             this.m0002e7(enuma);
         }
     }
     Label_0158:
     if (!flag)
     {
         return;
     }
     Label_015E:
     num2 = RateManager.Instance().m00000e(this.f00000b);
     int num3 = 0;
     int num4 = 0;
     int num5 = 0x3e8;
     List<c00020e> list2 = new List<c00020e>();
     this.f00013c.m00002f().m00009c().f000031 = num;
     foreach (c000227 c2 in this.f000017.m00008a())
     {
         foreach (c00022f cf2 in c2.m00008a())
         {
             c00020e item = cf2.m00009f();
             if (item.m000190())
             {
                 item.m000282();
                 if (this.f00013c.m00002f().m000341(item.m000099()))
                 {
                     list2.Add(item);
                     num3 += item.m0002d7();
                     if (item.m0002d7() < num5)
                     {
                         num5 = item.m0002d7();
                     }
                 }
             }
         }
     }
     if (this.f000026 != null)
     {
         num5 = this.f000026.m0002d7();
     }
     if (!this.f000038.m0000a3().m00029f().m00009c().m000234(enum0273.f000041))
     {
         int num7 = (((int) (this.f000038.m0000a3().m00029f().m00009c().m0000f0() * 0.05f)) - this.f000038.m0000a3().m00029f().m00009c().m000308()) - this.f000038.m0000a3().m00029f().m00009c().m00032c(enum0273.f000041);
         if (num7 > 0)
         {
             int num8 = this.f000038.m0000a3().m00029f().m00009c().m000307();
             if (num8 < num7)
             {
                 num7 = num8;
             }
             c000274 c1 = this.f000038.m0000a3().m00029f().m00009c();
             c1.m00030f(c1.m000307() - num7);
             this.f000038.m0000a3().m00029f().m00009c().m00032f(enum0273.f000041, num7);
         }
     }
     int num9 = 0;
     if ((num2 < num5) && (num3 > 0))
     {
         int num10 = this.f000038.m0000a3().m00029f().m00009c().m000307();
         if (num10 > 0)
         {
             num9 = num2;
             num2 += num10;
             this.f000038.m0000a3().m00029f().m00009c().m00030f(0);
             if (num2 >= num5)
             {
                 this.f000038.m0000a3().m00029f().m00009c().m00030f(num2 - num5);
                 num2 = num5;
             }
             num9 = num2 - num9;
         }
     }
     if (num3 == 0)
     {
         c00021c.m000004(c00021c.m00000f() + num2);
     }
     else if (num3 <= num2)
     {
         for (int i = 0; i < list2.Count; i++)
         {
             c00020e ce3 = list2[i];
             num4 += ce3.m0002d5();
         }
         this.f000038.m000004(num2 - num3);
     }
     else
     {
         int num12 = num2;
         if ((this.f000026 != null) && list2.Contains(this.f000026))
         {
             list2.Remove(this.f000026);
         }
         this.m000177(list2);
         IList<c00020e> list4 = new List<c00020e>();
         if (this.f000026 != null)
         {
             list4.Add(this.f000026);
         }
         for (int j = 0; j < list2.Count; j++)
         {
             list4.Add(list2[j]);
         }
         list2.Clear();
         for (int k = 0; k < list4.Count; k++)
         {
             c00020e ce4 = list4[k];
             if (ce4.m000193())
             {
                 num3 = 350;
                 int num15 = GameDataInfo.Instance().m000062().m000307();
                 int num16 = (num15 + num12) - num3;
                 if (num16 > 0)
                 {
                     num4 += num3;
                     list2.Add(ce4);
                     if (num15 >= num3)
                     {
                         c00025c cc1 = GameDataInfo.Instance().m000062();
                         cc1.m0002ff(cc1.m000307() - num3);
                         continue;
                     }
                     int num17 = num3 - num15;
                     num12 -= num17;
                     GameDataInfo.Instance().m000062().m0002ff(0);
                     if (num12 > 0)
                     {
                         continue;
                     }
                     num12 = 0;
                 }
                 else
                 {
                     if (c000074.m0000d3().Next(2) != 0)
                     {
                         continue;
                     }
                     c00025c cc2 = GameDataInfo.Instance().m000062();
                     cc2.m0002ff(cc2.m000307() + num12);
                     num12 = 0;
                 }
                 break;
             }
             if (ce4.m0002d7() <= num12)
             {
                 num4 += ce4.m0002d5();
                 num12 -= ce4.m0002d7();
                 list2.Add(ce4);
             }
             else if (num12 <= 0)
             {
                 break;
             }
         }
         this.f000038.m000004(num12);
     }
     if (this.f000038.m0000a3().m00029f().m00009c().m000307() > 150)
     {
         c00021c.m000004(c00021c.m00000f() + (this.f000038.m0000a3().m00029f().m00009c().m000307() - 150));
         this.f000038.m0000a3().m00029f().m00009c().m00030f(150);
     }
     c000213 c3 = this.f000017.m00029f();
     foreach (c00020e ce5 in list2)
     {
         ce5.m0002d4(this.f000038.m000062(), 200f);
         c3.m0002de(0x7d0, ce5.m0002d5(), ce5.m000282().m000022(), this.f000038.m000062().m000024(), this.f000038.m000026());
     }
     if (GameSetting.Instance().m000008())
     {
         this.f000038.m000023(this.f00013c.m000022());
     }
     this.f000038.m0002d9(num4);
     c3.m000004(num4);
     this.f000039 = enum021d.f00003d;
     this.f000033 = 0f;
     this.f0001ac.m00002f().m000090(0);
     this.f0001ac.m00002f().m000356(true);
     this.f0001ac.m000023(this.f00013c.m000022());
     this.f0001ab.m00002f().m000356(false);
     if (GameBase.ShowFpsType == ShowFpsTypeEnum.f000053)
     {
         int num18 = GameSetting.Instance().m00000e(this.f00000b);
         SenseKeyHelper.m00007f(string.Concat(new object[] {
             "玩家", (int) this.f000038.m0000a3().m00013c(), ": 押", string.Format("{0,3:D}", num18), " 开", string.Format("{0,3:D}", num2 - num9), " 补", string.Format("{0,3:D}", num9), " 退", string.Format("{0,3:D}", num4), "个人池:", string.Format("{0,3:D}", this.f000038.m0000a3().m00029f().m00009c().m000010()), "(", string.Format("{0,3:D}", this.f000038.m0000a3().m00029f().m00009c().m000307()), "/", string.Format("{0,3:D}", this.f000038.m0000a3().m00029f().m00009c().m00032c(enum0273.f000041)),
             "/", string.Format("{0,3:D}", this.f000038.m0000a3().m00029f().m00009c().m00032c(enum0273.f000038)), ") 公共池:", string.Format("{0,4:D}", GameDataInfo.Instance().m000062().m0000f0()), " 已开大奖:", string.Format("{0,4:D}", GameDataInfo.Instance().m000062().m0000f1()), " 已补贴超:", string.Format("{0,4:D}", GameDataInfo.Instance().m000062().m000306()), " 大奖余额:", string.Format("{0,4:D}", GameDataInfo.Instance().m000062().m0002d7()), " 大奖数:", string.Format("{0,4:D}", this.f000038.m0000a3().m00029f().m00009c().m0002d5()), " 进:", string.Format("{0,4:D}", this.f000038.m0000a3().m00029f().m00009c().m0000f0()), " 出:", string.Format("{0,4:D}", this.f000038.m0000a3().m00029f().m00009c().m0000f1()),
             " 总进:", string.Format("{0,4:D}", GameDataInfo.Instance().m00000f()), " 总出:", string.Format("{0,4:D}", GameDataInfo.Instance().m000010())
          }));
     }
 }
Exemplo n.º 10
0
 public void m0000ae()
 {
     float num;
     if (this.f000030 != this.f000038.m000022())
     {
         this.f000030 = this.f000032 = this.f000038.m000022();
         this.f00013c.m000023(this.f000030);
     }
     if (((this.f000038.m000147() == enum023a.f000083) && this.f000038.m00018e()) && (this.f000038.m000191() != this.f00013c.m00002f().m000191()))
     {
         this.f00013c.m00002f().m000356(this.f000038.m000191());
     }
     this.f000031 = 15f;
     this.f000039 = enum021d.f00003a;
     this.f00013c.m00002f().m000376(num = this.f000031);
     this.f00013c.m00002f().m000375(num);
 }
Exemplo n.º 11
0
 public void m000032()
 {
     this.f000039 = enum021d.f000039;
     this.f000033 = 0f;
     this.f000031 = 0f;
     if (GameSetting.Instance().m000018() == enum0279.f00001a)
     {
         this.f000035 = 0.5f;
     }
     else
     {
         this.f000035 = 0.3f;
     }
 }
Exemplo n.º 12
0
 public void m000032()
 {
     this.f000039 = enum021d.f000039;
     this.f000033 = 0f;
     this.f000031 = 0f;
     if (c00027b.m00009f().m000018() == enum0279.f00001a)
     {
         this.f000035 = 0.5f;
     }
     else
     {
         this.f000035 = 0.3f;
     }
 }