예제 #1
0
 public static void OnLoad()
 {
     bicCompat        = null;
     buildingInstance = new BuildThermalTooltip();
     PUtil.InitLibrary();
     POptions.RegisterOptions(typeof(ThermalTooltipsOptions));
     PLocalization.Register();
     TooltipInstance = null;
     PUtil.RegisterPatchClass(typeof(ThermalTooltipsPatches));
 }
예제 #2
0
 public override void OnLoad(Harmony harmony)
 {
     bicCompat = null;
     base.OnLoad(harmony);
     buildingInstance = new BuildThermalTooltip();
     PUtil.InitLibrary();
     new POptions().RegisterOptions(this, typeof(ThermalTooltipsOptions));
     LocString.CreateLocStringKeys(typeof(ThermalTooltipsStrings.UI));
     new PLocalization().Register();
     TooltipInstance = null;
     new PPatchManager(harmony).RegisterPatchClass(typeof(ThermalTooltipsPatches));
     new PVersionCheck().Register(this, new SteamVersionChecker());
 }