mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
RCCVirtualSteeringWheel: renamed mod, fixed things
This commit is contained in:
parent
3a00ff104a
commit
5c8c724b58
13 changed files with 445 additions and 314 deletions
31
RCCVirtualSteeringWheel/ModSettings.cs
Normal file
31
RCCVirtualSteeringWheel/ModSettings.cs
Normal file
|
@ -0,0 +1,31 @@
|
|||
using MelonLoader;
|
||||
|
||||
namespace NAK.RCCVirtualSteeringWheel;
|
||||
|
||||
internal static class ModSettings
|
||||
{
|
||||
#region Constants
|
||||
|
||||
private const string ModName = nameof(RCCVirtualSteeringWheel);
|
||||
|
||||
#endregion Constants
|
||||
|
||||
#region Melon Preferences
|
||||
|
||||
private static readonly MelonPreferences_Category Category =
|
||||
MelonPreferences.CreateCategory(ModName);
|
||||
|
||||
internal static readonly MelonPreferences_Entry<bool> EntryOverrideSteeringRange =
|
||||
Category.CreateEntry("override_steering_range", false,
|
||||
"Override Steering Range", description: "Should the steering wheel use a custom steering range instead of the vehicle's default?");
|
||||
|
||||
internal static readonly MelonPreferences_Entry<float> EntryCustomSteeringRange =
|
||||
Category.CreateEntry("custom_steering_range", 60f,
|
||||
"Custom Steering Range", description: "The custom steering range in degrees when override is enabled (default: 60)");
|
||||
|
||||
internal static readonly MelonPreferences_Entry<bool> EntryInvertSteering =
|
||||
Category.CreateEntry("invert_steering", false,
|
||||
"Invert Steering", description: "Inverts the steering direction");
|
||||
|
||||
#endregion Melon Preferences
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue