-
Notifications
You must be signed in to change notification settings - Fork 0
/
PluginConfig.cs
44 lines (39 loc) · 2.13 KB
/
PluginConfig.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using BepInEx.Configuration;
using UnityEngine;
namespace HideHud
{
public class PluginConfig
{
private const string ConfigTitle = "Settings";
public ConfigEntry<KeyCode> ToggleKey { get; private set; }
public ConfigEntry<bool> HidePauseMenu { get; private set; }
public ConfigEntry<bool> HidePhone { get; private set; }
public ConfigEntry<bool> HideScreenEffects { get; private set; }
public ConfigEntry<bool> HideDialogue { get; private set; }
public ConfigEntry<bool> HideCypher { get; private set; }
public ConfigEntry<bool> HideDanceWheel { get; private set; }
public ConfigEntry<bool> HideGearSelect { get; private set; }
public ConfigEntry<bool> HideOutfitSelect { get; private set; }
public ConfigEntry<bool> HideDeathUI { get; private set; }
public ConfigEntry<bool> HideTaxiUI { get; private set; }
public ConfigEntry<bool> HideGraffitiUI { get; private set; }
public ConfigEntry<bool> HideSlopCrewNameplates { get; private set; }
public PluginConfig(ConfigFile file)
{
ToggleKey = file.Bind(ConfigTitle, "Toggle Key", KeyCode.O);
HidePauseMenu = file.Bind(ConfigTitle, "Hide Pause Menu", false);
HidePhone = file.Bind(ConfigTitle, "Hide Phone UI", true);
HideScreenEffects = file.Bind(ConfigTitle, "Hide Screen Effects", true);
HideDialogue = file.Bind(ConfigTitle, "Hide Dialogue UI", true);
HideCypher = file.Bind(ConfigTitle, "Hide Character Select UI", true);
HideDanceWheel = file.Bind(ConfigTitle, "Hide Dance Wheel", true);
HideGearSelect = file.Bind(ConfigTitle, "Hide Gear Skin UI", false);
HideOutfitSelect = file.Bind(ConfigTitle, "Hide Outfit Select UI", false);
HideDeathUI = file.Bind(ConfigTitle, "Hide Death UI", false);
HideTaxiUI = file.Bind(ConfigTitle, "Hide Taxi UI", false);
HideGraffitiUI = file.Bind(ConfigTitle, "Hide Graffiti UI", true);
HideSlopCrewNameplates = file.Bind(ConfigTitle, "Hide Slop Crew Nameplates", true);
}
}
}