コード例 #1
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;
     }
 }
コード例 #2
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));
 }