mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
Initial Release
Added UIExpansionKit support, moved Harmony patches to own cs, added accidental feature that disables automatic state change, added option to lower FPS while in sleep state.
This commit is contained in:
parent
d033d3750e
commit
e6784b967e
5 changed files with 80 additions and 30 deletions
15
Blackout/UIExpansionKitAddon.cs
Normal file
15
Blackout/UIExpansionKitAddon.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using UIExpansionKit.API;
|
||||
|
||||
namespace Blackout;
|
||||
public static class UiExtensionsAddon
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public static void Init()
|
||||
{
|
||||
var settings = ExpansionKitApi.GetSettingsCategory(Blackout.SettingsCategory);
|
||||
settings.AddSimpleButton("Awake State", Blackout.AwakeState);
|
||||
settings.AddSimpleButton("Drowsy State", Blackout.DrowsyState);
|
||||
settings.AddSimpleButton("Sleep State", Blackout.SleepingState);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue