コード例 #1
0
ファイル: HarmonyPatches.cs プロジェクト: SineSwiper/Replimat
        public ReplimatMod(ModContentPack content) : base(content)
        {
            Settings = GetSettings <Settings>();
            var harmony = new Harmony("com.Replimat.patches");

            harmony.PatchAll();

            MP_Util.Bootup(harmony);
        }
コード例 #2
0
        public ReplimatMod(ModContentPack content) : base(content)
        {
            Settings = GetSettings <Settings>();
            var harmony = new Harmony("com.Replimat.patches");

            harmony.PatchAll();

            if (ModCompatibility.AlienRacesIsActive)
            {
                Log.Message("Replimat :: Humanoid Alien Races 2.0 detected!", true);
            }

            MP_Util.Bootup(harmony);
        }
コード例 #3
0
        public ReplimatMod(ModContentPack content) : base(content)
        {
            Settings = GetSettings <Settings>();
            var harmony = new Harmony("com.Replimat.patches");

            harmony.PatchAll();

            if (ModCompatibility.AlienRacesIsActive)
            {
                Log.Message("Replimat :: Humanoid Alien Races detected!");
            }

            if (ModCompatibility.SaveOurShip2IsActive)
            {
                Log.Message("Replimat :: Save Our Ship 2 detected!");
            }

            if (ModCompatibility.VanillaCookingExpandedIsActive)
            {
                Log.Message("Replimat :: Vanilla Cooking Expanded detected!");
            }

            MP_Util.Bootup(harmony);
        }