Пример #1
0
 protected override c000075 m00002f()
 {
     c000066 c = c000031.m000056(f00003e[0], 0.03f);
     c[0].m000025(0.02f);
     c000075 c2 = c000031.m000054(c);
     if (f00008a == null)
     {
         f00008a = c000047.m000344(6f, 20f);
     }
     c2.m000143(1f);
     return c2;
 }
Пример #2
0
 public c000047 m000099()
 {
     c000047 c = new c000047();
     c.m000048(this.f00002a);
     c.f000066.X = this.X;
     c.f000066.Y = this.Y;
     c.f000066.Z = this.Z;
     c.m00002d(this.RotationZ);
     c.m00007f(this.Name);
     c.m000292(new Color((byte) (this.f000033 * 255f), (byte) (this.f000035 * 255f), (byte) (this.f000037 * 255f), (byte) (this.f000031 * 255f)));
     c.m0000b0();
     return c;
 }
Пример #3
0
 protected override c000075 m00002f()
 {
     c000066 c = c000031.m000056(f00003e[0], 0.03f);
     c[0].m000025((((float) c00020e.m0000d3().Next(20)) / 1000f) + 0.02f);
     c[1].m000025((((float) c00020e.m0000d3().Next(20)) / 1000f) + 0.07f);
     c000075 c2 = c000031.m000054(c);
     if (f00008a == null)
     {
         f00008a = c000047.m000344(18f, 60f);
     }
     c2.m000143(1f);
     return c2;
 }
Пример #4
0
 protected override c000075 m00002f()
 {
     int num = 0;
     if (c00020e.m0000d3().Next(2) == 0)
     {
         num = 1;
     }
     this.f00000b = num;
     IList<IList<Texture2D>> list = f00003e[num];
     c000066 c = c000031.m000056(list, 0.03f);
     c[0].m000025(0.08f);
     c000075 c2 = c000031.m000054(c);
     if (num == 0)
     {
         if (f00008a == null)
         {
             f00008a = new c000047();
             IList<struct055> list2 = new List<struct055>();
             list2.Add(new struct055(-55f, 0f));
             list2.Add(new struct055(55f, 0f));
             list2.Add(new struct055(55f, 120f));
             list2.Add(new struct055(-55f, 120f));
             list2.Add(new struct055(-55f, 0f));
             f00008a.m000048(list2);
         }
     }
     else if (f00008c == null)
     {
         f00008c = new c000047();
         IList<struct055> list3 = new List<struct055>();
         list3.Add(new struct055(-55f, 0f));
         list3.Add(new struct055(65f, 0f));
         list3.Add(new struct055(65f, 140f));
         list3.Add(new struct055(-55f, 140f));
         list3.Add(new struct055(-55f, 0f));
         f00008c.m000048(list3);
     }
     c2.m000143(1f);
     return c2;
 }
Пример #5
0
 protected override c000075 m00002f()
 {
     c000075 c2 = c000031.m000054(c000031.m000056(f00003e[0], 0.03f));
     if (f00008a == null)
     {
         f00008a = c000047.m000344(10f, 20f);
     }
     c2.m000143(1f);
     return c2;
 }
Пример #6
0
        public void m000001()
        {
            IList<Texture2D> list = c000031.m000059(@"Image\reward\Shark");
            IList<IList<Texture2D>> list2 = new List<IList<Texture2D>>();
            List<Texture2D> item = new List<Texture2D>();
            for (int i = 0; i < 80; i++)
            {
                item.Add(list[i]);
            }
            list2.Add(item);
            item = new List<Texture2D>();
            for (int j = 0; j < 10; j++)
            {
                item.Add(list[j + 80]);
            }
            for (int k = 8; k >= 0; k--)
            {
                item.Add(list[k + 80]);
            }
            list2.Add(item);
            c000066 c = c000031.m000056(list2, 0.03f);
            c[1].m000025(0.03f);
            c000075 c2 = c000031.m000054(c);
            if (f00008a == null)
            {
                f00008a = c000047.m000344(50f, 160f);
            }
            c2.m000143(1f);
            this.f00013c.m000030(c2);
            this.m000047();
            this.f000057 = false;
            this.f00000b = c000074.m0000d3().Next(70, 80);
            double num4 = c000074.m0000d3().NextDouble();
            if (GameBase._IsFullScreen)
            {
                num4 = 0.1;
            }
            switch (GameSetting.Instance().GetGameTypeEnum())
            {
                case enum0277.Strengthen:
                    if (num4 >= 0.2)
                    {
                        if (num4 < 0.6)
                        {
                            this.f00000f = 0x3e8;
                        }
                        else
                        {
                            this.f00000f = 500;
                        }
                        break;
                    }
                    this.f00000f = 0x7d0;
                    break;

                case enum0277.Common:
                    if (num4 >= 0.2)
                    {
                        this.f00000f = 500;
                        break;
                    }
                    this.f00000f = 0x3e8;
                    break;
            }
            this.f00002a = enum022e.f0000bf;
            this.f000031 = 0f;
        }
