Ejemplo n.º 1
0
 public override void GameStartsOnce()
 {
     if (UnpatchManager)
     {
         return;
     }
     Info("Mods found: " + Join(", ", BattleMod.GetModList()));
 }
Ejemplo n.º 2
0
 public override void GameStarts()
 {
     // Patch with authorization - https://github.com/Sheep-y/BattleTech_Turbine/issues/8
     if (BattleMod.FoundMod("BattletechPerformanceFix.Control"))
     {
         Type DontStripComments = AppDomain.CurrentDomain.GetAssemblies().Select(e => e.GetType("BattletechPerformanceFix.DontStripComments")).FirstOrDefault(e => e != null);
         if (DontStripComments != null)
         {
             Patch(DontStripComments, "HBSStripCommentsMirror", Static, "Override_StripComments", null);
         }
     }
 }
Ejemplo n.º 3
0
 public override void GameStartsOnce()
 {
     Info("Detected Mods: " + BattleMod.GetModList().Concat());
 }