Esempio n. 1
0
 static c000037()
 {
     c000005.m000005(typeof(c000037));
     bool flag = false;
     Assembly executingAssembly = Assembly.GetExecutingAssembly();
     StrongNameSignatureVerificationEx(executingAssembly.Location, true, ref flag);
     if (!flag || !executingAssembly.FullName.EndsWith("3db2fda49ca9adff"))
     {
         throw new SecurityException("Assembly has been tampered");
     }
     f000029 = null;
     f00000a = false;
     f000028 = enum036.f000028;
     f000056 = false;
     f000057 = true;
 }
Esempio n. 2
0
 public c000037()
 {
     if (f000029 == null)
     {
         f000029 = this;
     }
     this.f000055 = new GraphicsDeviceManager(this);
     this.f000055.PreferredBackBufferWidth = 0x550;
     this.f000055.PreferredBackBufferHeight = 0x300;
     this.m000003();
     base.IsFixedTimeStep = false;
     this.f00005b = new List<c000031>();
     if (!f000056)
     {
         this.f000055.ToggleFullScreen();
     }
     SystemEvents.SessionEnding += new SessionEndingEventHandler(this.m00006d);
     if (f00000a)
     {
         this.f000055.PreparingDeviceSettings += new EventHandler<PreparingDeviceSettingsEventArgs>(this.m00006c);
     }
 }