Esempio n. 1
0
 public static void OnLoad()
 {
     PUtil.InitLibrary();
     FilteredGasPumpConfig.RegisterBuilding();
     FilteredLiquidPumpConfig.RegisterBuilding();
     VacuumPumpConfig.RegisterBuilding();
 }
Esempio n. 2
0
 public static void OnLoad()
 {
     PUtil.InitLibrary();
     FilteredGasPumpConfig.RegisterBuilding();
     FilteredLiquidPumpConfig.RegisterBuilding();
     VacuumPumpConfig.RegisterBuilding();
     PUtil.RegisterPatchClass(typeof(FilteredPump));
 }
Esempio n. 3
0
        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());
        }