public static void OnLoad() { bicCompat = null; buildingInstance = new BuildThermalTooltip(); PUtil.InitLibrary(); POptions.RegisterOptions(typeof(ThermalTooltipsOptions)); PLocalization.Register(); TooltipInstance = null; PUtil.RegisterPatchClass(typeof(ThermalTooltipsPatches)); }
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()); }