Beispiel #1
0
 public static void OnLoad()
 {
     PUtil.InitLibrary();
     AirlockDoorConfig.RegisterBuilding();
     LocString.CreateLocStringKeys(typeof(AirlockDoorStrings.BUILDING));
     LocString.CreateLocStringKeys(typeof(AirlockDoorStrings.BUILDINGS));
 }
Beispiel #2
0
 public override void OnLoad(Harmony harmony)
 {
     base.OnLoad(harmony);
     BUILDING_LAYER = (int)PGameUtils.GetObjectLayer(nameof(ObjectLayer.Building),
                                                     ObjectLayer.Building);
     PUtil.InitLibrary();
     new PBuildingManager().Register(AirlockDoorConfig.CreateBuilding());
     new PLocalization().Register();
     new PVersionCheck().Register(this, new SteamVersionChecker());
 }