Fixed KitchenLib problems & Preperation for MelonLoader Support
This commit is contained in:
@@ -76,8 +76,8 @@
|
|||||||
<Reference Include="Kitchen.Networking">
|
<Reference Include="Kitchen.Networking">
|
||||||
<HintPath>..\..\..\..\Libraries\PlateUp_Data\Managed\Kitchen.Networking.dll</HintPath>
|
<HintPath>..\..\..\..\Libraries\PlateUp_Data\Managed\Kitchen.Networking.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="KitchenLib">
|
<Reference Include="KitchenLib-BepInEx">
|
||||||
<HintPath>..\..\..\..\Libraries\Mods\KitchenLib.dll</HintPath>
|
<HintPath>..\..\..\..\Libraries\KitchenLib\KitchenLib-BepInEx.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="KitchenMode">
|
<Reference Include="KitchenMode">
|
||||||
<HintPath>..\..\..\..\Libraries\PlateUp_Data\Managed\KitchenMode.dll</HintPath>
|
<HintPath>..\..\..\..\Libraries\PlateUp_Data\Managed\KitchenMode.dll</HintPath>
|
||||||
|
|||||||
+20
-2
@@ -1,12 +1,30 @@
|
|||||||
using KitchenLib;
|
using KitchenLib;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
#if BEPINEX
|
||||||
using BepInEx;
|
using BepInEx;
|
||||||
|
#endif
|
||||||
|
#if MELONLOADER
|
||||||
|
using MelonLoader;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if MELONLOADER
|
||||||
|
[assembly: MelonInfo(typeof(MMOKitchen.Mod), "MMO Kitchen", "0.1.4", "StarFluxGames")]
|
||||||
|
[assembly: MelonGame("It's Happening", "PlateUp")]
|
||||||
|
#endif
|
||||||
namespace MMOKitchen
|
namespace MMOKitchen
|
||||||
{
|
{
|
||||||
|
#if BEPINEX
|
||||||
[BepInProcess("PlateUp.exe")]
|
[BepInProcess("PlateUp.exe")]
|
||||||
[BepInPlugin("starfluxgames.mmokitchen", "MMO Kitchen", "0.1.3")]
|
[BepInPlugin("starfluxgames.mmokitchen", "MMO Kitchen", "0.1.4")]
|
||||||
|
[BepInDependency(KitchenLib.Mod.GUID)]
|
||||||
|
#endif
|
||||||
public class Mod : BaseMod
|
public class Mod : BaseMod
|
||||||
{
|
{
|
||||||
public Mod() : base("1.1.0", Assembly.GetExecutingAssembly()) { }
|
#if MELONLOADER
|
||||||
|
public Mod() : base("mmokitchen", "1.1.1") { }
|
||||||
|
#endif
|
||||||
|
#if BEPINEX
|
||||||
|
public Mod() : base("1.1.1", Assembly.GetExecutingAssembly()) { }
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user