コード例 #1
0
ファイル: c000029.cs プロジェクト: bing2008/CastNetGame
 public static void m00002e(float p0, c000075 p1)
 {
     if (p1 != null)
     {
         p1.m00002d(m000036(p0));
     }
 }
コード例 #2
0
ファイル: c000031.cs プロジェクト: bing2008/CastNetGame
 public static void m000030(c000075 p0)
 {
     p0.m0002ea();
     p0.m000001();
     p0.m0000b2();
     c000052.m00004a(p0);
 }
コード例 #3
0
ファイル: c000029.cs プロジェクト: bing2008/CastNetGame
 public static void m000033(Vector2 p0, c000075 p1)
 {
     if (p1 != null)
     {
         Vector2 vector = m000035(p0);
         p1.m000141(vector.X);
         p1.m000142(vector.Y);
     }
 }
コード例 #4
0
ファイル: c00002b.cs プロジェクト: bing2008/CastNetGame
 public override void m000047()
 {
     if (this.f000038 != null)
     {
         c000031.m000030(this.f000038);
         this.f000038 = null;
     }
     if (this.f00003e != null)
     {
         foreach (c000075 c in this.f00003e)
         {
             c000031.m000030(c);
         }
         this.f00003e.Clear();
     }
     base.m000047();
 }
コード例 #5
0
ファイル: struct014c.cs プロジェクト: bing2008/CastNetGame
 public struct014c(int p0, c000075 p1)
 {
     this.f00000b = p0;
     this.f000197 = PrimitiveType.TriangleList;
     if (p1 != null)
     {
         if ((p1.m000064() != null) && p1.m000064().IsDisposed)
         {
             throw new ObjectDisposedException("The Sprite with the name " + p1.m000087() + " references a disposed texture of the name " + p1.m000064().Name + ".  If you're using Screens you may have forgotten to remove a Sprite that was added in the Screen.");
         }
         this.f00004f = p1.m000064();
         this.f00002b = p1.m000399();
         this.f00002c = p1.m0000a3();
         this.f0000d5 = p1.m00039a();
     }
     else
     {
         this.f00004f = null;
         this.f00002b = enum0103.f00002b;
         this.f00002c = enum0104.f00002c;
         this.f0000d5 = TextureAddressMode.Clamp;
     }
 }
コード例 #6
0
ファイル: ListBoxBase.cs プロジェクト: bing2008/CastNetGame
 public ListBoxBase(c000069 p0)
     : base(p0)
 {
     this.f00005b = new List<c000112>();
     this.f000078 = new List<c000112>();
     this.f000001 = enum078.f000001;
     this.f00088a = new c000043<c00006c>();
     this.f000056 = false;
     this.f000057 = false;
     this.f00000f = -1;
     this.f0000a0 = false;
     this.f0000a1 = false;
     this.f000156 = Sorting.f000156;
     this.f0000f1 = 1.4f;
     this.f0000f2 = -1f;
     this.f0000a2 = true;
     this.f00088b = new List<Keys>();
     this.f000038 = new c000075();
     this.f000038.m000143(base.m00014b() - (0.0001f * c000076.f000066.Z));
     this.f000017 = new c00007c(base.f000029);
     this.m000097(this.f000017);
     this.m00036a();
 }
コード例 #7
0
ファイル: c00002d.cs プロジェクト: bing2008/CastNetGame
 public void m00004a(c000075 p0)
 {
     this.f00003e.Add(p0);
 }
コード例 #8
0
ファイル: c00002b.cs プロジェクト: bing2008/CastNetGame
 public void m00004a(c000075 p0)
 {
     this.f000038 = p0;
 }
コード例 #9
0
ファイル: c00004f.cs プロジェクト: bing2008/CastNetGame
        public bool m00035d(c000075 p0, bool p1)
        {
            switch (this.m000018())
            {
                case enum015d.f000019:
                    f0000fd = Math.Max(p0.m00008e(), p0.m00008f()) * 1.42f;
                    if (!this.f00000a)
                    {
                        if (p1)
                        {
                            f0000fe = -p0.m00017a() / 100f;
                            if ((Math.Abs(p0.m000178()) - f0000fd) > (this.f0000a7 * f0000fe))
                            {
                                return false;
                            }
                            if ((Math.Abs(p0.m000179()) - f0000fd) > (this.f0000a6 * f0000fe))
                            {
                                return false;
                            }
                            break;
                        }
                        f0000fe = (base.m00017a() - p0.m00017a()) / 100f;
                        if (((Math.Abs((float) (base.m000178() - p0.m000178())) - f0000fd) <= (this.f0000a7 * f0000fe)) && ((Math.Abs((float) (base.m000179() - p0.m000179())) - f0000fd) <= (this.f0000a6 * f0000fe)))
                        {
                            break;
                        }
                        return false;
                    }
                    if (!p1)
                    {
                        if (((Math.Abs((float) (base.m000178() - p0.m000178())) - f0000fd) <= this.f000035) && ((Math.Abs((float) (base.m000179() - p0.m000179())) - f0000fd) <= this.f000037))
                        {
                            break;
                        }
                        return false;
                    }
                    if ((Math.Abs(p0.m000178()) - f0000fd) <= this.f000035)
                    {
                        if ((Math.Abs(p0.m000179()) - f0000fd) > this.f000037)
                        {
                            return false;
                        }
                        break;
                    }
                    return false;

                case enum015d.f00001a:
                    return true;

                default:
                    return true;
            }
            return true;
        }
コード例 #10
0
ファイル: c000029.cs プロジェクト: bing2008/CastNetGame
 public virtual void m000047()
 {
     if (this.f000038 != null)
     {
         c000031.m000030(this.f000038);
         this.f000038 = null;
     }
 }
コード例 #11
0
ファイル: c000029.cs プロジェクト: bing2008/CastNetGame
 public void m000030(c000075 p0)
 {
     this.f000038 = p0;
     if (this.f000038 != null)
     {
         this.m000032();
         this.m000031();
     }
 }
コード例 #12
0
ファイル: struct014c.cs プロジェクト: bing2008/CastNetGame
 public bool m000234(c000075 p0)
 {
     return ((((p0.m000064() != this.m000064()) || (p0.m000399() != this.f00002b)) || (p0.m0000a3() != this.f00002c)) || (p0.m00039a() != this.f0000d5));
 }