コード例 #1
0
 public c0000a8 m000131(string p0)
 {
     c0000a8 ca = new c0000a8();
     ca.m000094(this.ModelFileName);
     if (!(c000091.m0000e1(this.ModelFileName) || !(c000091.m00011e(this.ModelFileName) == "x")))
     {
         this.ModelFileName = c000091.m000129(this.ModelFileName);
     }
     if (c000091.m0000e1(this.ModelFileName) && (c000091.m00011e(this.ModelFileName) == "x"))
     {
         ca.m0003b8(this.mModelInstance);
     }
     else
     {
         ca.m0003b8(c000074.m0000e6<Model>(this.ModelFileName, p0));
     }
     if (!string.IsNullOrEmpty(this.MaterialFile))
     {
         c0001e6.m0000e8(this.MaterialFile).m00013b(ca, p0);
     }
     c0000ad.m0003bd(ca, null);
     this.m00013b(ca, p0);
     return ca;
 }
コード例 #2
0
ファイル: c0000a8.cs プロジェクト: bing2008/CastNetGame
 public c0000a8 m0000be()
 {
     c0000a8 ca = new c0000a8();
     ca.m0003b8(this.m000298());
     c0000ad.m0003bd(ca, this);
     for (int i = 0; i < ca.m000298().Meshes.Count; i++)
     {
         for (int j = 0; j < ca.m000298().Meshes[i].MeshParts.Count; j++)
         {
             ca.m000298().Meshes[i].MeshParts[j].Effect = this.m000298().Meshes[i].MeshParts[j].Effect;
         }
     }
     ca.f000006 = base.f000006;
     ca.m0002da(base.m00018e());
     ca.f00083b = base.f00083b;
     ca.f00083c = base.f00083c;
     ca.m000264(base.m00015c());
     ca.m0000c0(base.m000008());
     ca.m0002d8(base.m00000c());
     ca.f000066 = base.f000066;
     ca.f000068 = base.f000068;
     ca.f000144 = base.f000144;
     ca.m0001a2(base.m00017b());
     ca.m000039(base.m00014b());
     ca.m00003b(base.m00014c());
     ca.m00013f(base.m00014d());
     ca.f000067 = base.f000067;
     ca.f000143 = base.f000143;
     ca.f000145 = base.f000145;
     ca.m00033c(base.m00033b());
     ca.f000031 = this.f000031;
     ca.f000033 = this.f000033;
     ca.f000035 = this.f000035;
     ca.f00087e.M11 = this.f000031;
     ca.f00087e.M22 = this.f000031;
     ca.f00087e.M33 = this.f000031;
     ca.f000037 = this.f000037;
     ca.f0000a4 = this.f0000a4;
     ca.f0000a5 = this.f0000a5;
     foreach (string str in this.f000880)
     {
         ca.f000880.Add(str);
     }
     ca.m000094(this.f000006);
     return ca;
 }