public override void GameStartsOnce() { if (UnpatchManager) { return; } Info("Mods found: " + Join(", ", BattleMod.GetModList())); }
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); } } }
public override void GameStartsOnce() { Info("Detected Mods: " + BattleMod.GetModList().Concat()); }