Exemple #1
0
 public void m000069(c00020e p0)
 {
     this.f000026 = p0;
 }
Exemple #2
0
 public static void m0002e2(enum0232 p0, c00020e p1)
 {
     f00000b += p1.m0000f1();
     GameDataInfo.Instance().m000062().m000309(f00000b);
     p1.m0002d2(0);
     f00020e[p0].m00007d(p1);
 }
Exemple #3
0
 private void m000069(c00020e p0)
 {
     int num = RateManager.Instance().m00000e(this.f00000b);
     int num2 = 0;
     if (p0 != null)
     {
         num2 = p0.m0002d7();
     }
     int num3 = 0;
     if ((p0 != null) && p0.m000193())
     {
         num2 = 350;
         int num4 = GameDataInfo.Instance().m000062().m000307();
         int num5 = (num4 + num) - num2;
         if (num5 >= 0)
         {
             GameDataInfo.Instance().m000062().m0002ff(num5);
             num3 = num2;
         }
         else
         {
             GameDataInfo.Instance().m000062().m0002ff(num4 + num);
         }
         if (num3 > 0)
         {
             c000213 c = this.f000017.m00029f();
             p0.m0002d4(this.f000038.m000062(), 200f);
             c.m0002de(0x7d0, num3, p0.m000282().m000022(), this.f000038.m000062().m000024(), this.f000038.m000026());
             this.f000038.m0002d9(num3);
             c.m000004(num3);
         }
     }
     else
     {
         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 ((num < num2) && (num2 > 0))
         {
             int num10 = this.f000038.m0000a3().m00029f().m00009c().m000307();
             if (num10 > 0)
             {
                 num9 = num;
                 num += num10;
                 this.f000038.m0000a3().m00029f().m00009c().m00030f(0);
                 if (num >= num2)
                 {
                     this.f000038.m0000a3().m00029f().m00009c().m00030f(num - num2);
                     num = num2;
                 }
                 num9 = num - num9;
             }
         }
         if (num2 == 0)
         {
             c00021c.m000004(c00021c.m00000f() + num);
         }
         else
         {
             if (num2 <= num)
             {
                 num3 = num2;
             }
             this.f000038.m000004(num - num3);
             if (num2 <= num)
             {
                 num3 = p0.m0002d5();
             }
             else
             {
                 num3 = 0;
             }
         }
         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);
         }
         if (GameSetting.Instance().m000008())
         {
             this.f000038.m000023(this.f00013c.m000022());
         }
         if (num3 > 0)
         {
             c000213 c2 = this.f000017.m00029f();
             p0.m0002d4(this.f000038.m000062(), 200f);
             c2.m0002de(0x7d0, p0.m0002d5(), p0.m000282().m000022(), this.f000038.m000062().m000024(), this.f000038.m000026());
             this.f000038.m0002d9(num3);
             c2.m000004(num3);
         }
         if (GameBase.ShowFpsType == ShowFpsTypeEnum.f000053)
         {
             int num11 = GameSetting.Instance().m00000e(this.f00000b);
             SenseKeyHelper.m00007f(string.Concat(new object[] {
                 "玩家", (int) this.f000038.m0000a3().m00013c(), ": 押", string.Format("{0,3:D}", num11), " 开", string.Format("{0,3:D}", num - num9), " 补", string.Format("{0,3:D}", num9), " 退", string.Format("{0,3:D}", num3), "个人池:", 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())
              }));
         }
     }
 }
Exemple #4
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())
          }));
     }
 }
Exemple #5
0
 public static void m0002e2(enum0232 p0, c00020e p1)
 {
     f00000b += p1.m0000f1();
     c00027c.m000096().m000062().m000309(f00000b);
     p1.m0002d2(0);
     f00020e[p0].m00007d(p1);
 }