upload
This commit is contained in:
commit
1c7a8cf25f
579 files changed
+83196
No files matched your search
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace VibranceHud.DarkBoost;
|
||||
|
||||
public sealed record DarkBoostSetup(string Name, DarkBoostTint Tint, int Strength, int BlackLevel)
|
||||
{
|
||||
public DarkBoostSetup Clamped()
|
||||
{
|
||||
return this with
|
||||
{
|
||||
Name = (string.IsNullOrWhiteSpace(Name) ? "Setup" : Name.Trim()),
|
||||
Strength = Math.Clamp(Strength, 0, 100),
|
||||
BlackLevel = Math.Clamp(BlackLevel, 0, 100)
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user