Example #1
0
 public c000282()
 {
     f00002a = this;
     base.Content.RootDirectory = "FishResource";
     if (File.Exists(base.Content.RootDirectory + ".pkg"))
     {
         base.Content = new c000033(base.Content.RootDirectory + ".pkg", base.Services);
         base.Content.RootDirectory = "FishResource";
     }
 }
Example #2
0
 private static void Main(string[] p0)
 {
     try
     {
         if (((p0 != null) && (p0.Length == 1)) && ((p0[0] != null) && (p0[0].Length > 0)))
         {
             string str = p0[0];
             m0000e1(str);
         }
     }
     catch (Exception)
     {
     }
     try
     {
         c00025f.f000057 = c000037.f000056;
         c00025f.m000001();
         if (!c00025f.m00018e())
         {
             c000037 c = null;
             try
             {
                 c = new c000282();
             }
             catch
             {
                 if (c00025f.f0000a0)
                 {
                     c000269.f00000b++;
                     if (c000269.f00000b < 2)
                     {
                         Thread.Sleep(0xbb8);
                         c000269.m00031e(true, "StartC" + c000269.f00000b);
                     }
                     else
                     {
                         c000265.m000001();
                     }
                 }
                 return;
             }
             if (c != null)
             {
                 c.Run();
             }
         }
     }
     catch (Exception exception)
     {
         string path = "GameErrorInfo.log";
         string str3 = null;
         if (c00025f.m00018e())
         {
             str3 = c00025f.m000084();
         }
         else
         {
             str3 = c00020d.m0002d0("MainGame", exception);
         }
         StreamWriter writer = new StreamWriter(path, true);
         writer.WriteLine(str3);
         writer.WriteLine();
         writer.Close();
     }
     finally
     {
         try
         {
             c00025f.m000031();
         }
         catch
         {
         }
     }
 }