Пример #7
0
 public void m000003()
 {
     this.f000059 = enum0218.f000059;
     c000066 c = c000031.m000056(f00003e, 0.03f);
     this.f00013c.m000030(c000031.m000054(c));
     this.f00013c.m00002f().m000143(1.5f);
     for (int i = 0; i < 3; i++)
     {
         int num2 = c000074.m0000d3().Next(3);
         int num3 = c000074.m0000d3().Next(3);
         int num4 = this.f00020a[num2].m00000f();
         this.f00020a[num2].m00004b(this.f00020a[num3].m00000f());
         this.f00020a[num3].m00004b(num4);
     }
     for (int j = 0; j < 3; j++)
     {
         this.f00020a[j].m000001();
         this.f00020a[j].m000025(0f);
     }
     this.f0001ab.m000030(c000031.m000052(@"Image\pearl\hand"));
     this.f0001ab.m00002f().m000143(2.5f);
     this.f0001ab.m00002f().m000356(false);
     c000047 c2 = new c000047();
     IList<struct055> list = new List<struct055>();
     list.Add(new struct055(-60f, 5f));
     list.Add(new struct055(0f, 5f));
     list.Add(new struct055(0f, 50f));
     list.Add(new struct055(-60f, 50f));
     list.Add(new struct055(-60f, 5f));
     c2.m000048(list);
     this.f0001ab.m00002f().m0002e4(c2);
     this.f000026 = null;
 }
Пример #8
0
 protected override c000075 m00002f()
 {
     c000066 c;
     if (base.m000193())
     {
         c = c000031.m000056(f000269, 0.03f);
         base.m0002d6(350);
     }
     else
     {
         c = c000031.m000056(f00003e[0], 0.03f);
         base.m0002d6(100);
     }
     c[1].m000025(0.03f);
     c000075 c2 = c000031.m000054(c);
     if (f00008a == null)
     {
         f00008a = new c000047();
         IList<struct055> list = new List<struct055>();
         list.Add(new struct055(-30f, -80f));
         list.Add(new struct055(30f, -80f));
         list.Add(new struct055(30f, 200f));
         list.Add(new struct055(-30f, 200f));
         list.Add(new struct055(-30f, -80f));
         f00008a.m000048(list);
     }
     c2.m000143(1f);
     return c2;
 }
Пример #9
0
        protected override c000075 m00002f()
        {
            int num = 0;
            if (c00020e.m0000d3().Next(2) == 0)
            {
                num = 1;
            }
            this.f00000b = num;
            IList<IList<Texture2D>> list = f00003e[num];
            c000066 c = c000031.m000056(list, 0.03f);
            c[0].m000025((((float) c00020e.m0000d3().Next(20)) / 1000f) + 0.04f);
            c[1].m000025((((float) c00020e.m0000d3().Next(20)) / 1000f) + 0.11f);
            c000075 c2 = c000031.m000054(c);
            if (num == 0)
            {
                if (f00008a == null)
                {
                    f00008a = c000047.m000344(25f, 20f);
                }
                base.m0002d6(1);
            }
            else
            {
                switch (GameSetting.Instance().GetGameTypeEnum())
                {
                    case enum0277.Strengthen:
                        base.m0002d6(10);
                        break;

                    case enum0277.Common:
                        base.m0002d6(6);
                        break;
                }
                if (f00008c == null)
                {
                    f00008c = new c000047();
                    IList<struct055> list2 = new List<struct055>();
                    list2.Add(new struct055(-30f, 5f));
                    list2.Add(new struct055(30f, 5f));
                    list2.Add(new struct055(30f, 50f));
                    list2.Add(new struct055(-30f, 50f));
                    list2.Add(new struct055(-30f, 5f));
                    f00008c.m000048(list2);
                }
            }
            c2.m000143(1f);
            return c2;
        }