mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-01 22:09:23 +00:00
[PortableCameraAdditions] Fixes for 2023r171
This commit is contained in:
parent
c4a7f51be3
commit
b757ac39d7
4 changed files with 23 additions and 8 deletions
|
@ -4,7 +4,6 @@ using UnityEngine;
|
|||
|
||||
namespace NAK.PortableCameraAdditions.HarmonyPatches;
|
||||
|
||||
[HarmonyPatch]
|
||||
internal class PortableCameraPatches
|
||||
{
|
||||
[HarmonyPostfix]
|
||||
|
|
|
@ -6,6 +6,19 @@ public class PortableCameraAdditions : MelonMod
|
|||
{
|
||||
public override void OnInitializeMelon()
|
||||
{
|
||||
//boobs
|
||||
ApplyPatches(typeof(HarmonyPatches.PortableCameraPatches));
|
||||
}
|
||||
|
||||
private void ApplyPatches(Type type)
|
||||
{
|
||||
try
|
||||
{
|
||||
HarmonyInstance.PatchAll(type);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LoggerInstance.Msg($"Failed while patching {type.Name}!");
|
||||
LoggerInstance.Error(e);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -20,10 +20,13 @@ using System.Reflection;
|
|||
[assembly: MelonGame("Alpha Blend Interactive", "ChilloutVR")]
|
||||
[assembly: MelonPlatform(MelonPlatformAttribute.CompatiblePlatforms.WINDOWS_X64)]
|
||||
[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)]
|
||||
[assembly: MelonColor(255, 255, 217, 106)]
|
||||
[assembly: MelonAuthorColor(255, 158, 21, 32)]
|
||||
[assembly: HarmonyDontPatchAll]
|
||||
|
||||
namespace NAK.PortableCameraAdditions.Properties;
|
||||
internal static class AssemblyInfoParams
|
||||
{
|
||||
public const string Version = "1.0.2";
|
||||
public const string Version = "1.0.3";
|
||||
public const string Author = "NotAKidoS";
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"_id": 123,
|
||||
"name": "PortableCameraAdditions",
|
||||
"modversion": "1.0.2",
|
||||
"gameversion": "2022r170p1",
|
||||
"modversion": "1.0.3",
|
||||
"gameversion": "2023r171",
|
||||
"loaderversion": "0.6.1",
|
||||
"modtype": "Mod",
|
||||
"author": "NotAKidoS",
|
||||
|
@ -18,8 +18,8 @@
|
|||
"requirements": [
|
||||
"None"
|
||||
],
|
||||
"downloadlink": "https://github.com/NotAKidOnSteam/NAK_CVR_Mods/releases/download/r3/PortableCameraAdditions.dll",
|
||||
"downloadlink": "https://github.com/NotAKidOnSteam/NAK_CVR_Mods/releases/download/r16/PortableCameraAdditions.dll",
|
||||
"sourcelink": "https://github.com/NotAKidOnSteam/NAK_CVR_Mods/tree/main/PortableCameraAdditions/",
|
||||
"changelog": "Added F11 bind to fullscreen Portable Camera on Desktop.",
|
||||
"embedcolor": "9b59b6"
|
||||
"changelog": "Fixes for 2023r171.",
|
||||
"embedcolor": "#ffd96a"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue