Exemple #1
0
 private static void m000032()
 {
     c0000d9 cd = new c0000d9();
     cd.m000080(m00027b().ReadLine().Replace("\"", "").Replace(";", "").Trim());
     m00027b().ReadLine();
     m000062().m000103().Add(m000062().m00008a().Count - 1, cd);
 }
Exemple #2
0
 private List<c00018b> m00028b(List<c00018c> p0)
 {
     int num;
     c00018b[] cbArray = new c00018b[this.m00008a().Count];
     if (this.m00008a().Count == 0)
     {
         cbArray = new c00018b[1];
     }
     c0000d9 cd = new c0000d9();
     for (num = 0; num < cbArray.Length; num++)
     {
         cbArray[num] = new c00018b();
         if (this.m000252().m000092().Length != 0)
         {
             cbArray[num].m00007f(this.m000252().m000092() + "_" + num);
         }
         else
         {
             cbArray[num].m00007f("Mesh_" + num);
         }
         try
         {
             cbArray[num].m00004f().m000292(c000197.m0002a0(this.m00008a()[num].m00029f()));
             cbArray[num].m00004f().m000296(c000198.m0002a1(this.m00008a()[num].m0001af()));
             cbArray[num].m00004f().m000029(85f);
             cbArray[num].m00004f().m000294(c000198.m0002a1(this.m00008a()[num].m00013c()));
             cbArray[num].m00004f().m000025(this.m00008a()[num].m000024());
             if (this.m000103().TryGetValue(num, out cd))
             {
                 try
                 {
                     cbArray[num].m00004f().m000065(this.m000288().m0000e5<Texture2D>(this.m000079(this.f000006) + @"\" + cd.m000092()));
                     cbArray[num].m00004f().m00004c(true);
                 }
                 catch (Exception)
                 {
                     throw new FileNotFoundException(cd.m000092() + " could not be found in the directory of the Model Location");
                 }
             }
         }
         catch (Exception)
         {
             cbArray[num].m00004f().m000292(Color.White);
             cbArray[num].m00004f().m000296(Color.Black);
             cbArray[num].m00004f().m000029(85f);
             cbArray[num].m00004f().m000294(Color.White);
             cbArray[num].m00004f().m000025(50f);
         }
         foreach (c00018c cc in p0)
         {
             if (cc.m00000f() == 0)
             {
                 cbArray[0].m00008a().Add(cc);
             }
         }
     }
     List<c00018b> list = new List<c00018b>();
     for (num = 0; num < cbArray.Length; num++)
     {
         cbArray[num].m000004(new int[cbArray[num].m00008a().Count]);
         for (int i = 0; i < cbArray[num].m00000f().Length; i++)
         {
             cbArray[num].m00000f()[i] = i;
         }
         cbArray[num].m000001();
         list.Add(cbArray[num]);
     }
     return list;
 }