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