mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
4.3.5
This commit is contained in:
parent
25c0b7cffe
commit
94abe14f0c
8 changed files with 33 additions and 8 deletions
|
@ -18,13 +18,17 @@ namespace NAK.Melons.DesktopVRSwitch;
|
|||
public class DesktopVRSwitchMod : MelonMod
|
||||
{
|
||||
internal const string SettingsCategory = "DesktopVRSwitch";
|
||||
internal static MelonPreferences_Category m_categoryDesktopVRSwitch;
|
||||
internal static MelonPreferences_Category mCategory;
|
||||
internal static MelonLogger.Instance Logger;
|
||||
|
||||
internal static MelonPreferences_Entry<bool>
|
||||
mSetting_EnterCalibrationOnSwitch;
|
||||
|
||||
public override void OnInitializeMelon()
|
||||
{
|
||||
Logger = LoggerInstance;
|
||||
m_categoryDesktopVRSwitch = MelonPreferences.CreateCategory(SettingsCategory);
|
||||
mCategory = MelonPreferences.CreateCategory(SettingsCategory);
|
||||
mSetting_EnterCalibrationOnSwitch = mCategory.CreateEntry<bool>("Enter Calibration on Switch", true, description: "Should you automatically be placed into calibration after switch if FBT is available? Overridden by Save Calibration IK setting.");
|
||||
|
||||
ApplyPatches(typeof(HarmonyPatches.PlayerSetupPatches));
|
||||
ApplyPatches(typeof(HarmonyPatches.CVRPickupObjectPatches));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue