コード例 #1
0
ファイル: c00006a.cs プロジェクト: bing2008/CastNetGame
 public override void m000358(c000069 p0)
 {
     base.m000358(p0);
     if ((p0.f00086d == this) && this.m000391())
     {
         c000070.m00007f(this.m000092());
     }
     if (!p0.f0000a0)
     {
         this.m000051(enum0d7.f000043);
     }
     if (((p0.f00086d == this) && p0.f0000a0) && (p0.m0000bd() == this))
     {
         this.m000051(enum0d7.f000001);
     }
 }
コード例 #2
0
ファイル: c000068.cs プロジェクト: bing2008/CastNetGame
 protected void m000365(c000069 p0)
 {
     if (!this.m000357())
     {
         int num4;
         p0.f00086d = this;
         bool flag = false;
         if (this.m000190())
         {
             if (this.f00002c != null)
             {
                 float num = this.f00002c.m000179() - this.f00002c.m00008f();
                 float num2 = this.f00002c.m000178() + this.f00002c.m00008e();
                 float num3 = 20f / c000052.m00009f().m00035e(this.f00002c.m00017a());
                 if ((Math.Abs((float) (p0.m00035e(this.f00002c.m00017a()) - num2)) < num3) && (Math.Abs((float) (p0.m000361(this.f00002c.m00017a()) - num)) < num3))
                 {
                     flag = true;
                 }
             }
             else if ((((this.f0000a8 + this.f000031) - (p0.m000024() + p0.f000033)) < 1f) && (((p0.m000028() + p0.f000035) - (this.f0000a9 - this.f000033)) < 1f))
             {
                 flag = true;
             }
         }
         for (num4 = this.f000090.Count - 1; num4 > -1; num4--)
         {
             if (this.f000090[num4].m00018f() && this.f000090[num4].m00000c())
             {
                 if (this.f000090[num4].f00016d)
                 {
                     if (p0.m00038e(this.f000090[num4]))
                     {
                         this.f000090[num4].m000358(p0);
                     }
                 }
                 else if (p0.m000234(this.f000090[num4].f00002c.f000038))
                 {
                     this.f000090[num4].m000358(p0);
                 }
                 if (p0.f00086d != this)
                 {
                     if ((p0.f00086d == this.f00002a) && p0.f0000a1)
                     {
                         p0.f00086e = this;
                         this.m0000b1();
                     }
                     return;
                 }
             }
         }
         for (num4 = 0; num4 < this.f00002b.Count; num4++)
         {
             if (this.f00002b[num4].m00018f() && this.f00002b[num4].m00000c())
             {
                 bool flag2 = false;
                 if (this.f00002b[num4].f00016d)
                 {
                     if (p0.m00038e(this.f00002b[num4]))
                     {
                         this.f00002b[num4].m000358(p0);
                         flag2 = true;
                     }
                 }
                 else if (p0.m00038f<c00006c>(this.f00002b[num4].f00002c))
                 {
                     this.f00002b[num4].m000358(p0);
                     flag2 = true;
                 }
                 if (flag2)
                 {
                     if ((p0.f00086d == this.f00002a) && p0.f0000a1)
                     {
                         p0.f00086e = this;
                         this.m0000b1();
                     }
                     return;
                 }
             }
         }
         p0.m000097(this);
         if (p0.f000056)
         {
             p0.f000866 = enum079.f000005;
             p0.m0000a5(this);
             if (this.m000384(p0))
             {
                 p0.m0000a7(this);
             }
             if (flag)
             {
                 p0.f000866 = enum079.f000072;
             }
             if (this.f000205 != null)
             {
                 this.f000205(this);
             }
         }
         if (p0.f0000a1 && (p0.m0000bd() == this))
         {
             this.m000001();
             if (p0.f0000a2 && (this.f000208 != null))
             {
                 this.f000208(this);
             }
         }
         if (p0.f00016d)
         {
             p0.f000052 = this;
         }
         if (p0.m00000c())
         {
             p0.m0000a6(this);
         }
         if (p0.f000848 && (p0.f000052 == this))
         {
             if (this.f000204 != null)
             {
                 this.f000204(this);
             }
             p0.f000052 = null;
         }
         if (p0.m00018e() && (p0.m000389() == this))
         {
             p0.m0000a6(null);
         }
         if ((p0.m00003a() != 0f) && (this.f000865 != null))
         {
             this.f000865(this);
         }
         if (((p0.f0000a0 && (p0.m0000bd() == this)) && ((p0.m00002c() != 0f) || (p0.m000038() != 0f))) && (this.f00085e != null))
         {
             this.f00085e(this);
         }
         if (flag)
         {
             Cursor.Current = Cursors.SizeNWSE;
         }
         if (this.f000207 != null)
         {
             this.f000207(this);
         }
         if (((p0.m00002c() != 0f) || (p0.m000038() != 0f)) && (this.f000864 != null))
         {
             this.f000864(this);
         }
     }
 }
コード例 #3
0
ファイル: c0000f6.cs プロジェクト: bing2008/CastNetGame
 internal override void m000358(c000069 p0)
 {
     if (p0.f000056)
     {
         this.f000001 = base.m00009d();
         if (base.m00009d() == enum0d7.f000043)
         {
             base.m000051(enum0d7.f000001);
         }
         else
         {
             base.m000051(enum0d7.f000043);
         }
     }
     if ((p0.m0000bd() == this) && p0.f0000a1)
     {
         if (!((base.m00009d() != enum0d7.f000043) || this.f00000a))
         {
             base.m000051(enum0d7.f000043);
         }
         else
         {
             base.m000051(enum0d7.f000001);
         }
         if (this.m0003a9())
         {
             base.m000080(this.f000007);
         }
         else
         {
             base.m000080(this.f000006);
         }
         for (int i = 0; i < this.f00002b.Count; i++)
         {
             if (this.f00002b[i] != this)
             {
                 ((c0000f6) this.f00002b[i]).m0003ae();
             }
         }
     }
     base.m000365(p0);
     if ((p0.f00086d == this) && base.m000391())
     {
         c000070.m00007f(this.m000092());
     }
 }