public static void OnLoad() { PUtil.InitLibrary(); FilteredGasPumpConfig.RegisterBuilding(); FilteredLiquidPumpConfig.RegisterBuilding(); VacuumPumpConfig.RegisterBuilding(); }
public static void OnLoad() { PUtil.InitLibrary(); FilteredGasPumpConfig.RegisterBuilding(); FilteredLiquidPumpConfig.RegisterBuilding(); VacuumPumpConfig.RegisterBuilding(); PUtil.RegisterPatchClass(typeof(FilteredPump)); }
public override void OnLoad(Harmony harmony) { base.OnLoad(harmony); PUtil.InitLibrary(); new PLocalization().Register(); var bm = new PBuildingManager(); bm.Register(FilteredGasPumpConfig.CreateBuilding()); bm.Register(FilteredLiquidPumpConfig.CreateBuilding()); bm.Register(VacuumPumpConfig.CreateBuilding()); new PPatchManager(harmony).RegisterPatchClass(typeof(FilteredPump)); new PVersionCheck().Register(this, new SteamVersionChecker()); }