Beispiel #1
0
 static TorchBase()
 {
     ReflectedManager.Process(typeof(TorchBase).Assembly);
     ReflectedManager.Process(typeof(ITorchBase).Assembly);
     PatchManager.AddPatchShim(typeof(GameStatePatchShim));
     PatchManager.AddPatchShim(typeof(GameAnalyticsPatch));
     PatchManager.AddPatchShim(typeof(KeenLogPatch));
     PatchManager.CommitInternal();
     RegisterCoreAssembly(typeof(ITorchBase).Assembly);
     RegisterCoreAssembly(typeof(TorchBase).Assembly);
     RegisterCoreAssembly(Assembly.GetEntryAssembly());
 }
Beispiel #2
0
 static TorchBase()
 {
     ReflectedManager.Process(typeof(TorchBase).Assembly);
     ReflectedManager.Process(typeof(ITorchBase).Assembly);
     PatchManager.AddPatchShim(typeof(GameStatePatchShim));
     PatchManager.AddPatchShim(typeof(GameAnalyticsPatch));
     PatchManager.AddPatchShim(typeof(KeenLogPatch));
     PatchManager.CommitInternal();
     RegisterCoreAssembly(typeof(ITorchBase).Assembly);
     RegisterCoreAssembly(typeof(TorchBase).Assembly);
     RegisterCoreAssembly(Assembly.GetEntryAssembly());
     //exceptions in English, please
     Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
 }
Beispiel #3
0
 static TorchBase()
 {
     MyVRageWindows.Init("SpaceEngineersDedicated", MySandboxGame.Log, null, false);
     ReflectedManager.Process(typeof(TorchBase).Assembly);
     ReflectedManager.Process(typeof(ITorchBase).Assembly);
     PatchManager.AddPatchShim(typeof(GameStatePatchShim));
     PatchManager.AddPatchShim(typeof(GameAnalyticsPatch));
     PatchManager.AddPatchShim(typeof(KeenLogPatch));
     PatchManager.CommitInternal();
     RegisterCoreAssembly(typeof(ITorchBase).Assembly);
     RegisterCoreAssembly(typeof(TorchBase).Assembly);
     RegisterCoreAssembly(Assembly.GetEntryAssembly());
     //exceptions in English, please
     Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
 }